From: Paolo Farinelli (paolo++at++sgi.com)
Date: 09/17/2003 15:29:45
Thank you faculaganymede and Peter for pointing this out.
It will be fixed in the next version of Performer (3.1).
Best Regards,
Paolo
faculaganymede wrote:
>Thank you, Peter.
>
>I was hoping that I did not need to modify the
>original pfvViewer.h file.
>
>
>--- Peter Krueger <pkrueger++at++appss.de> wrote:
>
>
>>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.
>>
>>
>>
>====================================================================
>
>
>
>
>=====
>Thanks,
>faculaganymede
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free, easy-to-use web site design software
>http://sitebuilder.yahoo.com
>
>-----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-----------------------------------------------------------------------
>
>
>
>
-- Paolo Farinelli paolo++at++sgi.com Member of Technical Staff, OpenGL Performer 1-650-933-1808 Silicon Graphics 1600 Amphitheatre Pkwy, Mountain View, CA 94043
This archive was generated by hypermail 2b29 : Wed Sep 17 2003 - 15:29:57 PDT