-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Open
Labels
cmakeBuild system in general and CMake in particularBuild system in general and CMake in particular
Description
I tried to build the latest development sources with GCC-15.1, the build process runs but I noticed that thousands of warnings like this one are printed on the console:
cc1plus: note: unrecognized command-line option ‘-Wno-unnecessary-virtual-specifier’ may have been intended to silence earlier diagnostics
Actually, the effect is just a warning message, but perhaps it would be worth to avoid it, if it's possible.
This flags seems to be added only here:
add_flag_if_supported("-Wno-unnecessary-virtual-specifier" CXX_SUPPORTS_UNNECESSARY_VIRTUAL_FLAG) |
by using a macro called
add_flag_if_supported()
into the code.Unfurtunately, it seems that it doesn't detect that GCC is not understanding this option.
dtcxzyw
Metadata
Metadata
Assignees
Labels
cmakeBuild system in general and CMake in particularBuild system in general and CMake in particular