Hi,
A small reproducer is attached, gives on our x86 target:
throw
terminate called after throwing an instance of 'Except'
Johnny
> Are there any known problems with C++ exceptions?
>
> We have a test that throws a C++ exception which we catch higher up in
> the
> call chain. We now see with CEGCC x86 the following output.
>
> Johnny
>
>
> \network\temp\ACE_wrappers\tests> Reactor_Exceptions_Test
>
> Reactor_Exceptions_Test
> terminate called after throwing an instance of 'Except'
> \network\temp\ACE_wrappers\tests> Using iBoot: 10.2.0.147:80
> iBoot is currently: OFF
>
> auto_run_tests_finished: tests/Reactor_Exceptions_Test Time:92s
> Result:0
> Error (log/Reactor_Exceptions_Test.log): no line with 'Ending'
> ======= Begin Log File
> May 14 20:38:26.259 2...@lm_debug@(85065734|85131270) Starting
> Reactor_Exceptions_Test test at Thu May 14 2009 20:38:26.262000
> May 14 20:38:26.283 2...@lm_debug@Starting tracing
> May 14 20:38:26.344 2...@lm_debug@Activity occurred on handle 7!
> May 14 20:38:26.345 2...@lm_debug@got buf = Hello
> May 14 20:38:26.347 2...@lm_debug@(85065734|92667910) throw exception
> ======= End Log File
> Using iBoot: 10.2.0.147:80
> iBoot is currently: OFF
> auto_run_tests: tests/Reactor_Notify_Test
> Using iBoot: 10.2.0.147:80
> iBoot is currently: OFF
> iBoot is currently: ON
> Opening telnet connection <10.2.0.83:23>
> Welcome to the Windows CE Telnet Service on WindowsCE
>
>
>
> -----------------------------------------------------------------------
> -------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances!
> Your
> production scanning environment may not be a perfect world - but thanks
> to
> Kodak, there's a perfect scanner to get the job done! With the NEW
> KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Cegcc-devel mailing list
> Cegcc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
#include <stdio.h>
class Except {};
static void
throw_exception (void)
{
printf ("throw\n");
throw Except ();
}
int main (int, char* argv[])
{
try
{
throw_exception();
}
catch (...)
{
}
}
------------------------------------------------------------------------------
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