Clang on MAC OS X doesn't support all options

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-10-31 15:42:47 +02:00
parent 3e61e12394
commit 826236ffb9

View File

@ -284,7 +284,6 @@ CLANG_DEBUG_CXXFLAGS += \
-Wanalyzer-incompatible-plugin \
-Wanonymous-pack-parens \
-Warc \
-Warc-abi \
-Warc-bridge-casts-disallowed-in-nonarc \
-Warc-maybe-repeated-use-of-weak \
-Warc-non-pod-memaccess \
@ -620,7 +619,6 @@ CLANG_DEBUG_CXXFLAGS += \
-Wunused-parameter \
-Wunused-private-field \
-Wunused-result \
-Wunused-sanitize-argument \
-Wunused-value \
-Wunused-variable \
-Wunused-volatile-lvalue \
@ -642,6 +640,13 @@ CLANG_DEBUG_CXXFLAGS += \
-fcolor-diagnostics \
-fms-extensions # Need for pragma message
unix:!macx{
#Clang on MAC OS X doesn't support all options
CLANG_DEBUG_CXXFLAGS += \
-Warc-abi \
-Wunused-sanitize-argument
}
ICC_DEBUG_CXXFLAGS += \
$$ISYSTEM \ # Ignore warnings Qt headers.
-Wcomment \