Temporary suppress all GCC wanings inside libdxfrw.
--HG-- branch : feature
This commit is contained in:
parent
47265a515b
commit
279e1cda84
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user