diff options
-rw-r--r-- | src/mpfr-impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h index cacc6bdfc..9a910221d 100644 --- a/src/mpfr-impl.h +++ b/src/mpfr-impl.h @@ -454,6 +454,9 @@ __MPFR_DECLSPEC extern const mpfr_t __gmpfr_const_log2_RNDU; MPFR_DBGRES(assignment): to be used when the result is tested only in an MPFR_ASSERTD expression (in order to avoid a warning, e.g. with GCC's -Wunused-but-set-variable, in non-debug mode). + Note: WG14/N2270 proposed a maybe_unused attribute, which could + be useful to avoid MPFR_DBGRES. See: + http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2270.pdf Note: Evaluating expr might yield side effects, but such side effects must not change the results (except by yielding an assertion failure). */ |