I am converting a windows application from Delphi to Lazarus (Lazarus version 0.9.22 - FPC 2.0.4). To do this I am compiling from the command line. I receive one odd behavior and one odd error.

Here is the output from the compilation
   ...
   Compiling Monitor.pas
   Compiling Main.pas
   Compiling Units.pas
   Compiling Zone.pas
   Compiling Log.pas
   Compiling Main.pas
   Compiling Units.pas
   Compiling Zone.pas
   Compiling Main.pas
   Compiling Units.pas
   Compiling Links.pas
   Compiling Main.pas
   Compiling Units.pas
   Fatal: Can't find unit WholeNumber
   Fatal: Compilation aborted


As you can see, the odd behavior is that various units are compiled more than once. The odd error is that on the third compilation of 'Units.pas' it can't find the unit 'WholeNumber.pas' that is specified in the interface uses clause.

Can someone tell me what I am doing wrong?

Regards,
Andreas

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to