[Bug libstdc++/89464] shared_ptr_base.h: error: '__tag' was not declared in this scope (gcc-8.3.0 regression?)
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 23 18:24:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89464
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
alignas is a keyword in C++, it's not supposed to be a macro at all.
GCC 8.3.0 now uses alignas in the standard library headers, which is OK because
it's a C++ feature supported by the compiler. Stop defining a macro with the
name of a keyword, that's undefined.
More information about the Gcc-bugs
mailing list