summaryrefslogtreecommitdiffstats
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-20 13:52:01 +0000
commit206b1af429e247d36677c1f7344d3f73ff391d5a (patch)
treec5c94028bb47292886a8f99144f133ac2f430f63 /gfx
parent2bdbc482e7cf7e709eaabc02aafc7fcc7ef07710 (diff)
downloadUXP-206b1af429e247d36677c1f7344d3f73ff391d5a.tar
UXP-206b1af429e247d36677c1f7344d3f73ff391d5a.tar.gz
UXP-206b1af429e247d36677c1f7344d3f73ff391d5a.tar.lz
UXP-206b1af429e247d36677c1f7344d3f73ff391d5a.tar.xz
UXP-206b1af429e247d36677c1f7344d3f73ff391d5a.zip
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 14b602ac2..c78758a06 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',