Added BOOST_HAS_PRAGMA_DETECT_MISSMATCH macro

This commit is contained in:
Antony Polukhin committed 2014-08-11 15:11:38 +04:00
1 parent 34e1c7416b
commit 3087b80a77
3 files changed
+12

No files matched your search

+7
View File
@@ -399,6 +399,13 @@ 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][
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
are compiled with same flags.
]]
[[`BOOST_HAS_PTHREAD_DELAY_NP`][Platform][
The platform has the POSIX API `pthread_delay_np`.
]]