Hey guys,
When compiling on Alpha with the gcc 2.96 to be 3.0, which has stricter
C++ checking, I get the following errormessages (0.61.1):
Blackbox:
c++ -DHAVE_CONFIG_H -I. -I. -I.. -DSHAPE -DSLIT -DINTERLACE -DNLS -DTIMEDCA
In file included from BaseDisplay.hh:32,
from BaseDisplay.cc:42:
LinkedList.hh:53: friend declaration requires class-key, i.e. `friend
class __llist'
LinkedList.hh:76: friend declaration requires class-key, i.e. `friend
class __llist_iterator'
In file included from BaseDisplay.hh:33,
from BaseDisplay.cc:42:
Timer.hh:50: friend declaration requires class-key, i.e. `friend class
BaseDisplay'
make[2]: *** [BaseDisplay.o] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/blackbox-0.61.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/blackbox-0.61.1'
make: *** [all-recursive-am] Error 2
I know that one could go on babbling about the evil of that gcc version,
but please don't. Fixing this bug, would make life easier when gcc 3.0
comes out.
If anyone have patches to fix this, I would love to have a copy.
Thanks,
Mads Martin
--
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic and
totally illogic, with just a little bit more effort."
-- A. P. J.