Merge branch 'develop' of https://github.com/boostorg/config into develop

This commit is contained in:
jzmaddock
2014-08-22 17:40:52 +01:00
3 changed files with 3 additions and 3 deletions

View File

@@ -399,7 +399,7 @@ containing header should be included only once while preprocessing the
current translation unit. The pragma may improve compile times of large projects current translation unit. The pragma may improve compile times of large projects
with some compilers. with some compilers.
]] ]]
[[`BOOST_HAS_PRAGMA_DETECT_MISSMATCH`][Compiler][ [[`BOOST_HAS_PRAGMA_DETECT_MISMATCH`][Compiler][
The compiler recognizes the `#pragma detect_mismatch("name", "value")` directive which tells that the The compiler recognizes the `#pragma detect_mismatch("name", "value")` directive which tells that the
link stage should be terminated with error if values for provided `"name"` missmatch. link stage should be terminated with error if values for provided `"name"` missmatch.
This pragma may be a help in preventing ODR violations and ensuring that different modules This pragma may be a help in preventing ODR violations and ensuring that different modules

View File

@@ -12,7 +12,7 @@
// Detecting `-fms-extension` compiler flag assuming that _MSC_VER defined when that flag is used. // Detecting `-fms-extension` compiler flag assuming that _MSC_VER defined when that flag is used.
#if defined (_MSC_VER) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 4)) #if defined (_MSC_VER) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 4))
# define BOOST_HAS_PRAGMA_DETECT_MISSMATCH # define BOOST_HAS_PRAGMA_DETECT_MISMATCH
#endif #endif
// When compiling with clang before __has_extension was defined, // When compiling with clang before __has_extension was defined,

View File

@@ -105,7 +105,7 @@
# define BOOST_HAS_NRVO # define BOOST_HAS_NRVO
#endif #endif
#if _MSC_VER >= 1500 // 150X == VC++ 9.0 #if _MSC_VER >= 1500 // 150X == VC++ 9.0
# define BOOST_HAS_PRAGMA_DETECT_MISSMATCH # define BOOST_HAS_PRAGMA_DETECT_MISMATCH
#endif #endif
// //
// disable Win32 API's if compiler extensions are // disable Win32 API's if compiler extensions are