diff options
author | Moonchild <moonchild@palemoon.org> | 2020-05-13 10:15:24 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-20 13:52:01 +0000 |
commit | 206b1af429e247d36677c1f7344d3f73ff391d5a (patch) | |
tree | c5c94028bb47292886a8f99144f133ac2f430f63 | |
parent | 2bdbc482e7cf7e709eaabc02aafc7fcc7ef07710 (diff) | |
download | UXP-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
-rw-r--r-- | gfx/cairo/cairo/src/moz.build | 5 |
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', |