diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2013-07-09 16:08:49 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2013-07-09 16:08:49 +0000 |
commit | 53a9c226cafd7dba7950afabd582ac233f862e30 (patch) | |
tree | a178f53736da5ef5730699068a47466258dfb083 /src | |
parent | 14f7ce3fc828b80b4a036d6a67bdc05f8c007ff4 (diff) | |
download | mpfr-53a9c226cafd7dba7950afabd582ac233f862e30.tar.gz |
[src/mpfr.h] Updated a comment about ICC.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8600 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src')
-rw-r--r-- | src/mpfr.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mpfr.h b/src/mpfr.h index 2800f939c..1852a4552 100644 --- a/src/mpfr.h +++ b/src/mpfr.h @@ -880,12 +880,13 @@ __MPFR_DECLSPEC int mpfr_custom_get_kind _MPFR_PROTO ((mpfr_srcptr)); /* When using GCC, optimize certain common comparisons and affectations. - + Remove ICC since it defines __GNUC__ but produces a - huge number of warnings if you use this code. + + Remove some Intel C/C++ (ICC) versions since they now define __GNUC__ + but produce a huge number of warnings if you use this code. VL: I couldn't reproduce a single warning when enabling these macros - with icc 10.1 20080212 on Itanium. But with this version, __ICC isn't - defined (__INTEL_COMPILER is, though), so that these macros are enabled - anyway. Checking with other ICC versions is needed. Possibly detect + with icc 10.1 20080212 on Itanium. But with this version, the obsolete + __ICC macro isn't defined (__INTEL_COMPILER is, though), so that these + macros are enabled anyway. Checking with other ICC versions is needed. + For now, !defined(__ICC) seems to be the right test. Possibly detect whether warnings are produced or not with a configure test. + Remove C++ too, since it complains too much. */ /* Added casts to improve robustness in case of undefined behavior and |