https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108965
--- Comment #11 from Christopher Friedt ---
(In reply to Jonathan Wakely from comment #9)
> (In reply to Christopher Friedt from comment #8)
> > My code is clearly valid C++ according to g++ :-)
>
> Maybe you mean clang++ but even then, no it's
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108965
--- Comment #10 from Christopher Friedt ---
Thanks - I wasn't using -pedantic, but you have certainly proven stuff.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108965
--- Comment #8 from Christopher Friedt ---
My code is clearly valid C++ according to g++ :-)
Thanks for your help in any case.
On Tue, Feb 28, 2023, 7:38 AM redi at gcc dot gnu.org <
gcc-bugzi...@gcc.gnu.org> wrote:
> https://gcc.gnu.org/bugz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108965
--- Comment #6 from Christopher Friedt ---
It's supported OOTB in `clang++` but fails in `g++`.
The example above is the simplest example that illustrates the issue.
I am not being abusive, but it certainly did feel like gaslighting to read
"y
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108965
--- Comment #3 from Christopher Friedt ---
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108965
Bug ID: 108965
Summary: g++: unable to parse c11 _Generics
Product: gcc
Version: 11.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++