[lazarus] CVS updates

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Sep 5 12:39:50 EDT 2002


On Thu, 05 Sep 2002 18:27:56 +0200
Michal Bukovjan <bukovjan at mbox.dkm.cz> wrote:

> >Tried, but it worked. 
> >
> >TReader searches for classes in the published variables of the form. If for some reason the IDE fails to add 'Memo1: TMemo' to the source, you will get the above error, when running the program. The IDE has a component class database, so it can load forms without source.
> >
> Ha! I found the bug.
> 
> 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 ...


Mattias






More information about the Lazarus mailing list