MSVC 2022 warning about stdfloat not available till c++23
Open
- Dominant language
- C++
- Stars
- 517
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
I get a compiler warning when including ``, because it includes `` which includes ``
```c++
#if __has_include() // this resolves to true somehow
# include
#endif
```
```c++
// at stdfloat
#if !_HAS_CXX23
_EMIT_STL_WARNING(STL4038, "The contents of are available only with C++23 or later.");
#else // ^^^ !_HAS_CXX23 / _HAS_CXX23 vvv
```
may be replace `#if __has_include()` with `#if __has_include() & _HAS_CXX23`
Contributor guide
Assessment
This issue has not been assessed yet.