[antlr-interest] c++ compilation error

Altuð Bayram altugbayram_2000 at yahoo.com
Fri Mar 8 07:03:32 PST 2002


Hi,
I'm trying to build c++ lib of antlr-2.7.2a2 on Linux 2.4.x with gcc 3.x
And compiler given following error:

Building CharScanner.o
In file included from CharScanner.cpp:33:
../antlr/CharScanner.hpp: In member function `virtual int
   antlr::CharScanner::toLower(int) const':
../antlr/CharScanner.hpp:407: `tolower' undeclared (first use this function)
../antlr/CharScanner.hpp:407: (Each undeclared identifier is reported only once
   for each function it appears in.)
make[4]: *** [CharScanner.o] Error 1

Building MismatchedCharException.o
In file included from MismatchedCharException.cpp:33:
../antlr/CharScanner.hpp: In member function `virtual int
   antlr::CharScanner::toLower(int) const':
../antlr/CharScanner.hpp:407: `tolower' undeclared (first use this function)
../antlr/CharScanner.hpp:407: (Each undeclared identifier is reported only once
   for each function it appears in.)
make[4]: *** [MismatchedCharException.o] Error 1

Building NoViableAltForCharException.o
In file included from ../antlr/NoViableAltForCharException.hpp:37,
                 from NoViableAltForCharException.cpp:33:
../antlr/CharScanner.hpp: In member function `virtual int
   antlr::CharScanner::toLower(int) const':
../antlr/CharScanner.hpp:407: `tolower' undeclared (first use this function)
../antlr/CharScanner.hpp:407: (Each undeclared identifier is reported only once
   for each function it appears in.)
make[4]: *** [NoViableAltForCharException.o] Error 1

Altuð Bayram



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list