ernesto <[EMAIL PROTECTED]> 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' _______________________________________________ Help-gplusplus mailing list Help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus