bug-bison
[Top][All Lists]
Advanced

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

bison v1.49a and gcc v3.1


From: Bernd Prager
Subject: bison v1.49a and gcc v3.1
Date: Sat, 25 May 2002 13:19:39 -0400

 
I have bison v1.49a and gcc v3.1. I run "bison -S bison.c++ test.y"
without complains but the compiler reports afterwards:

test.yy.hh:102: ISO C++ forbids declaration of `yyltype' with no type
test.yy.hh:102: parse error before `;' token
test.yy.hh:116: ISO C++ forbids declaration of `LocationType' with no type
test.yy.hh:116: cannot declare member `yy::Traits<yy::Parser>::LocationType'
   within `yy::Parser'
test.yy.hh:116: parse error before `;' token
test.yy.hh:120: `LocationType' was not declared in this scope
test.yy.hh:120: template argument 1 is invalid
....

Is this still a bug or did I forget something?

Thanks for any help,
-- Bernd

reply via email to

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