-
Notifications
You must be signed in to change notification settings - Fork 245
Description
When I include boost/math/concepts/real_concept.hpp or boost/math/tools/promotion.hpp from boost 1.83 I get the following compiler warning with Visual Studio 17.7 and the v143 version 14.37 toolset compiling for C++17:
warning STL4038: The contents of <stdfloat> are available only with C++23 or later.
Looks like stdfload is there but should not be included with C++17. The two includes are here:
https://github.com/boostorg/math/blob/develop/include/boost/math/tools/promotion.hpp#L31
https://github.com/boostorg/math/blob/develop/include/boost/math/concepts/real_concept.hpp#L49
Btw I don't get this warning when I include boost/math/tools/config.hpp:
https://github.com/boostorg/math/blob/develop/include/boost/math/tools/config.hpp#L157