mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-19 18:54:50 +02: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,
|
G_PARAM_STATIC_BLURB = 1 << 7,
|
||||||
/* User defined flags go here */
|
/* User defined flags go here */
|
||||||
G_PARAM_EXPLICIT_NOTIFY = 1 << 30,
|
G_PARAM_EXPLICIT_NOTIFY = 1 << 30,
|
||||||
G_PARAM_DEPRECATED = 1 << 31
|
/* Avoid warning with -Wpedantic for gcc6 */
|
||||||
|
G_PARAM_DEPRECATED = (gint)(1u << 31)
|
||||||
} GParamFlags;
|
} GParamFlags;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user