[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Strange error when using included Object
From: |
Mike Rollins |
Subject: |
Strange error when using included Object |
Date: |
Tue, 11 Feb 2003 16:25:14 -0500 |
User-agent: |
KMail/1.4.3 |
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
- Strange error when using included Object,
Mike Rollins <=