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.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx