summaryrefslogtreecommitdiff
path: root/skia
diff options
context:
space:
mode:
authorWill Harris <wfh@chromium.org>2018-08-29 23:28:23 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-29 23:28:23 +0000
commitb6dbcb211b1ecca9aea7afb70de27d216af15ec9 (patch)
tree1d176ae10de1bcc4999d1ca9c3171f4dbc171bd7 /skia
parentd5f427901b52e1311ab51f16e87459ec34691591 (diff)
downloadpdfium-b6dbcb211b1ecca9aea7afb70de27d216af15ec9.tar.xz
Change explicit suppression of warning 4267 to a config based suppression.
Remove two unneeded suppressions from pdfium's skia, as these are already covered by the //build/config/compiler:no_chromium_code config. BUG=588506 Change-Id: I347f2c98c6fd13679660fb25df2d2141e9b56e55 Reviewed-on: https://pdfium-review.googlesource.com/41611 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'skia')
-rw-r--r--skia/BUILD.gn3
1 files changed, 0 insertions, 3 deletions
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index 1612f17f6e..7851b35101 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -167,15 +167,12 @@ config("skia_library_config") {
cflags = [
"/wd4244", # conversion from 'type1( __int64)' to 'type2 (unsigned int)'
- "/wd4267", # conversion from 'size_t' (64 bit) to 'type'(32 bit).
"/wd4341", # signed value is out of range for enum constant.
"/wd4345", # Object is default-initialized if initialization is omitted.
"/wd4390", # ';'empty statement found in looping;is it what was intended?
"/wd4554", # 'operator' : check operator precedence for possible error
"/wd4748", # compiler will disable optimizations if a function has inline
# assembly code contains flow control(jmp or jcc) statements.
-
- "/wd4800", # forcing value to bool 'true/false'(assigning int to bool).
]
}
}