Error installing on Lazarus 1.1
Moderators: gto, EgonHugeist, olehs
Error installing on Lazarus 1.1
Hi all !
I just upgraded Lazarus & Zeos7 and can't compile ZeosLib, I have fallowing error :
../ZAbstractDataset.pas(476,13) Error: Incompatibile types: got "AnsiString" expected "Pointer"
BM := Bookamark;
../ZAbstractDataset.pas(484,19) Error: Incompatibile types for arg no. 1: got "Pointer", expected "AnsiString"
BookMark:=BM;
os: Ubuntu 11.04 32bit
I have clean install of Lazarus 1.1 latest svn & fpc 2.6.1 Zeos7 latest svn testing-egonhugeist.
(performed build clean all etc ...)
On other computer i try to install trunk but with the same error ...
I just upgraded Lazarus & Zeos7 and can't compile ZeosLib, I have fallowing error :
../ZAbstractDataset.pas(476,13) Error: Incompatibile types: got "AnsiString" expected "Pointer"
BM := Bookamark;
../ZAbstractDataset.pas(484,19) Error: Incompatibile types for arg no. 1: got "Pointer", expected "AnsiString"
BookMark:=BM;
os: Ubuntu 11.04 32bit
I have clean install of Lazarus 1.1 latest svn & fpc 2.6.1 Zeos7 latest svn testing-egonhugeist.
(performed build clean all etc ...)
On other computer i try to install trunk but with the same error ...
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
patyit,
Lazarus isn't the problem here. Which means you can use the 1.1 Snapshot + FPC2.6.0.
The fpc 2.6.1 and 2.7+ are making trouble actually, that i know for sure from our german users.
Zeos isn't the problem here.
Michael
Lazarus isn't the problem here. Which means you can use the 1.1 Snapshot + FPC2.6.0.
The fpc 2.6.1 and 2.7+ are making trouble actually, that i know for sure from our german users.
Zeos isn't the problem here.
Michael
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
In 2.6.1 the old situation has been restored, and "bookmark" property is of type bookmarkstr again.
In 2.7.1 the situation is D2009+, bookmark property is of type TBytes.
The 2.7.1 situation will be merged to the 2.6 series only AFTER 2.6.2, to give depending projects more time to adjust.
Compared to 2.6.0 both 2.6.1 and 2.7.1 have changed buffer pointers to TRecordBuffer, but the definition of Trecordbuffer is still pansichar. (not pbyte, like in D2009+). Again to give some time for adjustment.
In 2.7.1 the situation is D2009+, bookmark property is of type TBytes.
The 2.7.1 situation will be merged to the 2.6 series only AFTER 2.6.2, to give depending projects more time to adjust.
Compared to 2.6.0 both 2.6.1 and 2.7.1 have changed buffer pointers to TRecordBuffer, but the definition of Trecordbuffer is still pansichar. (not pbyte, like in D2009+). Again to give some time for adjustment.
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
Realy strange, Marco. The Bookmark handling is exacly the same, which you have introduced in \testing. No differences. Other peoples have the same trouble with the 2.x.1 releases and \trunk or \testing.
How did you manage this? The patch of miab3 seems for me possibilty one. The second: you have undifined the WITH_TBOOKMARK define in the Zeos/Lazarus.inc! No way around. Or did you patch something i don't know about?
Michael
How did you manage this? The patch of miab3 seems for me possibilty one. The second: you have undifined the WITH_TBOOKMARK define in the Zeos/Lazarus.inc! No way around. Or did you patch something i don't know about?
Michael
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
Please keep your versioning straight. 2.6.1 and 2.7.1 are _totally_ different things (with 1376 SVN commits not merged from 2.7.1 to 2.6.1)EgonHugeist wrote:Realy strange, Marco. The Bookmark handling is exacly the same, which you have introduced in \testing. No differences. Other peoples have the same trouble with the 2.x.1 releases and \trunk or \testing.
2.7.1 has tbookmark in D2009 style, 2.6.1 not. Both are "running" versions that change by the day. Such a version without a date indication is essentially useless.
There is not much to manage; Zeos SVN is clean (no files edited). FPC 2.7.1 was built from source yesterday.How did you manage this?
zeoslazarus.inc contains:
{$IF FPC_FULLVERSION>20600} // will be introduced in 2.6.2 (and up to date 2.6.1)
{$DEFINE WITH_TRECORDBUFFER}
{$DEFINE WITH_TBOOKMARK} // Have TBookmark
{$IFEND}
Which is correct for 2.7.1, but not for 2.6.1 (should be changed too > 20602 probably, since merging has been postponed to AFTER 2.6.2 instead of before). Commmitted this to zeoslib testing r1286
I've no idea, unless miab3 is mixing up versions or using severely outdated ones. Or there are differences between egon and testing.The patch of miab3 seems for me possibilty one. The second: you have undifined the WITH_TBOOKMARK define in the Zeos/Lazarus.inc! No way around.
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
Nope, no differences concerning the TBookmark. Absolutly the same.
Trank you for that *.inc update. I'll merge it to egon this evening too or you do it.
Michael
Trank you for that *.inc update. I'll merge it to egon this evening too or you do it.
Michael
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/