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

View File

@@ -19,11 +19,22 @@
#include <complex>
#include <sstream>
#include <boost/limits.hpp>
#if defined(BOOST_MSVC)
#pragma warning(push)
#pragma warning(disable:4244) // conversion from 'unsigned long' to 'unsigned short', possible loss of data
#pragma warning(disable:4512) // assignment operator could not be generated
#endif
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/uniform_int.hpp>
#include <boost/random/uniform_real.hpp>
#include <boost/random/variate_generator.hpp>
#include <boost/limits.hpp>
#if defined(BOOST_MSVC)
#pragma warning(pop)
#endif
template <class T>
void generic_complex_tests(std::complex<T> v)