[fpc-pascal] Writeable typed constants - what's the point?

Vincent Snijders vsnijders at vodafonevast.nl
Thu Jun 18 11:02:41 CEST 2009


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



More information about the fpc-pascal mailing list