[fpc-devel] {$I %LINE%} and friends

Daniël Mantione daniel.mantione at freepascal.org
Fri Apr 29 12:02:35 CEST 2011



Op Fri, 29 Apr 2011, schreef michael.vancanneyt at wisa.be:

>> I wonder why FPC broke Delphi compatibility by adding {$MODE}, instead of 
>> choosing its own prefix for added compiler directives and macros.
>
> Because it would mean yet another kind of directive, this is confusing.

My take on it is that if Delphi aborts on it, that is a Delphi problem. A 
compiler should warn, not abort, at a unknown directive.

Daniël


More information about the fpc-devel mailing list