Skip to content
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

Update CMakeLists.txt #781

Merged
merged 1 commit into from
Feb 25, 2024
Merged

Conversation

sethhillbrand
Copy link
Contributor

Add -Wno-c++20-compat to compile flags.
Without this, g++ will turn on compatibility testing. In C++20, template IDs are not allowed in constructors (clipper.core.h). The combination of -Wall, which turns on the warning, and -Werror, which makes the warning an error prevented builds using newer g++ versions

Add  -Wno-c++20-compat to compile flags.
Without this, g++ will turn on compatibility testing.
In C++20, template IDs are not allowed in constructors (clipper.core.h).
The combination of `-Wall`, which turns on the warning, and `-Werror`,
which makes the warning an error prevented builds using newer g++ versions
@AngusJohnson AngusJohnson merged commit 1df2940 into AngusJohnson:main Feb 25, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants