diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-08-05 16:03:33 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-08-05 16:03:33 +0000 |
commit | f4a744d823297e5b1b4f6eda9ff055796e459f85 (patch) | |
tree | d3f5ec3b8f0650952f106d3e9a3c70ab93896650 /tools | |
parent | 0acb62dae97aa2082891be2c5d64810da6c58464 (diff) | |
download | mpfr-f4a744d823297e5b1b4f6eda9ff055796e459f85.tar.gz |
[src/mpfr-longlong.h] Replaced __GMP_DECLSPEC by __MPFR_DECLSPEC.
Otherwise, with Windows DLL, __GMP_DECLSPEC is replaced by
__declspec(dllimport), which is wrong when building MPFR and
yields warning LNK4217 such as:
eint.obj : warning LNK4217: locally defined symbol mpfr_clz_tab
imported in function mpfr_eint
due to
extern const unsigned char __GMP_DECLSPEC __clz_tab[129];
(note that mpfr_clz_tab is defined with "#define __clz_tab mpfr_clz_tab"
only without the GMP build).
See:
https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00000.html
https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00001.html
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12976 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions