1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

Turn on treat_warnings_as_errors (#1086)

Fixes #374
This commit is contained in:
Ryan Dahl 2018-10-25 17:05:59 -07:00 committed by GitHub
parent 00082352e9
commit 59acd8d1ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

2
.gn
View file

@ -32,7 +32,7 @@ default_args = {
is_component_build = false
symbol_level = 1
treat_warnings_as_errors = false
treat_warnings_as_errors = true
rust_treat_warnings_as_errors = true
# https://cs.chromium.org/chromium/src/docs/ccache_mac.md

View file

@ -776,6 +776,9 @@ component("ring_primitives") {
"$ring_root/pregenerated/x86_64-mont-nasm.obj",
"$ring_root/pregenerated/x86_64-mont5-nasm.obj",
]
# Disable warning: '_addcarry_u64' is not a recognized builtin
cflags = [ "-Wno-ignored-pragma-intrinsic" ]
}
include_dirs = [ "$ring_root/include/" ]
}