This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR c/30949 "incompatible pointer type" warning does not point to declaration
On Thu, Aug 28, 2008 at 12:09 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> On Thu, 28 Aug 2008, Manuel López-Ibáñez wrote:
>
>> 2008/8/28 Joseph S. Myers <joseph@codesourcery.com>:
>> >
>> > This is OK if you verify that the message in the inform call within the
>> > macro definition does get properly extracted into gcc.pot when gcc.pot is
>> > regenerated. (You do not need to check in the regenerated gcc.pot.)
>>
>> In gcc.pot there is:
>>
>> #. This macro is used to emit diagnostics to ensure that all format
>> #. strings are complete sentences, visible to gettext and checked at
>> #. compile time.
>> #: c-typeck.c:3962
>> #, gcc-internal-format
>> msgid "expected %qT but argument is of type %qT"
>> msgstr ""
>>
>> Is that OK?
>
> Yes.
>
I believe this patch caused
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37271
--
H.J.