mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Merge branch 'wsign-conversion' into 'main'
Various -Wsign-conversion warning fixes See merge request GNOME/glib!4590
This commit is contained in:
@@ -9,11 +9,20 @@ xdgmime_sources = files(
|
||||
'xdgmimeparent.c',
|
||||
)
|
||||
|
||||
# glib enables various warnings which the xdgmime code wasn’t designed to
|
||||
# work with
|
||||
extra_xdgmime_args = cc.get_supported_arguments([
|
||||
'-Wno-sign-conversion',
|
||||
])
|
||||
|
||||
xdgmime_lib = static_library('xdgmime',
|
||||
sources : xdgmime_sources,
|
||||
include_directories : [configinc],
|
||||
pic : true,
|
||||
c_args : [ '-DHAVE_CONFIG_H',
|
||||
'-DXDG_PREFIX=_gio_xdg' ],
|
||||
c_args : [
|
||||
'-DHAVE_CONFIG_H',
|
||||
'-DXDG_PREFIX=_gio_xdg',
|
||||
extra_xdgmime_args,
|
||||
],
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
)
|
||||
|
Reference in New Issue
Block a user