[Issues] [mod_highlight 0000019]: Colorer compile error with GCC 3.4.2
issues at outoforder.cc
issues at outoforder.cc
Tue Oct 10 16:52:18 EDT 2006
A NOTE has been added to this issue.
======================================================================
http://issues.outoforder.cc/view.php?id=19
======================================================================
Reported By: chip
Assigned To: chip
======================================================================
Project: mod_highlight
Issue ID: 19
Category: Colorer Related
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Apache Version: 2.0.XX
======================================================================
Date Submitted: 01-18-2005 21:56 EST
Last Modified: 10-10-2006 16:52 EDT
======================================================================
Summary: Colorer compile error with GCC 3.4.2
Description:
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)
======================================================================
----------------------------------------------------------------------
chip - 01-18-05 22:02
----------------------------------------------------------------------
Submitted Upstream to Colorer:
https://sourceforge.net/tracker/index.php?func=detail&aid=1104975&group_id=34855&atid=413324
----------------------------------------------------------------------
nikolasco - 10-10-06 16:52
----------------------------------------------------------------------
This seems to be fixed with beta4.
In src/ColorerFilter.cpp, the call baseEditor.validate(-1) now requires a
second argument. Looking at the docs, I think it's irrelevant in this
case, but baseEditor.validate(-1, false) seems like an okay choice (and
it appears to work)
Issue History
Date Modified Username Field Change
======================================================================
01-18-05 21:56 chip New Issue
01-18-05 21:56 chip Apache Version => 2.0.XX
01-18-05 22:02 chip Note Added: 0000030
10-10-06 16:52 nikolasco Note Added: 0000082
======================================================================
More information about the Issues
mailing list