Skip to content

Support -std=c++20/gnu++20 #44284

@Romain-Geissler-1A

Description

@Romain-Geissler-1A
Bugzilla Link 44939
Resolution FIXED
Resolved on Feb 19, 2020 13:44
Version trunk
OS All
Blocks #43900
CC @efriedma-quic,@zmodem,@RKSimon,@zygoloid

Extended Description

Hi,

C++20 was marked as (technically) done at the Prague meeting last week, so now there is no need to call this standard C++2a, it is officially C++20. Thus clang should accept -std=c++20/gnu++20 which doesn't seem to be the case with the current trunk (at least on Compiler Explorer). gcc has added this very recently with this commit: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=fb26050409473f5be54465beca114b7e48de43aa

I also think this is a possible candidate for a backport into the soon to be released Clang 10.

Cheers,
Romain

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillac++20

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions