Patch for FreeBSD. ref #877.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2018-08-12 09:45:04 +03:00
parent cb6c2eb8eb
commit e9afe63c7b

View File

@ -746,6 +746,11 @@ CLANG_DEBUG_CXXFLAGS += \
-fcolor-diagnostics \
-fms-extensions # Need for pragma message
freebsd-clang* {
# https://bitbucket.org/dismine/valentina/issues/877/lots-of-warnings-unknown-warning-option
CLANG_DEBUG_CXXFLAGS -= -Wextended-offsetof
}
ICC_DEBUG_CXXFLAGS += \
$$ISYSTEM \ # Ignore warnings Qt headers.
-Wcomment \