[CLN-list] Overriding read_number_bad_syntax on OS X
Ron Garret
ron at flownet.com
Mon May 14 22:54:22 CEST 2007
On May 14, 2007, at 1:48 PM, Richard B. Kreckel wrote:
> 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.
>
Nope. It's the same client code in both cases, and it handles the
exceptions. But when cln is compiled with -fno-exceptions it does this:
Ciel: c
Illegal number syntax: "c"
terminate called after throwing an instance of 'int'
Abort trap
[ron at mickey:~/devel/ciel]$
I have no idea what is actually going on under the hood here. I
don't write much C++ code and this is the first time I've ever seen
this.
rg
More information about the CLN-list
mailing list