Re: BSD/Mac-only crash on throwing unspecified exceptions?

2016-12-17 Thread Damjan Jovanovic
According to http://stackoverflow.com/a/13088009 it's the use of -fno-enforce-eh-specs, which GCC supports and main/solenv/gbuild/platform/linux.mk uses, but freebsd.mk and macosx.mk don't use and can't use because Clang apparently doesn't support it. This is a major issue. If support can't be

Re: BSD/Mac-only crash on throwing unspecified exceptions?

2016-10-18 Thread Patricia Shanahan
On 10/18/2016 11:41 AM, Damjan Jovanovic wrote: Hi On FreeBSD, and (according to 1 bug reporter) MacOS X, throwing an exception from a method which isn't specified by that method's exception specifier, eg. "throw Exception();" when the specifier was "throw(RuntimeException)", ends up calling

BSD/Mac-only crash on throwing unspecified exceptions?

2016-10-18 Thread Damjan Jovanovic
Hi On FreeBSD, and (according to 1 bug reporter) MacOS X, throwing an exception from a method which isn't specified by that method's exception specifier, eg. "throw Exception();" when the specifier was "throw(RuntimeException)", ends up calling unexpected() and crashing. I've fixed 2 bugs with