[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib: unknown option after '#pragma GCC diagnostic' ...
From: |
Bernhard Voelker |
Subject: |
Re: gnulib: unknown option after '#pragma GCC diagnostic' ... |
Date: |
Tue, 29 Nov 2011 10:20:38 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111101 SUSE/3.1.16 Thunderbird/3.1.16 |
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