Page 1 of 1

Bug in condicional directive SHOW_WARNING

Posted: 28.03.2009, 21:33
by personalsoft_fabiano
If i enable the conditional directive SHOW_WARNING in Zeos.inc, the project doesn't compile.

Posted: 29.03.2009, 14:43
by seawolf
Open ..\src\component\ZPropertyEditor.pas

Add bold lines (tested with D2009)

..
uses
Types, Classes, ZClasses, ZCompatibility, ZDbcIntfs,
{$IFDEF BDS4_UP}
WideStrings,
{$ENDIF}
{$IFDEF SHOW_WARNING}
ZMessages,
{$ENDIF SHOW_WARNING}
{$IFNDEF FPC}
DesignIntf, DesignEditors;
{$ELSE}
PropEdits;
{$ENDIF}

type
...

Posted: 02.04.2009, 22:45
by mdaems
Done, revisions 614 and 617.

Mark