GNOME Bugzilla – Bug 731417
G_DEPRECATED in GLib is marked as deprecated
Last modified: 2014-07-09 13:35:18 UTC
See the G_DEPRECATED and G_DEPRECATED_FOR documentation in GLib: https://developer.gnome.org/glib/unstable/glib-Miscellaneous-Macros.html#G-DEPRECATED:CAPS The symbols are marked as deprecated but it should not be the case. The GTK-Doc comment: https://git.gnome.org/browse/glib/tree/glib/docs.c#n2015 /** * G_DEPRECATED: * * This macro is similar to %G_GNUC_DEPRECATED, and can be used to mark * functions declarations as deprecated. Unlike %G_GNUC_DEPRECATED, it is * meant to be portable across different compilers and must be placed * before the function declaration. * * Since: 2.32 */
Created attachment 279380 [details] [review] tests: Add a macro with DEPRECATED in its name It should not be marked as deprecated itself.
Created attachment 279381 [details] [review] scan: Ignore macro definitions with DEPRECATED in their name These should not be automatically deprecated.
Created attachment 279386 [details] [review] scan: Improve the deprecated macro checks
Created attachment 279388 [details] [review] scan: Ignore macro definitions with DEPRECATED in their name These should not be automatically deprecated.
The following fixes have been pushed: 0a46654 scan: Ignore macro definitions with DEPRECATED in their name 41d98e3 tests: Add a macro with DEPRECATED in its name
Created attachment 280265 [details] [review] scan: Ignore macro definitions with DEPRECATED in their name These should not be automatically deprecated.
Created attachment 280266 [details] [review] tests: Add a macro with DEPRECATED in its name It should not be marked as deprecated itself.