public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC support for extensions from later standards
@ 2023-08-02 19:01 Nikolas Klauser
  2023-08-06 19:19 ` Jason Merrill
  0 siblings, 1 reply; 11+ messages in thread
From: Nikolas Klauser @ 2023-08-02 19:01 UTC (permalink / raw)
  To: gcc; +Cc: Louis Dionne, Mark de Wever, aaron

[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]

Hi everyone!

I'm working on libc++ and we are currently discussing using language extensions from later standards (https://discourse.llvm.org/t/rfc-use-language-extensions-from-future-standards-in-libc/71898/4). By that I mean things like using `if constexpr` with `-std=c++11`. GCC has quite a lot of these kinds of conforming extensions, but doesn't document them AFAICT. While discussing using these extensions, the question came up what GCCs support policy for these is. Aaron was kind enough to answer these questions for us on the Clang side. Since I couldn't find anything in the documentation, I thought I'd ask here.

So, here are my questions:

Do you expect that these extensions will ever be removed for some reason? If yes, what could those reasons be?

Would you be interested in documenting them?

Aaron noted that we should ask the Clang folks before using them, so they can evaluated whether the extension makes sense, since they might not be aware of them, and some might be broken. So I'd be interested whether you would also like us to ask whether you want to actually support these extensions.

Thanks,
Nikolas

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-08-08 16:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-02 19:01 GCC support for extensions from later standards Nikolas Klauser
2023-08-06 19:19 ` Jason Merrill
2023-08-06 19:43   ` Jonathan Wakely
2023-08-07 13:04     ` Jonathan Wakely
2023-08-08  8:55       ` Jonathan Wakely
2023-08-08  3:03   ` Nikolas Klauser
2023-08-08  7:33     ` Jakub Jelinek
2023-08-08 16:03       ` Nikolas Klauser
2023-08-08 16:07         ` Jonathan Wakely
2023-08-08 16:10           ` Jonathan Wakely
2023-08-08 16:33             ` Nikolas Klauser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).