Skip to content

j2objc is generating Objective-C++ code without modifying C++20 keywords #2393

Open
@deansturtevant

Description

@deansturtevant

C++20 has introduced new keywords, including "requires".
I have seen j2objc generate code with the "requires" symbol in a situation that fails C++20 compilation.
The error message (from Clang) is "error: expected identifier; 'requires' is a keyword in Objective-C++"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions