[go: up one dir, main page]

Menu

#73 Compile Error with GCC 3.4.2

colorer-take5
closed-fixed
General (16)
7
2005-02-18
2005-01-19
Paul Querna
No

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

Discussion

  • Paul Querna

    Paul Querna - 2005-01-19
    • labels: --> General
    • milestone: --> colorer-take5
    • priority: 5 --> 7
    • assigned_to: nobody --> lomecb
     
  • Igor Russkih

    Igor Russkih - 2005-02-18
    • status: open --> closed-fixed
     
  • till

    till - 2006-03-30

    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?

     
  • Igor Russkih

    Igor Russkih - 2006-03-31

    Logged In: YES
    user_id=313042

    The fix was included into the base colorer code more that
    year ago. Latest take5-b4 contains it.

     

Log in to post a comment.