Turn on specific waring as errors
Moved
Solved
Qt Creator and other tools
-
Hi,
I have turned on warning as error option in my pro file:
QMAKE_CXXFLAGS += -WerrorBut in my QtCreator I still see some warnings like e.g.:
Included header header.h is not used directly (fix available)
Included header header.h is not used directly (fix available)How can I set that build will fail even with that?
Currently build is succeeding. -
-
What you see are not comnpiler warnings but warnings from the clang analyzer. So you can't create an error for them.
-
@Christian-Ehrlicher ok, thank you, is there any option to list all of those warning or I need go file by file manually?
-