> Check character cases and check that the file is not under a
> subdirectory.

That was the cause! The files are named Class_xxx.pas but in
the uses clause they were listed as class_xxx!
I set the case in the uses list the same as the file name and
then it worked!

But only partly because now the compiler stops with a very strange 
complaint!
It says that I have duplicate identifiers, when in fact I have not!

Here is an example from a class definition section:

  property Xmin: double read GetXmin;
  function Scale(Xmin, Xmax, Ymin, Ymax: Double; bSame: boolean): boolean;

I get an error because of a duplicate identifier on the function 
line because the property is named the same as the argument to 
the function! This makes no sense at all to me. Why would this
be an error??? This unit compiles fine in Delphi7.

What is going on?

--
Bo B


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to