help-bison
[Top][All Lists]
Advanced

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

bison 1.49a g++ 3.1


From: Bernd Prager
Subject: bison 1.49a g++ 3.1
Date: Tue, 21 May 2002 19:37:13 -0400

Hi,
I just started to explore bison with c++.
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?
Can somebody tell me what I'm doing wrong?

Thanks for any help,
-- Bernd





reply via email to

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