diff --git a/src/libs/vdxf/warnings.pri b/src/libs/vdxf/warnings.pri index 84d1846db..074e23573 100644 --- a/src/libs/vdxf/warnings.pri +++ b/src/libs/vdxf/warnings.pri @@ -10,6 +10,17 @@ unix { QMAKE_CXXFLAGS += -Werror } + # -isystem key works only for headers. In some cases it's not enough. But we can't delete these warnings and + # want them in the global list. Compromise decision is to delete them from the local list. + QMAKE_CXXFLAGS -= \ + -Weffc++ \ + -Wconversion \ + -Wold-style-cast \ + -Wstack-protector \ + -Wswitch-default \ + -Wimplicit-fallthrough \ + -Wfloat-equal + noAddressSanitizer{ # For enable run qmake with CONFIG+=noAddressSanitizer # do nothing } else {