Re: [Stlport-devel] Compile error at call to new in _construct.h with GCC 3.4.3 for Symbian
Brought to you by:
complement
From: Ulrich E. <eck...@sa...> - 2007-03-05 10:45:43
|
On Monday 05 March 2007 10:38, Timo Steuerwald wrote: >> ..//..//stlport/stl/_construct.h:129: error: no matching function for >> call to `operator new(unsigned int, char*&)' >> /Symbian/UIQ3SDK/EPOC32/INCLUDE/GCCE/..\symcpp.h:21: note: candidates >> are: void* operator new(unsigned int) >> /Symbian/UIQ3SDK/EPOC32/INCLUDE/GCCE/..\symcpp.h:25: >> note:void* operator new(unsigned int, const std::nothrow_t&) [...] > The only thing I have found was this posting on the forum [1], but I > currently don't know how exactly this macro should be defined. Any clues? > > Cheers > Timo > > [1] http://sourceforge.net/forum/message.php?msg_id=3D3544882 It might not be immediately obvious, but the posting refers to a feature of= =20 MFC that replaces 'new' with a macro that redirects it to a debug version o= f=20 new that can track the place where some (leaked) memory was allocated. Try= =20 this: #if defined(new) # error "new is a macro!" #endif to rule out that this is the case for you. Uli --=20 Sator Laser GmbH Gesch=E4ftsf=FChrer: Ronald Boers Steuernummer: 02/892/02900=20 Amtsgericht Hamburg HR B62 932 USt-Id.Nr.: DE183047360 ***************************************************************************= *********** Visit our website at <http://www.satorlaser.de/> ***************************************************************************= *********** Diese E-Mail einschlie=DFlich s=E4mtlicher Anh=E4nge ist nur f=FCr den Adre= ssaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benach= richtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empf= =E4nger sein sollten. Die E-Mail ist in diesem Fall zu l=F6schen und darf w= eder gelesen, weitergeleitet, ver=F6ffentlicht oder anderweitig benutzt wer= den. E-Mails k=F6nnen durch Dritte gelesen werden und Viren sowie nichtautorisie= rte =C4nderungen enthalten. Sator Laser GmbH ist f=FCr diese Folgen nicht v= erantwortlich. ***************************************************************************= *********** |