Re: Trapping RTS faults

Adriaan van Os <[email protected]> Mon, 14 Mar 2016 16:29:54 +0100
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
Paul Isaacs wrote:
> Hello,
> 
> The Trap unit traps system faults but does not seem to catch RTS errors 
> ( index out of range, etc. ). Is there a way to trap RTS faults so that 
> something like ncurses can be closed down properly?

The version for Mac OS X has been patched to trap RTS faults, so it should work there. If you use
another platform, you can have a look at the patch.

Regards,

Adriaan van Os



_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc