Suppress/fix some msvc and gcc compiler warnings.

[SVN r57494]
This commit is contained in:
John Maddock
2009-11-08 18:53:59 +00:00
parent 9339431e03
commit 7eb1536590
5 changed files with 18 additions and 7 deletions

View File

@@ -11,6 +11,10 @@
#include <algorithm>
#include <cstddef>
#ifdef BOOST_MSVC
#pragma warning(disable:4996) // warning C4996: 'std::equal': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
#endif
/*
Note: This file tests every single valid bit-grouping on its own, and some
random combinations of bit-groupings.