[info-performer] Re: info-performer Sep 16 2003

Date view Thread view Subject view Author view

From: Peter Krueger (pkrueger++at++appss.de)
Date: 09/17/2003 05:55:33


Hi faculaganymede,
I've seen this kind of warning message when the format specifier in the
printf's format string does not match the type of the
corresponding argument that is given in the argument list. I suppose this
is the same case here with pfNotify.
%x is used to print integers in HEX-notation but 'this' is of
type pointer. You can try to change the %x to %p in those
inline functions in pfvViewer.h.

Regards,
   Peter

> From: faculaganymede <faculaganymede++at++yahoo.com>
> Date: Tue, 16 Sep 2003 14:01:26 -0700 (PDT)
> Subject: [info-performer] IRIX-Performer: pfvViewer.h WARNINGS
>
> Hi All,
>
> When I compile my C++ Performer programs, I am keep
> getting a lot warning messages from the
> Performer/pfv/pfvViewer.h file, as shown below. The
> programs still build and run with no problems, but I'd
> like to get rid of the warning messages. Anyone know
> how? Is this a known problem in Performer?
>
> cc-1178 CC: WARNING File =
> /usr/include/Performer/pfv/pfvViewer.h, Line = 277
> Argument is incompatible with the corresponding
> format string conversion.
>
> virtual void preConfig(){
> pfNotify(PFNFY_NOTICE, PFNFY_PRINT,
> "pfvModule::preConfig(this=%x)\n",this); }
>
> ^
>
> cc-1178 CC: WARNING File =
> /usr/include/Performer/pfv/pfvViewer.h, Line = 278
> Argument is incompatible with the corresponding
> format string conversion.
>
> virtual void postConfig(){
> pfNotify(PFNFY_NOTICE, PFNFY_PRINT,
> "pfvModule::postConfig(this=%x)\n",this); }
>
> ^
>
> cc-1178 CC: WARNING File =
> /usr/include/Performer/pfv/pfvViewer.h, Line = 281
> Argument is incompatible with the corresponding
> format string conversion.
>
> pfNotify(PFNFY_NOTICE, PFNFY_PRINT,
> "pfvModule::enterView(this=%x,view=%x)\n",this, v);
>
> ^
> and many more...
>
> =====
> Thanks,
> faculaganymede
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com

-- 
====================================================================
Peter Krüger

applied software solutions (appss) GmbH Sandtorstr. 23 D-39106 Magdeburg Germany

Phone: +49-(0)391-54486-19388 Fax: +49-(0)391-54486-19222 email: krueger++at++appss.de URL: http://www.appss.de

Managing Director: Uwe Hess, Dietmar Schäfer Register: HRB12386, AG Mageburg

"Virtual business becomes reality!"

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ====================================================================


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Sep 17 2003 - 05:58:34 PDT