Graeme Geldenhuys schreef:
I don't know (have not tested) what FPC does with mode delphi though.

OK, just tested FPC modes objfpc and delphi. In both cases writeable
typed constants are allow by default. This is not compatible with
current Delphi compilers.

I still think this should be disable by default in both compiler modes -
after all, it's just a backward compatibility feature to Turbo Pascal days.

I disagree. It would be backwards incompatible with existing objfpc programs. That decision should have been made 10 (?) years ago, when mode objfpc was introduced.

Vincent
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to