[info-performer] Strange pfMemory error

Date view Thread view Subject view Author view

From: Alan Gifford (ag-devel++at++houston.rr.com)
Date: 07/11/2004 19:10:19


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


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sun Jul 11 2004 - 19:10:56 PDT