help-gplusplus
[Top][All Lists]
Advanced

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

Re: Linker error with mit gc++ 3.2 (works with VC++ 7.1)


From: Paul Pluzhnikov
Subject: Re: Linker error with mit gc++ 3.2 (works with VC++ 7.1)
Date: 29 Apr 2004 07:39:53 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

kaspar@gmx.ch (kaspar) writes:

> E:\oop\goose\goose.obj(.text+0x872):goose.cpp: undefined reference to
> `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
...
> Any ideas why I get these errors?

What was your link command?

Chances are you used 'gcc' to compile and link.

Don't do that, use 'g++' instead. Contrary to popular belief, they
are not the same.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

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