mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Issue #457 - Silence some superfluous compiler warnings in cairo
This commit is contained in:
parent
4ac82173d9
commit
b2a716b2f1
1 changed files with 5 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue