google / google/j2objc

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

Open
#2,393 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6k
Forks
999
Avg merge
19h 20m
Merged PRs (30d)
14

Description

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++"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.