[fpc-devel] RE $MODE Delphi

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Tue Nov 29 16:54:48 CET 2011


On Tue, Nov 29, 2011 at 4:14 PM, Thaddy <thaddy at thaddy.com> wrote:
> So, much like $mode objfpc extends the syntax let $mode delphi restrict the
> syntax.
> There is a case to make that f.e. the C style operators and the macro
> facilities belong to $mode objfpc anyway.
> Or am I wrong here?
> Or is there value in it?

mode delphi is used in a huge amount of code, so any break in
backwards compatibility here would be extremely unwelcome. It surely
would break a lot of code that I wrote.

But yes, $mode strictdelphi looks like a good idea if you want to implement it.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list