Open deansturtevant opened 1 month ago
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 https://github.com/google/j2objc/issues/2393, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAW2JL2326Y335SRBKUZ2MDZYGCPLAVCNFSM6AAAAABOYTTYFSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2DKNZWG44DANA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
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++"