Remove unknown Clang options. Suppress Wunknown-warning-option.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-04-05 12:27:30 +03:00
parent cbf242ed9e
commit 273cd77205

View File

@ -408,7 +408,6 @@ CLANG_DEBUG_CXXFLAGS += \
-Wabstract-final-class \ -Wabstract-final-class \
-Wabstract-vbase-init \ -Wabstract-vbase-init \
-Waddress \ -Waddress \
-Waddress-of-array-temporary \
-Waddress-of-temporary \ -Waddress-of-temporary \
-Waggregate-return \ -Waggregate-return \
-Wall \ -Wall \
@ -519,7 +518,6 @@ CLANG_DEBUG_CXXFLAGS += \
-Wenum-compare \ -Wenum-compare \
-Wenum-conversion \ -Wenum-conversion \
-Wexplicit-ownership-type \ -Wexplicit-ownership-type \
-Wextended-offsetof \
-Wextern-initializer \ -Wextern-initializer \
-Wextra \ -Wextra \
-Wextra-semi \ -Wextra-semi \
@ -733,7 +731,6 @@ CLANG_DEBUG_CXXFLAGS += \
-Wunicode \ -Wunicode \
-Wunicode-whitespace \ -Wunicode-whitespace \
-Wuninitialized \ -Wuninitialized \
# -Wunknown-warning-option \
-Wunnamed-type-template-args \ -Wunnamed-type-template-args \
-Wunneeded-internal-declaration \ -Wunneeded-internal-declaration \
-Wunneeded-member-function \ -Wunneeded-member-function \
@ -771,9 +768,8 @@ CLANG_DEBUG_CXXFLAGS += \
-fcolor-diagnostics \ -fcolor-diagnostics \
-fms-extensions # Need for pragma message -fms-extensions # Need for pragma message
freebsd-clang* { CONFIG(release, debug|release){
# https://bitbucket.org/dismine/valentina/issues/877/lots-of-warnings-unknown-warning-option CLANG_DEBUG_CXXFLAGS += -Wno-unknown-warning-option
CLANG_DEBUG_CXXFLAGS -= -Wextended-offsetof
} }
ICC_DEBUG_CXXFLAGS += \ ICC_DEBUG_CXXFLAGS += \