help-gplusplus
[Top][All Lists]
Advanced

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

Re: Crossplatform and templates


From: Andre Poenitz
Subject: Re: Crossplatform and templates
Date: Mon, 10 Oct 2005 22:45:45 +0200

ernesto <ebasconp@gmail.com> wrote:
> [...]
> Ok, my code works perfectly with Visual C++ 8.0, but when I compile it
> using mingw and gcc 3.4.1 on another platforms (like FreeBSD), it
> returns me a lot of non deleted objects.
> 
> Using the gdb, I noticed that sometimes the destructor of the
> referenced object is not called from my MPtr<T>::~MPtr().
> 
> Are there some "liberties" working with Visual C++ 8 that are no part
> of the standard C++? A gcc bug? A "good luck bug" from me? 

Hard to tell without seeing any actual code.

Andre'


reply via email to

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