Colorer will not compile with Fedora Core 3's GCC 3.4.2:
Making all in colorer
make[1]: Entering directory
`/usr/src/mod_highlight-0.1.0/colorer'
---------------- Building Colorer-take5 shared library
make -C src/libcolorer/ -f makefile.gcc
make[2]: Entering directory
`/usr/src/mod_highlight-0.1.0/colorer/src/libcolorer'
gcc -O2 -fPIC -Wl,-G
-Wp,-I../shared/,-I../shared/../zlib/,-w -
o ../colorer/objs/xmldom.o -c -s -D__unix__
--COLORER_FEATURE_HTTPINPUTSOURCE=FALSE
../shared/xml/xmldom.cpp
In file included from ../shared/xml/xmldom.h:5,
from ../shared/xml/xmldom.cpp:4:
../shared/common/Hashtable.h: In member function `T
Hashtable<T>::get
(const String*) const':
../shared/common/Hashtable.h:22: error: `capacity'
undeclared (first use
this function)
../shared/common/Hashtable.h:22: error: (Each
undeclared identifier is
reported only once for each function it appears in.)
../shared/common/Hashtable.h:23: error: `bucket'
undeclared (first use
this function)
../shared/common/Hashtable.h: In member function `T
Hashtable<T>::enumerate() const':
../shared/common/Hashtable.h:33: error: there are no
arguments to
`enumerate_int' that depend on a template parameter, so
a declaration of
`enumerate_int' must be available
../shared/common/Hashtable.h:33: error: (if you use
`-fpermissive', G++
will accept your code, but allowing the use of an
undeclared name is
deprecated)
This issue was discovered by a user of mod_highlight,
and has been assigned bug #19 on the OutOfOrder Bug
tracker:
http://bugs.outoforder.cc/view.php?id=19
Logged In: YES
user_id=313042
Fix is available at
http://lists.freebsd.org/pipermail/freebsd-ports/2004-
September/016227.html
Logged In: YES
user_id=296596
Is it possible to get a patch for FC? I'm not too good with
patches to begin with, but this applies to ports, doesn't it?
Logged In: YES
user_id=313042
The fix was included into the base colorer code more that
year ago. Latest take5-b4 contains it.