Hi Nick,
this change requires a complete "make distclean; make" cycle. I've not yet traced why the build system does not handle this (it is one dictionary file that is not rebuild). Sorry for the inconvenience.
Cheers, Fons.
Nick West wrote:
> Hi Rootalk,
>
> I am having trouble building CVS head with gcc 3.2.3 on Scientific
> Linux SL Release 3.0.4:-
>
> g++ -g -o bin/root.exe main/src/rmain.o \
> -Llib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree
> -lMatrix -lRint -lm -ldl -pthread -rdynamic
> lib/libCore.so: undefined reference to `TQObject::TQObject(TQObject
> const&)'
> lib/libCore.so: undefined reference to `TList::TList(TList const&)'
>
> It is related to the withdrawal of the copy ctors and assignment
> operators for a number of classes including TQObject and TList:-
>
> date: 2006/07/26 13:36:42; author: rdm; state: Exp; lines: +9 -14
> Instead of providing default implementations for copy ctor's and
> assignment
> operators we better make them private (and not implemented) to avoid
> people
> from accidentally using them. Especially the collections classes and
> the
> TQObject derived classes. In these classes the default
> implementations would
> cause havoc due to multiple deletions of the same objects and other
> potential memory corruptions.
>
> Now I think I have wiped and recompiled all the .o files used to build
> libCore.so (although it takes .o files from a number of modules so I
> might have missed something). Do I need a clean rebuild or are we
> missing some code updates to sub-classes to disable their ctor's and
> assignment operators?
>
> Thanks,
>
> Nick West.
>
-- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers_at_cern.ch Phone: +41 22 7679248 WWW: http://fons.rademakers.org Fax: +41 22 7669640Received on Thu Jul 27 2006 - 14:03:01 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET