This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR c/30949 "incompatible pointer type" warning does not point to declaration


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.

-- 
Joseph S. Myers
joseph@codesourcery.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]