[fpc-pascal] Compiler Mode?

Michael Van Canneyt michael at freepascal.org
Wed Feb 24 13:15:20 CET 2016



On Wed, 24 Feb 2016, Maciej Izak wrote:

> 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...

As said, ours is an opinion. Your mileage may vary.

Michael.



More information about the fpc-pascal mailing list