Test the hash library with warning level 4 on Visual C++ - although there's

still one warning for hashing long doubles.


[SVN r38647]
This commit is contained in:
Daniel James
2007-08-14 09:53:55 +00:00
parent 8d271da155
commit 59064fed23
7 changed files with 77 additions and 5 deletions
+8
View File
@@ -18,6 +18,11 @@
#include <iostream>
#if defined(BOOST_MSVC)
#pragma warning(push)
#pragma warning(disable:4127) // conditional expression is constant
#endif
template <class T>
void float_tests(char const* name, T* = 0)
{
@@ -226,3 +231,6 @@ int main()
return boost::report_errors();
}
#if defined(BOOST_MSVC)
#pragma warning(pop)
#endif