patch: Disable exceptions when compiler doesn't support them.

Stefan Seefeld stefan at codesourcery.com
Thu Sep 7 04:19:34 UTC 2006


The attached patch allows the library to detect when the icl doesn't
support exceptions (i.e. when -GX or equivalent is not used) and makes
it use vsip::impl::fatal_exception() instead.
Additionally, the latter now also reports the call-site.

I have tested with 'icl -GX' as well as with 'icl' and got the
desired results.

OK to check in ?

Thanks,
		Stefan

-- 
Stefan Seefeld
CodeSourcery
stefan at codesourcery.com
(650) 331-3385 x718
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-exception.patch
Type: text/x-patch
Size: 2674 bytes
Desc: not available
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20060907/e1b74f1d/attachment.bin>


More information about the vsipl++ mailing list