[fpc-pascal] -Fu unit search path and network paths

LacaK lacak at zoznam.sk
Mon Sep 21 09:16:25 CEST 2020


>
>> Hi *,
>>
>> are supported in -Fu (unit search path) networks paths? i.e. 
>> -Fu\\server\share -Fu\\server\share\path ?
> Correction: unit cannot be found only if it is placed in "share root" 
> \\server\share !
> When is placed in \\server\share\path then it is found.
>
Addition:

when I use in *uses* clause:

use unit1 in '\\server\share\unit1.pas'

then *it works* also when I omit search path from -Fu (no search paths 
specified in Project Options)

strange, does not?

> Why?
>
>
>> When I am compiling project, which is located on local drive, but 
>> uses units from network, error is raised while compiling project file 
>> .lpr "Cannot find XYZ used by ..."
>> (when I map network path to drive letter then it works as expected)
>>
>> TIA
>>
>> -Laco.
>>
>> _______________________________________________
>> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
>> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


More information about the fpc-pascal mailing list