Subject: | colorer/common/Hashtable.h |
perl, v5.8.5 built for i368-linux-thread-multi
CentOS release 4.1 (Final)
I tied
perl -MCPAN =e 'install Syntax::Highlight::Universal;'
but that errored out with the same thing so I tried the manual make dance and get the same error (I used gcc, g++, cc, c++ all with the same results)
This was also seen by the CPAN testers:
http://www.nntp.perl.org/group/perl.cpan.testers/190795
Any idea what I'm missing and what need sdone to get 'er going?
Thank you very much! :)
[root@yoda Syntax-Highlight-Universal-0.4]# perl Makefile.PL
Writing Makefile for Syntax::Highlight::Universal
[root@yoda Syntax-Highlight-Universal-0.4]# make
gcc -c -Icolorer -w -o Universal.o -O2 -DVERSION=\"0.4\" -DXS_VERSION=\"0.4\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" Universal.cpp
In file included from colorer/xml/xmldom.h:5,
from colorer/colorer/parsers/HRCParserImpl.h:4,
from CachingHRCParser.h:4,
from Universal.xs:9:
colorer/common/Hashtable.h: In member function `T Hashtable<T>::get(const String*) const':
colorer/common/Hashtable.h:22: error: `capacity' undeclared (first use this function)
colorer/common/Hashtable.h:22: error: (Each undeclared identifier is reported only once for each function it appears in.)
colorer/common/Hashtable.h:23: error: `bucket' undeclared (first use this function)
colorer/common/Hashtable.h: In member function `T Hashtable<T>::enumerate() const':
colorer/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
colorer/common/Hashtable.h:33: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
colorer/common/Hashtable.h: In member function `T Hashtable<T>::next() const':
colorer/common/Hashtable.h:42: error: there are no arguments to `next_int' that depend on a template parameter, so a declaration of `next_int' must be available
colorer/common/Hashtable.h: In member function `const T* HashtableWOnulls<T>::get(const String*) const':
colorer/common/Hashtable.h:64: error: `capacity' undeclared (first use this function)
colorer/common/Hashtable.h:65: error: `bucket' undeclared (first use this function)
colorer/common/Hashtable.h: In member function `T* HashtableWOnulls<T>::enumerate() const':
colorer/common/Hashtable.h:75: error: there are no arguments to `enumerate_int' that depend on a template parameter, so a declaration of `enumerate_int' must be available
colorer/common/Hashtable.h: In member function `T* HashtableWOnulls<T>::next() const':
colorer/common/Hashtable.h:82: error: there are no arguments to `next_int' that depend on a template parameter, so a declaration of `next_int' must be available
make: *** [Universal.o] Error 1
[root@yoda Syntax-Highlight-Universal-0.4]#