On Wednesday, June 22, 2005 at 13:47, Jim Meyering wrote: > > > > I get that warning without both -W and -Wall, I think. > > (gcc 3.3.6) > > I've tried with the following versions of gcc on x86_64-unknown-linux-gnu: > gcc-3.3 (GCC) 3.3.6 (Debian 1:3.3.6-6) > gcc-3.4 (GCC) 3.4.5 20050605 (prerelease) (Debian 3.4.4-0) > gcc-4.0 (GCC) 4.0.1 20050522 (prerelease) (Debian 4.0.0-9) > > and see that warning only with -W.
Strange! Is -W somehow turned on by default? $ gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c quotearg.c quotearg.c: In function `quotearg_n_options': quotearg.c:586: warning: comparison is always false due to limited range of data type $ gcc -DHAVE_CONFIG_H -I. -I. -I.. -c quotearg.c quotearg.c: In function `quotearg_n_options': quotearg.c:586: warning: comparison is always false due to limited range of data type $ ../config.guess x86_64-unknown-linux-gnu $ gcc --version gcc (GCC) 3.3.6 (Debian 1:3.3.6-6) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ Regards, Oskar Liljeblad ([EMAIL PROTECTED]) _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib