Commit 67180a07 by Nicolas Capens Committed by Nicolas Capens

Fix building with Clang 4.0

Clang 4.0.1 is less than two years old and still in widespread use. It doesn't support some of the more recent diagnostic warnings. Bug: b/130335507 Change-Id: I68c6270c2e90c50b1de1657e16e914c89b336952 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/30191Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarBen Clayton <bclayton@google.com>
parent 9283b255
......@@ -344,6 +344,10 @@ else()
"-Werror=string-conversion"
"-Werror=extra-semi"
"-Werror=ignored-qualifiers"
# Silence errors caused by unknown warnings when building with older
# versions of Clang. This demands checking that warnings added above
# are spelled correctly and work as intended!
"-Wno-unknown-warning-option"
)
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment