summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2018-08-05 21:26:21 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2018-08-05 21:26:21 +0000
commit2f7aeff4d1770b5869bbc24d3b230eef0aab880a (patch)
tree32a986e033bd67ce51489365e2dd6d3b5355b6ba /tools
parentf4a744d823297e5b1b4f6eda9ff055796e459f85 (diff)
downloadmpfr-2f7aeff4d1770b5869bbc24d3b230eef0aab880a.tar.gz
[tools/mpfrlint] Updated a comment: more details about __GMP_DECLSPEC,
in particular those found in GMP's longlong.h file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12977 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tools')
-rwxr-xr-xtools/mpfrlint6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/mpfrlint b/tools/mpfrlint
index 7d4c7093b..c7ddc3afb 100755
--- a/tools/mpfrlint
+++ b/tools/mpfrlint
@@ -175,7 +175,11 @@ grep GMP_RND $srctests | err-if-output -t "GMP_RND*" grep -v '#define GMP_RND'
# __MPFR_DECLSPEC (based on the __MPFR_WITHIN_MPFR status) must be used
# instead of __GMP_DECLSPEC (based on the __GMP_WITHIN_GMP status, always
-# undefined in MPFR).
+# undefined in MPFR); in particular, the __GMP_DECLSPEC occurrences from
+# GMP's longlong.h file must be changed to __MPFR_DECLSPEC when porting
+# this file to MPFR. See:
+# https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00000.html
+# https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00001.html
err-if-output --msg="Use __MPFR_DECLSPEC instead." -t "__GMP_DECLSPEC" \
grep --exclude=src/mpfr.h __GMP_DECLSPEC $srctests