-
Notifications
You must be signed in to change notification settings - Fork 967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
j2objc is generating Objective-C++ code without modifying C++20 keywords #2393
Comments
When updating j2objc’s reserved words file, please add all the new C++20
reserved words, not just “requires”.
El El mar, sept 24, 2024 a la(s) 9:47 a.m., deansturtevant <
***@***.***> escribió:
… 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++"
—
Reply to this email directly, view it on GitHub
<#2393>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAW2JL2326Y335SRBKUZ2MDZYGCPLAVCNFSM6AAAAABOYTTYFSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2DKNZWG44DANA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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++"
The text was updated successfully, but these errors were encountered: