Re: [info-performer] Strange pfMemory error

Date view Thread view Subject view Author view

From: Tom Flynn (flynnt++at++gmail.com)
Date: 07/12/2004 17:52:11


you're compiling with g++ and did a #define PF_C_API 1 before
including the performer headers right?
-tom

On Sun, 11 Jul 2004 21:10:19 -0500, Alan Gifford
<ag-devel++at++houston.rr.com> wrote:
> I'm getting this when I try to compile (I'm using Performer 3.1.1,
> compiling with gcc 3.2.2 on Slackware Linux):
>
> /usr/include/Performer/pf.h:581: prototype for `int pfMemory::copy(void*,
> void*)' does not match any in class `pfMemory'
> /usr/include/Performer/pr/pfMemory.h:245: candidates are: static int
> pfMemory::copy(void*, const void*)
> /usr/include/Performer/pr/pfMemory.h:115: virtual int
> pfMemory::copy(const pfMemory*)
> /usr/include/Performer/pf.h:581: declaration of `int pfMemory::copy(void*,
> void*)' outside of class is not definition
> /usr/include/Performer/pf.h:704: declaration of `static int
> pfMemory::unrefDelete(void*)' outside of class is not definition
> /usr/include/Performer/pf.h:705: declaration of `static int
> pfMemory::unrefDeleteFromData(void*)' outside of class is not definition
> /usr/include/Performer/pf.h:706: declaration of `static int
> pfMemory::checkDelete(void*)' outside of class is not definition
> /usr/include/Performer/pf.h:707: declaration of `static int
> pfMemory::checkDeleteFromData(void*)' outside of class is not definition
>
> It seems like the kind of error that might be caused by differences in
> using the C versus C++ API (both of which I'm using), but I can't figure
> out what's wrong. Hopefully someone here has seen this before and can
> help me out.
>
> Thanks a bunch!
>
> Alan
>
> -----------------------------------------------------------------------
> 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
> -----------------------------------------------------------------------
>
>


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Jul 12 2004 - 17:59:48 PDT