On 12/26/2017 12:40 AM, Dan Partelly wrote:
This is self evident. However, this was not the point of my post. My point was
to refute your statement that no C programmer would care about exceptions. If
what you say is true, how comes SEH was used so intensively on Windows by C
programmers , and how come many programmers homebreaw their own using
setjmp/longjmp to use it?
Standard C has always had setjmp/longjmp, so "exceptions" are part of the
language.
SEH is used on Windows because Microsoft designed the Windows API to pretty much
force people to use it. Its absence on every other OS suggests it is hardly that
desirable.