mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1243331 - Prevent G_DEFINE_TYPE_EXTENDED macro from producing a fatal warning, r=tbsaunde
This commit is contained in:
parent
6dced7d5c9
commit
216c618147
@ -52,6 +52,7 @@ if CONFIG['MOZ_ENABLE_DBUS']:
|
||||
|
||||
include('/ipc/chromium/chromium-config.mozbuild')
|
||||
|
||||
if CONFIG['CLANG_CXX']:
|
||||
# Suppress clang warning about unused function from gobject's RTTI macros.
|
||||
CXXFLAGS += ['-Wno-unused-function']
|
||||
if CONFIG['CLANG_CXX'] or CONFIG['GNU_CXX']:
|
||||
# Used in G_DEFINE_TYPE_EXTENDED macro, probably fixed in newer glib /
|
||||
# gobject headers. See bug 1243331 comment 3.
|
||||
CXXFLAGS += ['-Wno-unused-local-typedefs']
|
||||
|
Loading…
Reference in New Issue
Block a user