summaryrefslogtreecommitdiff
path: root/src/mpfr-impl.h
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2019-01-25 12:01:18 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2019-01-25 12:01:18 +0000
commitf3976b91805af62aee4f87e2c737ca71553b9888 (patch)
treee93a5a4873b5ded2ad48c960314a02a621e5bebb /src/mpfr-impl.h
parentc61034b020030b0eb3e587966f07bc95251e8b7c (diff)
downloadmpfr-f3976b91805af62aee4f87e2c737ca71553b9888.tar.gz
[src/mpfr-impl.h] Updated a comment about MPFR_DECL_INIT_CACHE and
the shared cache. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13411 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/mpfr-impl.h')
-rw-r--r--src/mpfr-impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h
index 47c5bf4b9..8ede12a31 100644
--- a/src/mpfr-impl.h
+++ b/src/mpfr-impl.h
@@ -1327,6 +1327,9 @@ typedef union { mp_size_t s; mp_limb_t l; } mpfr_size_limb_t;
But: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80454
2. Use designated initializers when supported. But this needs a
configure test.
+ Using a diagnostic pragma to ignore the warning in this particular case
+ is not really possible, because the warning occurs when the macro is
+ expanded and one cannot put a pragma in the contents of a #define.
*/
#define MPFR_DECL_INIT_CACHE(_cache,_func) \
MPFR_DEFERRED_INIT_MASTER_DECL(_func, \