One other topic: Why there are *.pp files? The handling is always very nonpractical and boring. Should we rename them to *.pas?



Peter Vreman wrote:

At 14:00 29-8-2004, you wrote:

On Sat, 28 Aug 2004 22:26:08 +0200 (CEST)
Peter Vreman <[EMAIL PROTECTED]> wrote:

> > However, I found the problem and a possible solution. In globals.pas
> > there are three FindFile routines, namely: TSearchPathList.FindFile,
> > FindFile, and FindFilePchar.
> >
> > All routines contain roughly the same code snippet:
>
> Fixed
Does this mean the folowing is not true anymore?
// FPC searches first lowercase, then keeping case, then uppercase
FYI: This is a comment for the lazarus/main.pp.


Below is the mail i wrote for updating the fpc docs:


I've updated the search order of files. It is now:

For case sensitive systems (and windows):

NormalCase
lowercase
UPPERCASE


For non-case sensitive systems

lowercase


What does this mean. When you have a 'uses Hello' the compiler will first
look for a Hello.pp/.pas file. When the file HEllo.pas exists it will not
be found. So for the mixed case the uses line will be case-sensitive. This
is Kylix compatible.


Peter


_______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel


_______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to