Ok, first tcc problem:
"conftest.c", line 1: Error: [ISO 6.8.4]: Line number out of range in '#line'.
#line 32857 "configure"
C89 appears to have had a linenumber limit of 16bits signed. C99 has a limit of 32bits signed:
6.8.4 Line control [...] The digit sequence shall not specify zero, nor a number greater than 2147483647.
/ Henrik Grubbström (Lysator)
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