Re: Deprecations



On Wed, 26 Apr 2006, David Hampton wrote:

> On Wed, 2006-04-26 at 09:22 +0100, Ross Burton wrote:
> > Hi,
> >
> > Would it make sense to mark all of the deprecated API in GLib and GTK+
> > with G_GNUC_DEPRECATED, so that people who are not using the
> > DISABLE_DEPRECATED macros still get warned that they are using
> > deprecated functions?  At the moment it's very black and white, and I
> > think deprecation functions need a grey...
>
> That would break any project that compiles code using the -Werror flag.

Other than already explained and other reasons, if somebody cares
enough about warnings to use -Werror, they are probably
interested in getting rid of the deprecated API too.

> David

--behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
	-- Dan Bern, "New American Language"



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