[Haifux] Intermingled code and declarations and gcc
Eli Billauer
eli at billauer.co.il
Thu Sep 17 16:54:45 MSD 2009
Hi,
Thanks, even though it didn't help. The same error message appeared,
despite the flag.
BTW, gcc version 3.0.4 compiled the *example* neatly with or without the
flag (but not the code I need to compile, because it has other
issues...). Surprise, surprise.
Eli
Vadim Eisenberg wrote:
> Hi Eli,
>
> Try -std=c99 flag. The C99 standard allows declarations everywhere.
>
> Shana Tova,
> Vadim
>
>
--
Web: http://www.billauer.co.il
More information about the Haifux
mailing list