Hello.

Recent changes in FPC `main` led to the following errors when building some code in Lazarus tree:

Error: (3069) Call by var for arg no. xx has to match exactly: Got "ShortString" expected "AnsiString"

See:

https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40381

Note that the unit which fails to build has {$H-} directive.

Is it a bug in compiler?

--
Best regards,
 Maxim Ganetsky                  mailto:gan...@narod.ru

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to