Re: GHashTable and const
- Date: Thu, 03 Jul 2008 11:47:25 -0400
- From: Mark Mielke <mark@xxxxxxxxxxxxxx>
- Subject: Re: GHashTable and const
Havoc Pennington wrote:
I'm not a GTK maintainer, but one problem with this is backward
compatibility. Adding const can certainly break previously-working
code, especially C++ code.
This was an issued once faced when people migrated from K&R C to ANSI C.
Nothing wrong with having a gconst that is defined to nothing on systems
that do not support it, or for compatibility. Not saying it should be
done or not - but if it is done, this isn't the first time in history
this compatibility issue has been faced.
Cheers,
mark
--
Mark Mielke <mark@xxxxxxxxx>
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-devel-list