diff --git a/doc/macro_reference.qbk b/doc/macro_reference.qbk index 37df824b..7fd1fb6c 100644 --- a/doc/macro_reference.qbk +++ b/doc/macro_reference.qbk @@ -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 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 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 diff --git a/include/boost/config/compiler/clang.hpp b/include/boost/config/compiler/clang.hpp index 12728534..d7fd76f9 100644 --- a/include/boost/config/compiler/clang.hpp +++ b/include/boost/config/compiler/clang.hpp @@ -12,7 +12,7 @@ // 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)) -# define BOOST_HAS_PRAGMA_DETECT_MISSMATCH +# define BOOST_HAS_PRAGMA_DETECT_MISMATCH #endif // When compiling with clang before __has_extension was defined, diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index c15931a7..42dabf0d 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -105,7 +105,7 @@ # define BOOST_HAS_NRVO #endif #if _MSC_VER >= 1500 // 150X == VC++ 9.0 -# define BOOST_HAS_PRAGMA_DETECT_MISSMATCH +# define BOOST_HAS_PRAGMA_DETECT_MISMATCH #endif // // disable Win32 API's if compiler extensions are