[Flex-devel] make check fails on Fedora 15
flex is a tool for generating scanners
Brought to you by:
wlestes
From: John P. H. <jph...@gm...> - 2011-10-29 08:53:51
|
On a clean install of Fedora 15 with GCC and Bison, make check fails two c++ test cases, both because the EOF macro is undefined (the unicode quotes use by gcc are messe up here): make[5]: Entering directory `/usr/src/flex-2.5.35/tests/test-c++-basic' ../../flex -+ scanner.l g++ -c -o scanner.o -I. -I../.. -I../.. -g -O2 scanner.cpp scanner.cpp: In member function ‘int testFlexLexer::yyinput()’: scanner.cpp:1125:14: error: ‘EOF’ was not declared in this scope make[5]: *** [scanner.o] Error 1 make[5]: Leaving directory `/usr/src/flex-2.5.35/tests/test-c++-basic' make[5]: Entering directory `/usr/src/flex-2.5.35/tests/test-c++-multiple-scanners' ../../flex -+ scanner-1.l g++ -c -o scanner-1.o -I. -I../.. -I../.. -g -O2 scanner-1.cpp scanner-1.cpp: In member function ‘int S1_FlexLexer::yyinput()’: scanner-1.cpp:1156:14: error: ‘EOF’ was not declared in this scope make[5]: *** [scanner-1.o] Error 1 make[5]: Leaving directory `/usr/src/flex-2.5.35/tests/test-c++-multiple-scanners' |