[BusyBox] gcc problem in editor/sed.c
Manuel Novoa III
mjn3 at codepoet.org
Fri Oct 10 22:23:59 UTC 2003
On Fri, Oct 10, 2003 at 04:58:28PM -0500, Rob Landley wrote:
> Under 3.2.2, the file compiles fine as is. It accepts some C++ism even when
> it's just blah-dot-lower case c.
>
> Behavior change between gcc versions. I think it might have to do with C99...
There are a number of changes that came in with C99, including "//" comments
and mixed declarations and code.
> #include <stdio.h>
>
> int main(int argc, char *argv)
> {
> int a;
>
> printf("%d\n",a);
> int b;
> printf("%d\n",b);
> }
More information about the busybox
mailing list