On 26/06/20 12:01 -0500, Michael Cronenworth wrote:
On 6/25/20 11:45 PM, Tom Stellard wrote:
>Are you tying to build with mingw-gcc? What errors are you getting?
Yes, mingw-gcc, as we do not ship the Clang based MinGW toolchain in Fedora.
Here's a sample:
cc1plus: error: unrecognized command line option
'-Wno-implicit-int-float-conversion' [-Werror]
cc1plus: error: unrecognized command line option '-Wno-parentheses-equality'
[-Werror]
cc1plus: error: unrecognized command line option '-Wno-undefined-var-template'
[-Werror]
cc1plus: error: unrecognized command line option '-Wno-deprecated-register'
[-Werror]
cc1plus: error: unrecognized command line option
'-Wno-inconsistent-missing-override' [-Werror]
cc1plus: error: unrecognized command line option '-Wno-undefined-inline'
[-Werror]
cc1plus: error: unrecognized command line option
'-Wno-ignored-pragma-optimize' [-Werror]
cc1plus: error: unrecognized command line option '-Wno-inline-new-delete'
[-Werror]
GCC does not complain about unrecognized -Wno-xxx options unless
another warning or error has ben issued.
So these are not the problem.
You seem to be using -Werror, which probably means that some other
(possibly innocuous) warning caused an error, and because compilation
had already failed, GCC decided to *also* tell you about the
unrecognized -Wno-xxx options.
Fix your real problem, and the -Wno-xxx warnings will go away.
Stop using -Werror and they'll just be warnings anyway.