Compiler warnings

New Message Reply Date view Thread view Subject view Author view

Christopher R Volpe (volpe++at++ash.crd.ge.com)
Fri, 30 Aug 1996 10:39:22 -0400


Hi folks-
  Got a really newbie question for ya:

I'm compiling a performer application in an Onyx iR running Irix 6.2
with Performer 2.1. The C++ compiler seems a bit overly paranoid about
what it's finding in some of the performer header files. I'm using
makefiles and compiler options based on the provided sample code. Here's
what I get:

        /usr/bin/CC -nostdinc -I/usr/include/CC
-I/usr/include -mips3 -64 -O -MDupdate Makedepend -xansi -Dirix6 -c
../main.C
"/usr/include/Performer/pf/pfFrameStats.h", line 428: warning(1681):
          "void pfFrameStats::copy(const pfFrameStats *, uint, uint,
uint)"
          does not match "pfMemory::copy" -- virtual function override
          intended?
      void copy(const pfFrameStats *_prev, uint _dstBufSel, uint
_srcBufSel, uint _which) {
           ^
  
Why is it warning about pfFrameStats overloading the copy function
inherited from pfMemory? Is that such an uncommon thing to do that the
compiler should warn about it by default?

thanks,
Chris

--

Chris Volpe Phone: (518) 387-7766 GE Corporate R&D Fax: (518) 387-6560 PO Box 8 Email: volpecr++at++crd.ge.com Schenectady, NY 12301 Web: http://www.crd.ge.com/~volpecr ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:26 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.