Temporary suppress all GCC wanings inside libdxfrw.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-06-20 13:30:36 +03:00
parent 47265a515b
commit 279e1cda84

View File

@ -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 {