On Mon, 19 Jan 2009 20:48:51 +0100 Enrico Tröger enrico.troeger@uvena.de wrote:
But the real problem is that gcc doesn't warn about it (or I haven't found an option for gcc 4.1 anyway).
-Wstrict-prototypes :-) The warning it gives you is "function declaration isn’t a prototype".
OK, thanks, I missed it.
But this option is not much fun since it causes many, many warnings in GLib/GTK headers.
<Sigh> Another reason why C is so much fun *g*
I wonder why GLib/GTK builds with the old compilers then?
Regards, Nick