mirror of
				https://github.com/boostorg/config.git
				synced 2025-11-04 01:31:37 +01:00 
			
		
		
		
	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:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user