[fpc-pascal] Excessive Recompiling: UPPER case files.

Peter Vreman peter at freepascal.org
Sun May 22 11:47:50 CEST 2005


At 10:06 22-5-2005, you wrote:
>Hi,
>
>Problem:
>On the FPC community boards a while ago, I posted some problems with 
>recompiling issues.
>When I was using the Synapse library, for some reason 10,000 lines of code 
>were being recompiled!
>
>Solution:
>The synapse files were in CAPS LOCK.. i.e. SYNASSL.PAS, SYNABLOCK.PAS
>When I renamed the files to lower case, everything does not recompile now. 
>No more 10,000 lines compilation!
>
>I thought that the uppercase was only an issue with eariler compilers? (I 
>haven't researched this.. just that
>lazarus told me "would you like to rename the file to lowercase for 1.0 
>compatability?".

If the compiler needs to search for a file it will use the following order:

1. OriginalCase
2. lowercase
3. UPPERCASE


Peter





More information about the fpc-pascal mailing list