[lazarus] CVS updates
nc-gaertnma at netcologne.de
Thu Sep 5 13:10:12 EDT 2002
On Thu, 5 Sep 2002 18:49:41 +0200 (CEST)
marcov at stack.nl (Marco van de Voort) wrote:
> > >
> > > Playing with default extensions, I recently switched from .pas to .pp.
> > > So in my /tmp directory, both unit1.pas and unit1.pp existed, unit1.pas
> > > was obsolete, but still there, and when compiling, unit1.pas took
> > > precedence over unit1.pp - therefore this error.
> > >
> > > So question is, how to solve this? This will potentially confuse users...
> > 1. Add a checkbox to the environment options to automatically remove ambigious pascal files on save.
> > 2. Before compiling, all project files are checked for ambigious files and warnings are added to the messages.
> > This is quite easy, I will do that ...
> Note that FPC prefers pp over pas!
The IDE now deletes ambigious pascal files. If the filename is unit1.pp then it will delete unit1.pas and the other way around.
More information about the Lazarus