I'd really prefer if such cases weren't "fixed", actually. Such semicolons help keep the context sensitive indentation provided by e.g. CC Mode sane.
/ Martin Stjernholm, Roxen IS
Previous text:
2002-12-10 08:56: Subject: gcc 3.2
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