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

Silence -Weffc++ compiler warnings from gcc 11.4 #2945

Closed
wants to merge 1 commit into from

Conversation

grhoten
Copy link
Contributor

@grhoten grhoten commented Jan 12, 2025

Description

These changes either address or silence the warnings that come from using -Weffc++ with gcc. This code has to be compiled in other projects, and it's easier to use this option if Catch isn't filling the compilation logs with warnings in its code, especially the headers. This compiler option has helped me in the past to find a subtle bug, and I'd like to continue doing that. Using this compiler option can also help highlight what does need to be tested.

The warnings about the operators were silenced with these changes because they seem like basic functionality. The rest were addressed as best that I can address them.

GitHub Issues

This addresses the -Weffc++ part of #2927.

@grhoten
Copy link
Contributor Author

grhoten commented Jan 12, 2025

This isn't ready yet.

@grhoten grhoten closed this Jan 12, 2025
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.

1 participant