You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the long run, you'll want to fix your code, because was deprecated in C++17, and will be removed outright for C++20.
c++17: [diff.mods.to.headers]/4 says:
The headers , (D.4.2), and (D.4.3) are meaningless in C++. Use of the C++ headers , , , and is deprecated (D.5).
c++2a [diff.cpp17.library]/2 says:
Change: Remove vacuous C++ header files.
Rationale: The empty headers implied a false requirement to achieve C compatibility with the C++ headers. Effect on original feature: A valid C++ 2017 program that #includes any of the following headers may fail to compile: , , , , and .
That being said, it looks like libc++ never added or for C++11.
Extended Description
I found this problem on FreeBSD, which uses clang and llvm C++ library: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230230
cppreference says that there should be such standard header: https://en.cppreference.com/w/cpp/header/cstdalign
The text was updated successfully, but these errors were encountered: