[fpc-devel] Is -Sx supposed to be equivalent to {$modeswitch exceptions}?

Bruce Bauman bruce.bauman at andesaservices.com
Tue Aug 10 20:14:34 CEST 2010


The compiler help message says that -Sx "Enables exception keywords",
but if I use -Sx along with a try/except block I get:

Error: identifier not found "try"

If I instead use {$modeswitch exceptions} it works fine. (I'm compiling
in FPC mode).

Is this the expected behavior?

Thanks.

-- Bruce
CONFIDENTIALITY NOTICE: This e-mail is confidential and intended
solely for the use of the individual or entity to which it is addressed.  If
you are not the intended recipient, be advised that you have received 
this email in error and that any use, dissemination, forwarding, printing 
or copying of this e-mail is strictly prohibited. If you received this e-mail
in error, please delete it from your computer and contact the sender.




More information about the fpc-devel mailing list