[fpc-devel] Scalar value is accepted as an argument for anopenarray parameter

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Jun 11 16:05:01 CEST 2012

Alexander Klenin wrote on Mon, 11 Jun 2012:

[passing single elements as open array parameters]
> Given the above, I suggest to leave Delphi mode as is,
> and forbid scalar values in FPC mode.

We can probably add a modeswitch that you can use to explicitly  
disable this type conversion.


More information about the fpc-devel mailing list