Subject: Re: bin/23988: egcs: cc -traditional totally broken
To: VaX#n8 <vax@carolina.rr.com>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 01/07/2004 08:40:24
On Wed, Jan 07, 2004 at 12:33:55AM -0500, VaX#n8 wrote:
> Adding this line to the source seemed to fix things:
>
> off_t lseek(int, off_t, int);
>
> Note that #include <unistd.h> does *not* fix things, as __P() is defined
> away and thus it sees this:
>
> off_t lseek();
>
> So... this is not a compiler bug, but rather an interaction of -traditional
Ahh, now the plot thickens.
It may not realy help you, but -traditional is only supported very limited
in gcc 3.3.x (which is used in -current). You can't realy compile programs
with it any more (gcc only allows -traditional with -E, used to preprocess
assembler files)
Martin