Re: fts.c doesn't compile with C89 compiler

2006-10-25 Thread Jim Meyering
Jim Meyering <[EMAIL PROTECTED]> wrote: > Bruno Haible <[EMAIL PROTECTED]> wrote: ... >> fts.c:1076: warning: ISO C90 forbids mixed declarations and code >> >> gnulib still assumes C89 only. Here is a fix. >> >> Jim, OK to apply? > > That looks fine. > Yes, thanks. Thanks for checking it in. Howev

Re: fts.c doesn't compile with C89 compiler

2006-10-24 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: > Compiling coreutils-6.4 with gcc-4.1 and > > ./configure --prefix=/packages/gnu \ > CPPFLAGS="-Wall -Wformat=2 -Wmissing-field-initializers > -Wmissing-format-attribute -Wpointer-arith -Wstrict-aliasing=2 > -Wwrite-strings" \ > CFLAGS="-O2 -g -Wbad-fu

fts.c doesn't compile with C89 compiler

2006-10-24 Thread Bruno Haible
Hi, Compiling coreutils-6.4 with gcc-4.1 and ./configure --prefix=/packages/gnu \ CPPFLAGS="-Wall -Wformat=2 -Wmissing-field-initializers -Wmissing-format-attribute -Wpointer-arith -Wstrict-aliasing=2 -Wwrite-strings" \ CFLAGS="-O2 -g -Wbad-function-cast -Wdeclaration-after-statement" yiel