Re: ISO C incompatibilities
From: QNils_O=2E_Sel=E5sdal=22?= (NOS_at_Utel.no)
Date: 05/28/04
- Next message: QNils_O=2E_Sel=E5sdal=22?=: "Re: FC2 memory hogging?"
- Previous message: utkanbir: "Re: vmstat bi disk read or write?"
- In reply to: djk9636: "ISO C incompatibilities"
- Next in thread: djk9636: "Re: ISO C incompatibilities"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 May 2004 09:42:57 +0200
djk9636 wrote:
> Greetings,
>
> I have some old C code that quit compiling on Linux because the compiler
> doesn't like the function prototypes not matching the function
> definitions. I know Sun has a compiler switch that overrides this, but
> I can't seem to find how to do it on Linux.
>
> I'm using "gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)"
>
> I use the -U__STDC__ directive when I do the compile, but the compile
> errors out. The error message is:
Drop that, and try the -ansi switch
- Next message: QNils_O=2E_Sel=E5sdal=22?=: "Re: FC2 memory hogging?"
- Previous message: utkanbir: "Re: vmstat bi disk read or write?"
- In reply to: djk9636: "ISO C incompatibilities"
- Next in thread: djk9636: "Re: ISO C incompatibilities"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|