El 17/05/17 a les 16:48, Mattias Gaertner via Lazarus ha escrit:
On Wed, 17 May 2017 16:34:14 +0200
Luca Olivetti via Lazarus <lazarus@lists.lazarus-ide.org> wrote:
[...]
Is this version still supposed to work with fpc 2.6.4?
OK, I see now that it doesn't build with fpc 2.6.4 :-(
Fixed.
The Lazarus devels only support the last two FPC releases, which means
3.0.0 and 3.0.2.
But as long as FPC 2.6.4 only needs a few IFDEFs, patches are welcome.
Here's another one. Not sure it's correct but the dialog seems to be
working fine
Index: components/codetools/ide/codyidentifiersdlg.pas
===================================================================
--- components/codetools/ide/codyidentifiersdlg.pas (revision 54949)
+++ components/codetools/ide/codyidentifiersdlg.pas (working copy)
@@ -1366,7 +1366,7 @@
NewY: integer;
NewTopLine: integer;
CurUnit: TUDUnit;
- MainPath: RawByteString;
+ MainPath: {$IF FPC_FULLVERSION < 30000} string {$ELSE} RawByteString
{$ENDIF};
function OpenDependency: boolean;
// returns false to abort
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus