projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e76266
)
Only show warnings as errors in debug builds
author
Matthew Leibowitz
<mattleibow@live.com>
Sat, 8 Sep 2018 20:55:09 +0000
(22:55 +0200)
committer
Matthew Leibowitz
<mattleibow@live.com>
Sat, 8 Sep 2018 20:55:09 +0000
(22:55 +0200)
gn/BUILD.gn
patch
|
blob
|
history
diff --git
a/gn/BUILD.gn
b/gn/BUILD.gn
index d7eaf23846048eedc0eed32b3e97d5d4d3cdeef4..c206c5529e3c75b5e4c05d508c2b7495be18920a 100644
(file)
--- a/
gn/BUILD.gn
+++ b/
gn/BUILD.gn
@@
-48,7
+48,6
@@
config("default") {
if (is_win) {
cflags += [
"/bigobj", # Some of our files are bigger than the regular limits.
- "/WX", # Treat warnings as errors.
"/utf-8", # Set Source and Executable character sets to UTF-8.
]
if (is_clang) {
@@
-337,6
+336,7
@@
config("warnings") {
cflags_objcc = []
if (is_win) {
cflags += [
+ "/WX", # Treat warnings as errors.
"/W3", # Turn on lots of warnings.
# Disable a bunch of warnings: