Skip to content

Use BOOST_OVERRIDE on functions that override #145

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

bmagistro
Copy link

When compiling with clang 19.1.7 on Alma with -Werror and a number of other flags (we run with most warnings enabled), a number of functions are flagged as overriding a function but not marked with override eg error: 'parse' overrides a member function but is not marked 'override' [-Werror,-Wsuggest-override]. Based on older tickets, the BOOST_OVERRIDE macro was used to address this.

Env:
Alma 9.6
Boost 1.88.0 via cmake
clang 19.1.7

Replaces: #97
While ^^ addressed other issues, to keep scope and review simple, the other issues are not addressed in here.

Resolves: #93

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.

GCC suggest-override warnings
1 participant