Skip Menu |

This queue is for tickets about the Syntax-Highlight-Universal CPAN distribution.

Report information
The Basics
Id: 43885
Status: resolved
Priority: 0/
Queue: Syntax-Highlight-Universal

People
Owner: Nobody in particular
Requestors: mpelzer [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.4
Fixed in: (no value)



Subject: Does not compile under Linux (Slackware Slamd64 12.1.0)
cc -c -Icolorer -w -o Universal.o -O2 -DVERSION=\"0.4\" -DXS_VERSION=\"0.4\" -fPIC "-I/usr/local/lib/perl5/5.10.0/x86_64-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' was not declared in this scope colorer/common/Hashtable.h:23: error: 'bucket' was not declared in this scope 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' was not declared in this scope colorer/common/Hashtable.h:65: error: 'bucket' was not declared in this scope 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
Should be fixed now in 0.5. On Thu Mar 05 13:27:20 2009, MPELZER wrote: Show quoted text
> cc -c -Icolorer -w -o Universal.o -O2 -DVERSION=\"0.4\" > -DXS_VERSION=\"0.4\" -fPIC > "-I/usr/local/lib/perl5/5.10.0/x86_64-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' was not declared in > this scope > colorer/common/Hashtable.h:23: error: 'bucket' was not declared in > this scope > 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' was not declared in > this scope > colorer/common/Hashtable.h:65: error: 'bucket' was not declared in > this scope > 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 >