14 May
2007
14 May
'07
10:52 p.m.
Ron Garret wrote:
On May 14, 2007, at 12:39 PM, Ron Garret wrote:
First, I would like to correct an earlier claim: I thought that - fno-exceptions was the default configuration, but it's not. When I specify -fno-exceptions and try to use a callback that throws an exception I get a bus error.
Meta-correction: it's an "abort trap", not a bus error.
What's that? Sounds like an unhandled exception to me.
That's exactly what happens with uncaught exceptions (the throw `escaped' all the way out of the run-time). Not sure if every system reports it as an abort trap, but at least OS X does. Fang