[173] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Using GTK in a C++ project

daemon@ATHENA.MIT.EDU (Peter Mattis)
Thu May 15 20:59:47 1997

To: gtk-list@redhat.com
In-reply-to: Your message of "Thu, 15 May 1997 19:32:31 EDT."
             <Pine.LNX.3.95.970515193033.15C-100000@lacrosse.redhat.com> 
Date: Thu, 15 May 1997 16:38:27 -0700
From: Peter Mattis <petm@scam.XCF.Berkeley.EDU>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


Elliot Lee writes:
>I think it is a good thing to write C code that will also compile as C++
>(read the cow book for more info). Therefore may I suggest that an elegant
>solution might be to s/delete/del/ ?

Or might I suggest the official change of "delete" to
"delete_text". The only reason such things pop into gtk every now and
then is because I sometimes forget about a C++ restriction (such as a
keyword). I think gcc needs a warning option so that C++ keywords
cannot be used. 

Peter

--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post