std::sprintf may have a conforming signature, but it doesn't actually work on VC7.1, disable it.

[SVN r31996]
This commit is contained in:
John Maddock
2005-12-12 13:38:32 +00:00
parent ba63a3c40e
commit 1f5c0aeb3a

View File

@ -63,7 +63,9 @@
#endif
#if _MSC_VER < 1310 // 1310 == VC++ 7.1
#if _MSC_VER < 1400
// although a conforming signature for swprint exists in VC7.1
// it appears not to actually work:
# define BOOST_NO_SWPRINTF
#endif
@ -82,7 +84,7 @@
//
// check for exception handling support:
#ifndef _CPPUNWIND
#ifndef _CPPUNWIND
# define BOOST_NO_EXCEPTIONS
#endif
@ -95,6 +97,9 @@
#if (_MSC_VER >= 1310) && defined(_MSC_EXTENSIONS)
# define BOOST_HAS_LONG_LONG
#endif
#if (_MSC_VER >= 1400) && !defined(_DEBUG)
# define BOOST_HAS_NRVO
#endif
//
// disable Win32 API's if compiler extentions are
// turned off: