summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2021-03-06 05:25:40 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2021-03-06 05:25:40 +0000
commit970d285bb28d863849eef99457aaaf21be792128 (patch)
tree5522886518725910d0975033b1eaebb3f73d5f4e /doc
parentb32baec273166ab4c4e072cc544f54aa6d5cecab (diff)
downloadmpfr-970d285bb28d863849eef99457aaaf21be792128.tar.gz
[doc/mpfr.texi] document that functions defined as macros might evaluate
their arguments several times (see https://sympa.inria.fr/sympa/arc/mpfr/2021-03/msg00007.html) git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14445 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'doc')
-rw-r--r--doc/mpfr.texi1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/mpfr.texi b/doc/mpfr.texi
index 424997714..612cd6a8a 100644
--- a/doc/mpfr.texi
+++ b/doc/mpfr.texi
@@ -606,6 +606,7 @@ the @code{MPFR_USE_NO_MACRO} macro before @file{mpfr.h} is included. In
general this should not be necessary, but this can be useful when debugging
user code: with some macros, the compiler may emit spurious warnings with
some warning options, and macros can prevent some prototype checking.
+Also some macros do evaluate some of their arguments multiple times.
@cindex Libraries
@cindex Linking