Fix a typo, while it is not too late

This commit is contained in:
Antony Polukhin
2014-08-22 18:44:16 +04:00
parent ef0fbe981a
commit 6a0c4aeb34
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