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




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



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