[fpc-pascal] Compiler Mode?

Maciej Izak hnb.code at gmail.com
Wed Feb 24 13:10:38 CET 2016


2016-02-24 12:48 GMT+01:00 Anthony Walter <sysrpl at gmail.com>:

> On another forum a Free Pascal user opined that {$MODE DELPHI} is wrong
> and should not be used other than for people or companies trying to convert
> Delphi code to Free Pascal.
>
> What's the official position on this point?
>

Delphi is IMO the best available mode. ObjPas is unusable for me for many
reasons, few of them:

* Different parsing of comments
* Unlogical approach for static; modifier (I can't use static methods as
callback in objfpc... the main reason of introducing static in Delphi is
callback for api...)
* I cant use the same name for class var and for parameter in method
http://bugs.freepascal.org/view.php?id=24963
* generic and specialize keyword hell in extensively used generics...

-- 
Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160224/08467c72/attachment.html>


More information about the fpc-pascal mailing list