3 ms·
Doesn't GCC support multiple exception handling options?
by cogman10 5y ago
Doesn't GCC support multiple exception handling options?
- zabzonk 5y agoI'm not sure what your point is - mine was that the original post is specifically about GCC, not Standard C++.
- deleted 5y ago[deleted]
- cogman10 5y agoMainly that exception handling doesn't have a single solution, even in GCC. I'm agreeing with you that this article only highlights one version of exception handling for one compiler. There's also potential operating system involvement that's not really covered in this article.
- gumby 5y ago“Standard C++” just specifies `throw` and `catch` (plus what happens when you traverse a block, nothrow declaration etc) Every implementation has to do something to actually be standard C, and this is an example. It’s rather similar on other hardware, but as far as the standard goes that is irrelevant.
- mhh__ 5y agoI'm not sure exactly what you mean but there was a switch to DWARF EH ages ago (GCC 2?)
- account42 5y agosjlj is still supported, at least on some platforms, e.g. MinGW.