|
|
Re: CppUnit link failure for TmpClass destructor [message #76172 is a reply to message #75430] |
Thu, 17 July 2003 15:09 |
Eclipse User |
|
|
|
Originally posted by: alain.nowhere.ca
John Camelon wrote:
> File a defect under bugzilla.
Good answer.
Another question who is responsible and will keep track of this ?
Martin ? Doug ?
> "Dan" <murphy@elvis.com> wrote in message news:bejqe9$2uq$1@eclipse.org...
> > Hello,
> >
> > I ran into a problem when compiling a simple auto generated TestFixture.
> > Below is the error I am getting from the make process:
> >
> > make -k testTest
> > g++ testTest.cpp
> >
> /tools/eclipse/2.1/eclipse/plugins/org.eclipse.cdt.cppunit_1 .1.0/lib/RemoteT
> estRunner.cpp
> > -I/usr/local/include test.cpp -o testTest /usr/local/lib/libcppunit.a
> >
> /tmp/ccDQf05K.o(.gnu.linkonce.d.__vt_Q316RemoteTestRunner46s endTree__16Remot
> eTestRunnerPQ27CppUnit4Test.0_8TmpClass+0x8):
> > undefined reference to
> >
> `RemoteTestRunner::sendTree__16RemoteTestRunnerPQ27CppUnit4T est.0::TmpClass:
> :~TmpClass(void)'
> > collect2: ld returned 1 exit status
> > make: *** [testTest] Error 1
> >
> > I did modify RemoteTestRunner::sendTree::TmpClass by adding the destructor
> > the linker was complaining about. After doing so, everything appears to be
> > working well. Has anyone else seen this? I would not expect this to be
> > normal operating procedure.
> >
> > OS=Red Hat Linux 7.3
> > PROC=i686
> > Eclipse=2.1.1
> > Build=200306181400
> > CDT=1.1.0
> > Build=200305150256
> > CppUnit=1.1.0
> >
> > Regards,
> >
> > Dan
> >
|
|
|
Powered by
FUDForum. Page generated in 0.03312 seconds