Re: [gtk-list] Cast checking error messages




On Thu, 25 Mar 1999 rowe@excc.ex.ac.uk wrote:
> break point inside g_log gdb rather scarily gives me:
> 
> Function "g_log" not defined.
>

It's g_logv(), that should work for you.
 
> Gtk-WARNING **: invalid cast from `GtkCheckMenuItem' to `GtkToggleButton'
>             **: in file "myfile.c" line 1234.
> 
> 
> It's a simple change to put __LINE__ and __FILE__ into a couple of
> macros.  I'm happy to make the change myself if people want to try it
> out.
> 

That's not a bad idea though. 

Havoc



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