[Lazarus] Lazarus trunc does not compile with fpc 2.6.4 Win32
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Jan 11 16:32:42 CET 2016
On Mon, 11 Jan 2016 16:13:49 +0100
Ondrej Pokorny <lazarus at kluug.net> wrote:
>[...]
> > xIconFiles|:=ChangeFileExt();
>[...]
> > Code completion needs a heuristic when to use String (or maybe
> > AnsiString) instead of RawByteString.
>
> I think it fails to find exact overloads.
There is no overload. There is only one definition:
{$define PathStr:=RawByteString}
function ChangeFileExt(const FileName, Extension: PathStr): PathStr;
Note to self: it would be nice if Find Declaration would jump to the
macro definition of PathStr.
Mattias
More information about the Lazarus
mailing list