Akim Demaille <[email protected]> wrote:
> To be installed in master.
> [...]
Sorry for not catching this earlier, but this breaks a test
for me:
| # -*- compilation -*-
| 273. c++.at:457: testing Syntax error as exception ...
| ./c++.at:520: bison -o input.cc input.yy
| ./c++.at:521: $BISON_CXX_WORKS
| stderr:
| stdout:
| ./c++.at:521: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o input input.cc $LIBS
| stderr:
| input.yy: In function 'int main()':
| input.yy:65: error: 'getenv' was not declared in this scope
| stdout:
| ./c++.at:521: exit code was 1, expected 0
| 273. c++.at:457: 273. Syntax error as exception (c++.at:457): FAILED
(c++.at:521)
input.yy:65 is
"parser.set_debug_level(!!getenv("YYDEBUG"));". There is
another use of getenv() in c++.at that passes, which sug-
gests that one of the #includes there in turn includes the
<cstdlib> or <stdlib.h> ("stdlib" doesn't occur in the test-
suite directory for the passing tests).
Tim