Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-02

vtUnicodeString

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Juha Manninen

LCLProc has procedure DebuglnThreadLog which refers to vtUnicodeString which doesn't compile with FPC 2.4.4.
It should be embedded in IFDEF. Is VER2_6 the right define? Like:

{$ifdef VER2_6}
    vtUnicodeString:
s:=AnsiString(UnicodeString(s)+UnicodeString(Args[i].VUnicodeString));
{$endif}

Juha

Reply by email

Mattias Gaertner
to Juha Manninen

Juha Manninen hat am 15. Februar 2012 um 18:15
geschrieben:

Show quoted text 8 lines
LCLProc has procedure DebuglnThreadLog which refers to vtUnicodeString which doesn't compile with FPC 2.4.4. It should be embedded in IFDEF. Is VER2_6 the right define? Like: {$ifdef VER2_6} vtUnicodeString: s:=AnsiString(UnicodeString(s)+UnicodeString(Args[i].VUnicodeString)); {$endif}

AFAIK 2.6 does not have it.

{$IF FPC_FULLVERSION>=20701}

Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120215/419a637b/attachment.html>

Reply by email

Juha Manninen
to Mattias Gaertner

Thanks, I added it in r35381.

Juha

2012/2/15, Mattias Gaertner :

Show quoted text 20 lines
Juha Manninen hat am 15. Februar 2012 um 18:15 geschrieben: > LCLProc has procedure DebuglnThreadLog which refers to vtUnicodeString > which doesn't compile with FPC 2.4.4. > It should be embedded in IFDEF. Is VER2_6 the right define? Like: > > {$ifdef VER2_6} > vtUnicodeString: > s:=AnsiString(UnicodeString(s)+UnicodeString(Args[i].VUnicodeString)); > {$endif} AFAIK 2.6 does not have it. {$IF FPC_FULLVERSION>=20701} Mattias

Reply by email

zeljko
to Mattias Gaertner: Juha Manninen hat am 15. Februar 2012 um 18:15 geschrieben: AFAIK 2.6 does not have it.…
Mattias Gaertner wrote 14 lines
Juha Manninen hat am 15. Februar 2012 um 18:15 geschrieben: > LCLProc has procedure DebuglnThreadLog which refers to vtUnicodeString > which doesn't compile with FPC 2.4.4. > It should be embedded in IFDEF. Is VER2_6 the right define? Like: > > {$ifdef VER2_6} > > vtUnicodeString: > s:=AnsiString(UnicodeString(s)+UnicodeString(Args[i].VUnicodeString)); > {$endif} AFAIK 2.6 does not have it.

But I don't have problems with building ide with 2.6.1

zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120216/8f089975/attachment.html>

Reply by email