> Currently fpc 2.3.1 cannot build lazarus anymore. It fails on lines like
> MyStream.Write(' ',1);
>
> The write method is declared as
> function Write(const Buffer; Count: Longint): Longint
>
> Why isn't passing literal constant to a formal const parameter allowed
> anymore?
1. It is passed by value and not by reference.
2. You don't know the size of the value.
3. It is delphi compatible
Peter
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal