Re: Unable to compile in Visual C++

2009-06-23 Thread Luca
Joel E. Denny ha scritto: On Fri, 19 Jun 2009, Ewa Rom wrote: %{ int yylex(); void yyerror(char *s); #include "stdafx.h" #include #include #include #include #include #include #include #include #include "parser.hpp" #include "resource.h" nodeType *v(char s); nodeType *in(i

Re: Unable to compile in Visual C++

2009-06-20 Thread Joel E. Denny
On Fri, 19 Jun 2009, Hans Aberg wrote: > On 19 Jun 2009, at 19:22, Ewa Rom wrote: > > > 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? > > Do that, just to be sure The latest release is 2.4.1. ___

Re: Unable to compile in Visual C++

2009-06-20 Thread Joel E. Denny
On Fri, 19 Jun 2009, Ewa Rom wrote: > %{ > int yylex(); > void yyerror(char *s); > #include "stdafx.h" > #include > #include > #include > #include > #include > #include > #include > #include > #include "parser.hpp" > #include "resource.h" > > nodeType *v(char s); > nodeType *in

Re: Unable to compile in Visual C++

2009-06-20 Thread Hans Aberg
On 20 Jun 2009, at 18:11, Joel E. Denny wrote: On Fri, 19 Jun 2009, Hans Aberg wrote: On 19 Jun 2009, at 19:22, Ewa Rom wrote: 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? Do that, just to be sure The latest release is 2.4.1. A

Re: Unable to compile in Visual C++

2009-06-19 Thread Hans Aberg
On 19 Jun 2009, at 19:22, Ewa Rom wrote: 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? Do that, just to be sure, and the try the other advice, run it through the processor to see what that syntax error "missing ';' before '*'" comes

RE: Unable to compile in Visual C++

2009-06-19 Thread Ewa Rom
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: hab...@math.su.se > To: ewuni...@hotmail.com > Date: Fri, 19 Jun 2009 18:55:57 +0200 > CC: help-bison@gnu.org > Subject: Re: Unable to co

Re: Unable to compile in Visual C++

2009-06-19 Thread Hans Aberg
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) : er

Re: Unable to compile in Visual C++

2009-06-19 Thread Mary Ann O'Connor
Just a generic comment: Whenever I think I've defined something via an included header file, but get this type of error, I generate the preprocessor output to see what the compiler really is seeing. There might be some macro preventing the definition from really being included. -Mary Ann ---