[lazarus] CVS updates

David Creelman dave at geko.net.au
Fri Sep 6 03:57:50 EDT 2002


Hi Guys,

Delphi actually gives an error on loading the form, something like
'TBlah not defined in TThisForm.pas' with a dialog offering yes, no,
cancel (I think). Can something like this be done ? The user needs to
know that the form and the pas are out of date, irrespective of .pp .pas
issues.

Cheers
DC

On Fri, 2002-09-06 at 03:14, Mattias Gaertner wrote:
> 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.
> 
> 
> Mattias
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives







More information about the Lazarus mailing list