summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-13 10:15:24 +0000
committerMoonchild <moonchild@palemoon.org>2020-05-13 10:15:24 +0000
commit97b89ab4b526073a4928c694c18fbbba1c570f48 (patch)
treed50a0bbea90148703b3e4175ad46ee8737b1c927 /gfx
parentd3b19e64a3d707fd5f1b00e069736a2a8507208c (diff)
downloaduxp-97b89ab4b526073a4928c694c18fbbba1c570f48.tar.gz
Issue #457 - Silence some superfluous compiler warnings in cairo
Diffstat (limited to 'gfx')
-rw-r--r--gfx/cairo/cairo/src/moz.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/gfx/cairo/cairo/src/moz.build b/gfx/cairo/cairo/src/moz.build
index 14b602ac23..c78758a06b 100644
--- a/gfx/cairo/cairo/src/moz.build
+++ b/gfx/cairo/cairo/src/moz.build
@@ -214,6 +214,11 @@ if CONFIG['MOZ_TREE_FREETYPE']:
DEFINES['FT_LCD_FILTER_H'] = '%s/modules/freetype2/include/freetype/ftlcdfil.h' % TOPSRCDIR
# Suppress warnings in third-party code.
+if CONFIG['_MSC_VER']:
+ CFLAGS += [
+ '-wd4005',
+ '-wd4146',
+ ]
if CONFIG['GNU_CC'] or CONFIG['CLANG_CL']:
CFLAGS += [
'-Wno-enum-compare',