Package: flex Version: 2.5.35
I compiled 2.5.35 from source. When I run ‘make check’ two of the checks fail. The two errors and the contents of the files follows. · Executing test test-c++-multiple-scanners · Test test-c++-multiple-scanners FAILED. See test-c++-multiple-scanners/OUTPUT for details. test-c++-multiple-scanners/OUTPUT:: make[5]: Entering directory `/nm/users/ans/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 `/nm/users/ans/flex-2.5.35/tests/test-c++-multiple-scanners' · Executing test test-c++-basic · Test test-c++-basic FAILED. See test-c++-basic/OUTPUT for details. test-c++-basic/OUTPUT: make[5]: Entering directory `/nm/users/ans/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 `/nm/users/ans/flex-2.5.35/tests/test-c++-basic' I am using RHEL 5.5 and gcc 4.6.0. ----------------------------------------- This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you.