mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
Avoid warning for G_PARAM_DEPRECATED with GCC 6 [-Wpedantic]
Refer to https://bugzilla.gnome.org/show_bug.cgi?id=767882 Related to GCC https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71803
This commit is contained in:
parent
243c1b7e84
commit
7470cc902b
@ -163,7 +163,8 @@ typedef enum
|
||||
G_PARAM_STATIC_BLURB = 1 << 7,
|
||||
/* User defined flags go here */
|
||||
G_PARAM_EXPLICIT_NOTIFY = 1 << 30,
|
||||
G_PARAM_DEPRECATED = 1 << 31
|
||||
/* Avoid warning with -Wpedantic for gcc6 */
|
||||
G_PARAM_DEPRECATED = (gint)(1u << 31)
|
||||
} GParamFlags;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user