Re: Gcc 94 / 10.2 has no GCC 20 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, as far as I can tell this is the missing functionality in 10 that would be necessary to implement fetching names of fields of aggregations:

https://gcc.gnu.org/projects/cxx-status.html

Inconsistencies with non-type template parameters     P1907R1     10 (no floating point, union, or subobject template args)
11 (complete)     __cpp_nontype_template_args >= 201911

The subobject template args as template argument is needed.

Anyways, thanks everyone!
________________________________
From: Hans Åberg <haberg_1@xxxxxxxxxx>
Sent: Thursday, October 24, 2024 8:03 AM
To: Florian Weimer <fweimer@xxxxxxxxxx>
Cc: Phil Phil via Gcc-help <gcc-help@xxxxxxxxxxx>; paul@xxxxxxxxxxxxxxxxx <paul@xxxxxxxxxxxxxxxxx>; Phil Phil <heidegg@xxxxxxxxxxx>
Subject: Re: Gcc 94 / 10.2 has no GCC 20 ?

It may be useful to check lists over the C++ features supported, such as those given below. Certain C++ features may take a long time to get implemented, or not at all, even though the compiler has an option for the language version. It also depends on the compiler: Despite GCC and Clang being close, they may differ in the C++ features supported. Compiler specific workarounds may have to be applied.

https://en.cppreference.com/w/cpp/compiler_support/20
https://en.cppreference.com/w/cpp/compiler_support


> On 24 Oct 2024, at 08:19, Florian Weimer via Gcc-help <gcc-help@xxxxxxxxxxx> wrote:
>
> * Phil Phil via Gcc-help:
>
>> whatever. 11 should be safe?
>
> C++20 support is still experimental in GCC 11 (or any GCC release so
> far).  Unless you are experimenting, you should not use it.
>
> Thanks,
> Florian
>





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux