On 11/29/2011 10:11 AM, Jim Meyering wrote: > Bernhard Voelker wrote: >> Since gnulib commit 69f517e5975418e7b2c5033f8f60191919f44b9d, >> a coreutils build fails when --enable-gcc-warnings is enabled: >> >> CC propername.o >> cc1: warnings being treated as errors >> propername.c:21:10: error: unknown option after '#pragma GCC >> diagnostic' kind [-Wpragmas] >> >> The same applies to quotearg.c:24:10 (since >> 9e62d63e086644da90db03c16907e5c7bb5a42cb). > > Thanks for the report. > Fixed like this in gnulib. > I'll pull the latest gnulib into coreutils later today.
Thanks, it works. Reporting with `gcc --version` output would've made live easier for you, sorry. Just for the record, it was: gcc (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585] Have a nice day, Berny