Index: uno2cpp.cxx =================================================================== RCS file: /cvs/udk/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx,v retrieving revision 1.2 diff -c -r1.2 uno2cpp.cxx *** uno2cpp.cxx 28 Apr 2003 16:29:07 -0000 1.2 --- uno2cpp.cxx 8 Jul 2003 20:26:35 -0000 *************** *** 82,87 **** --- 82,89 ---- namespace CPPU_CURRENT_NAMESPACE { + void dummy_can_throw_anything( char const * ); + //================================================================================================== static void callVirtualMethod( void * pThis, sal_Int32 nVtableIndex, *************** *** 97,102 **** --- 99,107 ---- OSL_ENSURE( (sizeof(void *) == 4) && (sizeof(sal_Int32) == 4), "### unexpected size of int!" ); OSL_ENSURE( nStackLongs && pStackLongs, "### no stack in callVirtualMethod !" ); + + // never called + if (! pThis) dummy_can_throw_anything("xxx"); // address something volatile long o0 = 0, o1 = 0; // for register returns volatile double f0d = 0;