On Fri, 2009-05-15 at 15:31 +0200, Johnny Willemsen wrote: > > > This looks a real major issue, if try/catch doesn't work then a lot > > of C++ > > > programs (including TAO) don't work. > > > > It looks like we end up in the default exception handler, see > > src/gcc/libstdc++-v3/docs/html/18_support/howto.html > > Its source is in > > src/gcc/libstdc++-v3/libsupc++/vterminate.cc > > Would the gcc/mingw people have an idea where to search?
It appears to be a DLL issue : when I compile with -static, the test program does work (on ARM). Johnnym, can you test on x86 ? Danny pavilion: {925} arm-mingw32ce-g++ -g -static -o excepttest.exe excepttest.cpp pavilion: {926} rcp excepttest.exe ipaq:/temp pavilion: {927} rsh ipaq /temp/excepttest throw catch pavilion: {928} ls -l excepttest.exe -rwxrwxr-x 1 danny danny 206951 2009-05-15 16:47 excepttest.exe pavilion: {929} arm-mingw32ce-g++ -g -o excepttest.exe excepttest.cpp Info: resolving vtable for __cxxabiv1::__class_type_infoby linking to __imp__ZTVN10__cxxabiv117__class_type_infoE (auto-import) /opt/mingw32ce/lib/gcc/arm-mingw32ce/4.1.0/../../../../arm-mingw32ce/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from auto-imported DLLs. pavilion: {930} rcp excepttest.exe ipaq:/temp pavilion: {931} rsh ipaq /temp/excepttest throw terminate called after throwing an instance of 'Except' pavilion: {932} ls -l excepttest.exe -rwxrwxr-x 1 danny danny 56044 2009-05-15 16:48 excepttest.exe -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel