Skip to content

Warning about requires keyword in C++20 #7656

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

Closed
jparsert opened this issue Apr 9, 2023 · 0 comments · Fixed by #7698
Closed

Warning about requires keyword in C++20 #7656

jparsert opened this issue Apr 9, 2023 · 0 comments · Fixed by #7698
Assignees
Labels
aws Bugs or features of importance to AWS CBMC users Code Contracts Function and loop contracts

Comments

@jparsert
Copy link

jparsert commented Apr 9, 2023

With c++20 "requires" was added to the list of keywords (https://en.cppreference.com/w/cpp/keyword). This might lead to problems down the line when using g++20 as there is a function named requires() in util/c_types.h.

@TGWDB TGWDB self-assigned this May 3, 2023
@feliperodri feliperodri added aws Bugs or features of importance to AWS CBMC users Code Contracts Function and loop contracts labels May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws Bugs or features of importance to AWS CBMC users Code Contracts Function and loop contracts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants