Bug in condicional directive SHOW_WARNING

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
personalsoft_fabiano
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: 13.02.2009, 18:55
Location: Americana/SP

Bug in condicional directive SHOW_WARNING

Post by personalsoft_fabiano »

If i enable the conditional directive SHOW_WARNING in Zeos.inc, the project doesn't compile.
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post 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
...
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Done, revisions 614 and 617.

Mark
Image
Post Reply