Commit 4e8044d9 by Ben Clayton

Build: Default to treating warnings as errors

Bug: b/130335507 Change-Id: I4cd5ab717bab39f1b03a4c6e8140603aa36c2fff Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/28869Tested-by: 's avatarBen Clayton <bclayton@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent f41ca6b5
......@@ -79,7 +79,7 @@ option (MSAN "Build with memory sanitizer" 0)
option (ASAN "Build with address sanitizer" 0)
option (TSAN "Build with thread sanitizer" 0)
option (UBSAN "Build with undefined behavior sanitizer" 0)
option (WARNINGS_AS_ERRORS "Treat all warnings as errors" 0)
option (WARNINGS_AS_ERRORS "Treat all warnings as errors" 1)
option (DCHECK_ALWAYS_ON "Check validation macros even in release builds" 0)
if(ARCH STREQUAL "arm")
......
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