Bug in condicional directive SHOW_WARNING
Moderators: gto, EgonHugeist
-
- Fresh Boarder
- Posts: 15
- Joined: 13.02.2009, 18:55
- Location: Americana/SP
Bug in condicional directive SHOW_WARNING
If i enable the conditional directive SHOW_WARNING in Zeos.inc, the project doesn't compile.
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
...
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
...