What is the status of usability when using --exceptions:goto?

I'm using C++ but I haven't bothered to port exceptions and turned them off for 
the time being. That leaves me forced to use other exception mechanisms but 
they seem to have problems.

when using --exceptions:setjmp I always get this error:

`lib\system\excpt.nim(585, 12) Error: only a 'ref object' can be raised`

when I use --exceptions:goto I end up with a lot of
    
    
    cannot jump from this goto statement to its label
            if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
                                        ^
    ....
          jump bypasses variable initialization
    
    
    Run

Shouldn't setjmp at least always work since it is the most simple and brute 
force to implement exceptions? What is the status of goto exceptions together 
with C++? 

Reply via email to