Clang on MAC OS X doesn't support all options
--HG-- branch : develop
This commit is contained in:
parent
3e61e12394
commit
826236ffb9
|
@ -284,7 +284,6 @@ CLANG_DEBUG_CXXFLAGS += \
|
||||||
-Wanalyzer-incompatible-plugin \
|
-Wanalyzer-incompatible-plugin \
|
||||||
-Wanonymous-pack-parens \
|
-Wanonymous-pack-parens \
|
||||||
-Warc \
|
-Warc \
|
||||||
-Warc-abi \
|
|
||||||
-Warc-bridge-casts-disallowed-in-nonarc \
|
-Warc-bridge-casts-disallowed-in-nonarc \
|
||||||
-Warc-maybe-repeated-use-of-weak \
|
-Warc-maybe-repeated-use-of-weak \
|
||||||
-Warc-non-pod-memaccess \
|
-Warc-non-pod-memaccess \
|
||||||
|
@ -620,7 +619,6 @@ CLANG_DEBUG_CXXFLAGS += \
|
||||||
-Wunused-parameter \
|
-Wunused-parameter \
|
||||||
-Wunused-private-field \
|
-Wunused-private-field \
|
||||||
-Wunused-result \
|
-Wunused-result \
|
||||||
-Wunused-sanitize-argument \
|
|
||||||
-Wunused-value \
|
-Wunused-value \
|
||||||
-Wunused-variable \
|
-Wunused-variable \
|
||||||
-Wunused-volatile-lvalue \
|
-Wunused-volatile-lvalue \
|
||||||
|
@ -642,6 +640,13 @@ CLANG_DEBUG_CXXFLAGS += \
|
||||||
-fcolor-diagnostics \
|
-fcolor-diagnostics \
|
||||||
-fms-extensions # Need for pragma message
|
-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 += \
|
ICC_DEBUG_CXXFLAGS += \
|
||||||
$$ISYSTEM \ # Ignore warnings Qt headers.
|
$$ISYSTEM \ # Ignore warnings Qt headers.
|
||||||
-Wcomment \
|
-Wcomment \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user