[Bug c++/108965] g++: unable to parse c11 _Generics
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 28 11:02:48 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108965
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Christopher Friedt from comment #3)
> All you need to do is look at the example above pulled directly from
> cppreference.com, but please simply gaslight the user if that's an easier
> path to resolution for you.
There is no gaslighting going on. In fact now you just being abusive for what
end?
The facts are:
The _Generic is only part of the C standard and not part of the C++ standard.
They are two different things.
Gcc's C++ frontend has never implemented _Generic support. GCC's C frontend
does though.
The C and C++ frontends in gcc do share some code but the parser has never been
shared.
More information about the Gcc-bugs
mailing list