[lazarus] circular unit reference

Darek Mazur darekm at emadar.com
Fri Nov 14 14:44:39 EST 2003


Hi
with today snapshot of Lazarus there is problem with compiling with FPC1.9

compiler show error:

messages.pp(35,33) Fatal: Circular unit reference between MESSAGES and 
LMESSAGES

problem is with unit lMessages in section USES

{$ifdef win32}
{$ifndef ver1_0}
,messages
{$endif ver1_0}
{$endif win32}

I think is not need, no one declaration from MESSAGES is used if LMESSAGES
and this cause curcular unit reference
this should be change MESSAGES to WINDOWS:

{$ifdef win32}
{$ifndef ver1_0}
,windows
{$endif ver1_0}
{$endif win32}

Darek








More information about the Lazarus mailing list