leomayleomay
June 28th, 2007, 07:51 AM
I've downloaded the latest cppunit-1.12.0 from sourceforge. When compiling the solution under debug static mode, several Link warnings were raised, here are the warning messages:
warning C4793: 'virtual-call thunks are native with /clr' : causes native code generation for function 'CppUnit::TestFixture::`vcall'{4}''
warning C4793: 'virtual-call thunks are native with /clr' : causes native code generation for function 'CppUnit::TestFixture::`vcall'{8}''
warning C4793: 'virtual-call thunks are native with /clr' : causes native code generation for function 'CppUnit::TestCase::`vcall'{48}''
warning LNK4221: no public symbols found; archive member will be inaccessible
Anyone run into these warnings before, or anyone can provide hints about the correct way of configuring Cppunit under VS2005, thanks a lot, it's very urgent.
warning C4793: 'virtual-call thunks are native with /clr' : causes native code generation for function 'CppUnit::TestFixture::`vcall'{4}''
warning C4793: 'virtual-call thunks are native with /clr' : causes native code generation for function 'CppUnit::TestFixture::`vcall'{8}''
warning C4793: 'virtual-call thunks are native with /clr' : causes native code generation for function 'CppUnit::TestCase::`vcall'{48}''
warning LNK4221: no public symbols found; archive member will be inaccessible
Anyone run into these warnings before, or anyone can provide hints about the correct way of configuring Cppunit under VS2005, thanks a lot, it's very urgent.