Hash: Avoid some intel warnings in tests.

It doesn't have the GCC warning pragma, and doesn't like compiling the integer
tests with floats (used to compile them, but never use them).

[SVN r81679]
This commit is contained in:
Daniel James
2012-12-02 21:12:38 +00:00
parent 8afae2e762
commit 473b1da8de
3 changed files with 29 additions and 14 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ int main() {}
#endif
#endif
#if defined(__GNUC__)
#if defined(__GNUC__) && !defined(BOOST_INTEL_CXX_VERSION)
#pragma GCC diagnostic ignored "-Wfloat-equal"
#endif