I added a --enable-pedantic to configure now. I also made the warnings reappear for me (make.conf set CFLAGS which set cflags_is_set which disabled both warnings and optimizations), including -Wno-long-long.
Most of the warnings are considered about empty ";" outside functions. I suppose they come from define usage such as:
#if (something) #define SOME_FUNC(X) int PIKE_CONCAT(SOME_FUNC,X) (blah) #else #define SOME_FUNC(X) #endif
SOME_FUNC(foo); ^
But I haven't investigated more then fix a zillion of those in layers.c yet. I'll compile my xenofarm 7.5 with pedantic so I get a good warning log...
/ Mirar
Previous text:
2002-12-09 17:34: Subject: gcc 3.2
And -pedantic _is_ orthogonal to selecting the ANSI-C version. -pedantic just controls whether gcc actually cares if you break the selected standard.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)