Re: Deprecation and GSEAL



On Thu, 16 Apr 2009 at 12:25:43 -0400, Cody Russell wrote:
> I'm not sure if __GNUC__ > 2 is the right thing to check for, if anyone
> knows when the deprecated attribute was introduced then this can be
> changed.

GLib defines G_GNUC_DEPRECATED, which expands to __attribute__((deprecated))
in gcc versions that support it.

Regards,
    S


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]