[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Unable to compile in Visual C++
From: |
Ewa Rom |
Subject: |
RE: Unable to compile in Visual C++ |
Date: |
Fri, 19 Jun 2009 13:22:14 -0400 |
Hans,
The bison.exe is 2.4.1.3411
I run it on Win XP HE Version 2002 SP3
Do you recommed going to bison 2.6?
Thank you
Ewa
> From: address@hidden
> To: address@hidden
> Date: Fri, 19 Jun 2009 18:55:57 +0200
> CC: address@hidden
> Subject: Re: Unable to compile in Visual C++
>
> On 19 Jun 2009, at 17:38, Ewa Rom wrote:
>
> > I'm writing my Master thesis that includes a parser. I chose to use
> > Flex and Bison to help me with this and include the parser into my
> > Visual C++ project.
> ...
> > Then I try to build the project and I get the following error:
> >
> > 1>CoProveParser.y(28) : error C2143: syntax error : missing ';'
> > before '*'
> >
> > 1>CoProveParser.y(28) : error C4430: missing type specifier - int
> > assumed. Note: C++ does not support default-int
> >
> > 1>CoProveParser.y(28) : error C4430: missing type specifier - int
> > assumed. Note: C++ does not support default-int
>
> It might be due to a bug in an older Bison version - you do not say
> which one you are using. Try to get hold of a later one (I don't know
> about your OS). Also see the example here for how the C++ code should
> be structured in later versions:
> http://lists.gnu.org/archive/html/help-bison/2009-05/msg00040.html
>
> Hans
>
>
>
>
> _______________________________________________
> address@hidden http://lists.gnu.org/mailman/listinfo/help-bison
Windows Live helps you keep up with all your friends, in one place.
_________________________________________________________________
Attention all humans. We are your photos. Free us.
http://go.microsoft.com/?linkid=9666046
Re: Unable to compile in Visual C++, Joel E. Denny, 2009/06/20