G Hasse wrote: > On Sun, Mar 30, 2008 at 10:25:05PM +0300, Stefan Kost wrote: >> Hi, > > Undefined and unused is not the same. > > There is NO way to clerify all unused functions in a program. > You could call functions by their addresses and those addresses > could be calculated in runtime. So you don't know...
This is especially important in a gtk program where most (if not all) signal callbacks will be passed to g_signal_connect() as a function pointer, and will never be called directly. If you only use static functions in this case, the compiler can catch these as Mike already noted. -brian _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list