[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fts.c doesn't compile with C89 compiler
From: |
Jim Meyering |
Subject: |
Re: fts.c doesn't compile with C89 compiler |
Date: |
Tue, 24 Oct 2006 14:56:04 +0200 |
Bruno Haible <address@hidden> 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.