[Lazarus] Codetools fails to compile under WinCE

Martin Frb lazarus at mfriebe.de
Sat Apr 26 13:12:33 CEST 2014

On 26/04/2014 11:10, Mattias Gaertner wrote:
>> and thus whenever it is included in a
>> WinCE project the following error pops up upon compilation:
>> .../lazarus-svn/components/codetools/fileprocs.pas(287,10) Error:
>> Forward declaration not solved
>> "dbgMemRange(PByte;LongInt;LongInt="0"):AnsiString;"
>> dbgMemRange is defined in:
>> - lclproc.pas
>> - LazLoggerIntf.inc
>> - fileprocs.pas
>> LazLoggerIntf.inc is included in lazlogger.pas, lazloggerdummy.pas and
>> lozloggerbase.pas.
>> As FileProcs uses LazLogger, it sees its definition of dbgMemRange.
>> The same project compiles well under Linux and Win32. Any ideas?
> Sounds like a compiler bug.
> I changed a few implementations to redirect to the LazLogger functions.
> Please test.
My guess would have been that PByte (more likely than integer) was 
redefined in something in the "uses" in implementation.

More information about the Lazarus mailing list