This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
collect2: ld returned 1 exit status
- From: "learning c++" <learning_c at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 12 Sep 2004 11:03:39 +0300
- Subject: collect2: ld returned 1 exit status
- Bcc:
Hi, everyone:
I compiled a program and the result is:
Expr::~Expr [in-charge]()
collect2: ld returned 1 exit status
In my program, I defined the a class "Expr" and constructor "Expr"
class Expr
{
int val1;
int val2;
char op;
static int value(char c);
public:
Expr(string const&);
int operator () () const;
void print(ostream& useStream) const;
~Expr();
};
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail