Get the tests warning free again with GCC.

Finally get everything working with the Borland compiler.
Fix a few typos: use of long rather than unsigned long, use of long long rather than long_long_type etc.

[SVN r58056]
This commit is contained in:
John Maddock
2009-11-30 13:50:05 +00:00
parent ad5d5b0e1f
commit 92a617bbe9
4 changed files with 23 additions and 6 deletions

View File

@ -12,6 +12,12 @@
// 12 Nov 00 Adapted to merged <boost/cstdint.hpp>
// 23 Sep 00 Added INTXX_C constant macro support + int64_t support (John Maddock).
// 28 Jun 00 Initial version
#if defined(__GNUC__) && (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4))
// We can't suppress this warning on the command line as not all GCC versions support -Wno-type-limits :
#pragma GCC diagnostic ignored "-Wtype-limits"
#endif
#define __STDC_CONSTANT_MACROS
#include <iostream>
#include <boost/cstdint.hpp>