[fpc-devel]Issues with GDB on Mac OS X with mixed case file

rstar at mnet-online.de rstar at mnet-online.de
Sun Aug 29 15:49:09 CEST 2004


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 <peter at freepascal.org> 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  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>




More information about the fpc-devel mailing list