I got about 34 unique such warnings in interpret_functions.h and 1 warning in gc.h, it doesn't seem to hard to fix. But I don't know what happens on other systems...
/ Mirar
Previous text:
2002-12-10 17:55: Subject: Re: gcc 3.2
In the last episode (Dec 10), Mirar @ Pike developers forum said:
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...
If you want to fix stuff like that, I'll turn my strict tcc build back on. I'm not sure it's worth fixing though. A took a lot at some of them and it would be difficult to ensure that no stray ;'s remained in all cases.
-- Dan Nelson dnelson@allantgroup.com
/ Brevbäraren