mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
Merge branch 'deprecated-enumerators-old-gcc' into 'master'
gmacros: Only use deprecated attributes on enumerators with GCC ≥ 6.5 See merge request GNOME/glib!920
This commit is contained in:
commit
3addc38ca2
@ -988,7 +988,7 @@
|
||||
#endif
|
||||
|
||||
#if !defined(GLIB_DISABLE_DEPRECATION_WARNINGS) && \
|
||||
(__GNUC__ > 5 || (__GNUC__ == 5 && __GNUC_MINOR__ >= 2) || \
|
||||
(__GNUC__ > 6 || (__GNUC__ == 6 && __GNUC_MINOR__ >= 1) || \
|
||||
__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 0))
|
||||
#define GLIB_DEPRECATED_ENUMERATOR G_DEPRECATED
|
||||
#define GLIB_DEPRECATED_ENUMERATOR_FOR(f) G_DEPRECATED_FOR(f)
|
||||
|
Loading…
Reference in New Issue
Block a user