[lazarus] Win32 Code Analysis

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Sat Mar 31 03:32:11 EST 2001




On Fri, 30 Mar 2001, Jeff Wormsley wrote:

> On 03/31/2001 at 1:07 AM Michael.VanCanneyt at Wisa.be wrote:
>
> >And: The compiler does not name the files; it is the programmer that does
> >this.
>
> True, but if you type "Uses blahblah;" in your code, the compiler will
> look for blahblah.pp, not blahblah.pas.  It would be very nice if this
> were a command-line switch (if it is, it's one I've missed.)

It DOES look for blahblah.pas, but FIRST it searches for blahblah.pp

The compiler itself is written using '.pas' files, so this definitely works.


>
> >It is always up to the programmer to code compiler-independent, the compiler
> >should not enforce anything.
>
> True, although it is sometimes difficult where compiler features do not
> intersect.

Then these features should not be used. This is part of programming
compiler-independently...

Michael.






More information about the Lazarus mailing list