config
config copied to clipboard
Boost.org config module
VS2022 v17.10 will be officially released soon. _MSC_VER is 1940 so it will not be mapped to 14.3 in boost code. https://github.com/boostorg/config/blob/5734e160e08b8df898c7f747000f27a3aafb7b2b/include/boost/config/compiler/visualc.hpp#L375C1-L377C9 https://devblogs.microsoft.com/cppblog/msvc-toolset-minor-version-number-14-40-in-vs-2022-v17-10/
Needed for boost.cobalt (formerly async)
A user did a portfile (build definition of some sort) for Haiku and noticed that although GCC 13 is being used Boost.Config unconditionally defines C++11 defect macros: https://github.com/boostorg/config/blob/boost-1.83.0/include/boost/config/platform/haiku.hpp#L19-L22 As [reported](https://github.com/boostorg/locale/issues/191#issuecomment-1694695004)...
Hello, I am missing the header macros for C++23: BOOST_NO_CXX23_HDR_NNN. thx Gero
Hello, I miss these macros in boost/config.hpp: - BOOST_NO_CXX20/BOOST_NO_CXX23 (like BOOST_NO_CXX14, BOOST_NO_CXX17) - BOOST_CXX17_CONSTEXPR/BOOST_CXX20_CONSTEXPR/BOOST_CXX23_CONSTEXPR (like BOOST_CXX14_CONSTEXPR) - BOOST_CXX20_CONSTEVAL/BOOST_CXX23_CONSTEVAL This could be done like this: // C++17 #if defined(__cpp_constexpr) #if (__cpp_constexpr...
BOOST_HAS_BUILTIN e.g. clang/gcc support __has_builtin. However, you have to check if this is actually available before using it. I think it would be useful to introduce a macro BOOST_HAS_BUILTIN to...
### Introduction Recently, I reported an [issue](https://github.com/boostorg/thread/issues/385) in the `Boost.Thread` module where the msvc linker intended to link a file that doesn't even exist. The file was: ```libboost_thread-vc143-mt-gd-x64-1_78.lib``` It has...
For non-Win32 platforms BOOST_SYMBOL_IMPORT is defined to nothing which is wrong: https://gcc.gnu.org/wiki/Visibility > Symbol visibility is "default" by default but if the linker encounters just one definition with it hidden...