help-bison
[Top][All Lists]
Advanced

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

Re: Strange error when using included Object


From: Mike Rollins
Subject: Re: Strange error when using included Object
Date: Tue, 11 Feb 2003 17:05:45 -0500
User-agent: KMail/1.4.3

Doh, forget it, I think I just found the problem.  It helps to update you 
Makefile, huh?

<blush>

Mike

On Tuesday 11 February 2003 04:25 pm, Mike Rollins wrote:
> Whenever I attempt to create an object from an included file (here, it's
> called "TokenStack") I get the following error:
>
> /tmp/ccup0g6N.o:  In function '__static_initialization_and_destruction_0':
> /.../parser.y:24:  undefined reference to
> 'TokenStack::TokenStack[in-charge]()'
>
> I'm using Bison 1.875a and I'm compiling with the following options:
>
> g++ -Wno-deprectation y.tab.c lex.yy.c -lm -ly -g -o parser
>
> Is this a problem with bison, or something with g++?
>
> Thanks,
>
> Mike
>
>
> _______________________________________________
> address@hidden http://mail.gnu.org/mailman/listinfo/help-bison





reply via email to

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