[Lazarus] Lazarus trunc does not compile with fpc 2.6.4 Win32

Michael Van Canneyt michael at freepascal.org
Mon Jan 11 17:02:29 CET 2016



On Mon, 11 Jan 2016, Dmitry Boyarintsev wrote:

> On Mon, Jan 11, 2016 at 10:32 AM, Mattias Gaertner <
> nc-gaertnma at netcologne.de> wrote:
>
>> There is no overload. There is only one definition:
>>
>> {$define PathStr:=RawByteString}
>>
> why not
> type
>  PathStr= RawByteString; ?

Poor mans generics, re-reading the same include file with different definition of
{$define PathStr:=RawByteString}

Michael.




More information about the Lazarus mailing list