[C/C++/Fortran] remove pedwarn0 and warning0 and fix PR 36901

Manuel López-Ibáñez lopezibanez@gmail.com
Tue Aug 5 09:34:00 GMT 2008


2008/8/4 Joseph S. Myers <joseph@codesourcery.com>:
> On Mon, 4 Aug 2008, Manuel López-Ibáñez wrote:
>
>> * locate_old_decl now always prints "note: previous definition of %q+D
>> was here" instead of "error:" or "warning:".
>
> This function should no longer need the G_ in the inform calls that it did
> when they were calls through a function pointer: inform is declared with a
> parameter called gmsgid so these strings should be automatically extracted
> for translation.

Updated patch. Bootstrapped and regression tested using Paolo's patch
with no new failures.

The Changelog is the same as in the original patch.

OK for trunk?

Cheers,

Manuel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-pr36901.diff
Type: text/x-diff
Size: 52071 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080805/15a41307/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-pr36901-testsuite.diff
Type: text/x-diff
Size: 47460 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080805/15a41307/attachment-0001.bin>


More information about the Gcc-patches mailing list