Hi, I have a slight problem with a BUNCH of warnings when compiling
programs with OpenInventor and the -Wall flag to g++. I get heaps and
heaps of :
In file included from /usr/local/include/Inventor/errors/SoDebugError.h:62,
from /usr/local/include/Inventor/nodes/SoSubNode.h:97,
from /usr/local/include/Inventor/nodes/SoGroup.h:60,
from /usr/local/include/Inventor/nodes/SoSeparator.h:59,
from protdata.c++:8:
/usr/local/include/Inventor/errors/SoError.h:185: warning: `class SoError' \
has virtual functions but non-virtual destructor
If I use Coin I don't get those errors and their solution seems to be
simple :
<from /usr/local/include/Inventor/errors/SoError.h, Coin version>
virtual ~SoError() { } // Kill g++ compiler warnings.
Any reason not to do something similar with OI ? I can't find any
destructors whatsoever in SoError.h
Right now the only thing keeps me from switching to Coin is the man
pages... They're absolutely indispensable to me, I simply can't prize
them enough.
(I know, I could always snatch the man pages from OI and stick to Coin,
but that's kinda cheating isn't it? ;-)
So, can I hope for a cvs update soon ?
Sincerely,
--
Ole-Morten Duesund
----------------------------------------------------------------------
____________________________________________________________________
/\ \
\_| God created a few perfect heads. The rest he covered with hair. |
| |
| _______________________________________________________________|_
\_/_________________________________________________________________/
|