[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils-bug
Subject:    Re: fts.c doesn't compile with C89 compiler
From:       Jim Meyering <jim () meyering ! net>
Date:       2006-10-24 12:56:04
Message-ID: 871wox3maj.fsf () rho ! meyering ! net
[Download RAW message or body]

Bruno Haible <bruno@clisp.org> 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-function-cast -Wdeclaration-after-statement" 
> yields a warning:
> 
> 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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic