bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Use AT_DATA_GRAMMAR for C++ compile test for variants


From: Paolo Bonzini
Subject: Re: [PATCH] Use AT_DATA_GRAMMAR for C++ compile test for variants
Date: Mon, 17 Nov 2008 14:20:17 +0100
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

Akim Demaille wrote:
>>>> "PB" == Paolo Bonzini <address@hidden> writes:
> 
>  > Akim Demaille wrote:
>  >> 
>  >> Le 17 nov. 08 à 01:42, Di-an JAN a écrit :
>  >> 
>  >>> This patch uses AT_DATA_GRAMMAR instead of AT_DATA for C++ compiled tests
>  >>> as requested by the comments to AT_DATA_GRAMMAR_PROLOGUE in
>  >>> tests/local.at.
> 
>  > I'm still having failures of 199 202 209 210 here...
> 
> Could you please send logs?  I don't have any failure.

Here they are, powerpc-apple-darwin8.11.0.

Paolo
#                             -*- compilation -*-
199. regression.at:956: testing ...
../../tests/regression.at:956: bison -o dancer.c dancer.y
../../tests/regression.at:956: bison -o dancer.cc dancer.y
../../tests/regression.at:956: $BISON_CXX_WORKS
stderr:
stdout:
../../tests/regression.at:956: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o dancer 
dancer.cc $LIBS
stderr:
dancer.y:59: error: expected ',' or '...' before '&' token
dancer.y:59: error: ISO C++ forbids declaration of 'location' with no type
dancer.y:59: error: prototype for 'void yy::parser::error(int)' does not match 
any in class 'yy::parser'
dancer.hh:147: error: candidate is: virtual void yy::parser::error(const 
std::string&)
dancer.y: In member function 'void yy::parser::error(int)':
dancer.y:61: error: 'm' was not declared in this scope
stdout:
../../tests/regression.at:956: exit code was 1, expected 0
199. regression.at:956: 199. Dancer %skeleton "lalr1.cc" (regression.at:956): 
FAILED (regression.at:956)
#                             -*- compilation -*-
202. regression.at:1056: testing ...
../../tests/regression.at:1056: bison -o expect2.c expect2.y
../../tests/regression.at:1056: bison -o expect2.cc expect2.y
../../tests/regression.at:1056: $BISON_CXX_WORKS
stderr:
stdout:
../../tests/regression.at:1056: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o expect2 
expect2.cc $LIBS
stderr:
expect2.y:30: error: expected ',' or '...' before '&' token
expect2.y:30: error: ISO C++ forbids declaration of 'location' with no type
expect2.y:30: error: prototype for 'void yy::parser::error(int)' does not match 
any in class 'yy::parser'
expect2.hh:144: error: candidate is: virtual void yy::parser::error(const 
std::string&)
expect2.y: In member function 'void yy::parser::error(int)':
expect2.y:32: error: 'm' was not declared in this scope
stdout:
../../tests/regression.at:1056: exit code was 1, expected 0
202. regression.at:1056: 202. Expecting two tokens %skeleton "lalr1.cc" 
(regression.at:1056): FAILED (regression.at:1056)
#                             -*- compilation -*-
209. c++.at:159: testing ...
../../tests/c++.at:160: bison -o input.cc input.y
../../tests/c++.at:160: $BISON_CXX_WORKS
stderr:
stdout:
../../tests/c++.at:160: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o input input.cc 
$LIBS
stderr:
input.y:30: error: expected unqualified-id before '&' token
input.y:30: error: expected ',' or '...' before '&' token
input.y:31: error: ISO C++ forbids declaration of 'parameter' with no type
input.y:31: error: prototype for 'void foo::parser::error(int)' does not match 
any in class 'foo::parser'
input.hh:149: error: candidate is: virtual void foo::parser::error(const 
std::string&)
input.y: In member function 'void foo::parser::error(int)':
input.y:33: error: 'loc' was not declared in this scope
input.y:33: error: 'msg' was not declared in this scope
stdout:
../../tests/c++.at:160: exit code was 1, expected 0
209. c++.at:159: 209. Relative namespace references (c++.at:159): FAILED 
(c++.at:160)
#                             -*- compilation -*-
210. c++.at:165: testing ...
../../tests/c++.at:166: bison -o input.cc input.y
../../tests/c++.at:166: $BISON_CXX_WORKS
stderr:
stdout:
../../tests/c++.at:166: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o input input.cc 
$LIBS
stderr:
input.y:30: error: expected unqualified-id before '&' token
input.y:30: error: expected ',' or '...' before '&' token
input.y:31: error: ISO C++ forbids declaration of 'parameter' with no type
input.y:31: error: prototype for 'void foo::parser::error(int)' does not match 
any in class 'foo::parser'
input.hh:149: error: candidate is: virtual void foo::parser::error(const 
std::string&)
input.y: In member function 'void foo::parser::error(int)':
input.y:33: error: 'loc' was not declared in this scope
input.y:33: error: 'msg' was not declared in this scope
stdout:
../../tests/c++.at:166: exit code was 1, expected 0
210. c++.at:165: 210. Absolute namespace references (c++.at:165): FAILED 
(c++.at:166)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]