diff options
author | Brad King <brad.king@kitware.com> | 2009-11-24 13:57:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-11-24 13:57:06 (GMT) |
commit | a03f801f7f8d6d244623ce373ea583b95443bb9a (patch) | |
tree | 0df64511cb7f2e265e85727c1ef2f2eba695263e /Source/kwsys/Configure.h.in | |
parent | 24106f8600216e55ba0442fe496efc06a8c1d0b8 (diff) | |
download | CMake-a03f801f7f8d6d244623ce373ea583b95443bb9a.zip CMake-a03f801f7f8d6d244623ce373ea583b95443bb9a.tar.gz CMake-a03f801f7f8d6d244623ce373ea583b95443bb9a.tar.bz2 |
Suppress Intel float-equality test warnings
We suppress Intel warning 1572 because the cases where we do equality
tests are valid. Since this project does not do numerical computations
we need not worry about real instances against which this warning
protects.
Diffstat (limited to 'Source/kwsys/Configure.h.in')
-rw-r--r-- | Source/kwsys/Configure.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/kwsys/Configure.h.in b/Source/kwsys/Configure.h.in index d3b6906..b57b698 100644 --- a/Source/kwsys/Configure.h.in +++ b/Source/kwsys/Configure.h.in @@ -25,6 +25,9 @@ # if defined(__BORLANDC__) # pragma warn -8027 /* function not inlined. */ # endif +# if defined(__INTEL_COMPILER) +# pragma warning (disable: 1572) /* floating-point equality test */ +# endif #endif /* Whether kwsys namespace is "kwsys". */ |