Page 1 of 1

Query AutoComplete gives error

Posted: 14.09.2018, 07:10
by DreamDancer
Latest SVN, Win7 32+64, Lazarus 1.8.4 FPC 3.0.4:
A TQuery: if I type the "." which usually leads to the list of possible procedures/functions
now the following error occurs:
ZAbstractRODataset.pas(178,59) Error: Bezeichner nicht gefunden: TWideDataSet
Removing the $IF DECLARED(TWideDataSet) and only leave the $Else part, all works fine again.

Re: Query AutoComplete gives error

Posted: 14.09.2018, 08:56
by Fr0sT
Looks like a bug in Lazarus. It evaluates the condition wrongfully while FPC compiles fine.

https://bugs.freepascal.org/view.php?id=30109

Likely we'll have to return WITH_WIDEDATASET define :( moreover, more nice IF DECLARED conditions probably could break too.