Suppress and/or fix warnings - in particular avoid undefined behaviour in the test cases!

[SVN r57859]
This commit is contained in:
John Maddock
2009-11-23 10:43:00 +00:00
parent 8cab32a0dd
commit 285048504c
4 changed files with 42 additions and 5 deletions

View File

@ -27,6 +27,17 @@
#include <wchar.h>
#endif
//
// We simply cannot include this header on gcc without getting copious warnings of the kind:
//
// ../../../boost/integer_traits.hpp:164:66: warning: use of C99 long long integer constant
//
// And yet there is no other reasonable implementation, so we declare this a system header
// to suppress these warnings.
//
#if defined(__GNUC__) && (__GNUC__ >= 4)
#pragma GCC system_header
#endif
namespace boost {
template<class T>