Re: [fpc-pascal] uses myunit in '../src/myunit.pas' ?

2017-02-11 Thread Tim Veldhuizen
Indeed, I can confirm Delphi does this. I think since 2009 or XE or so, but AFAIK it doesn't need to. It does it only for the files that are explicitly added to the project, but those are also in the dproj file. And it would compile just fine without explicitly referring to the files in the dpr

Re: [fpc-pascal] uses myunit in '../src/myunit.pas' ?

2017-02-11 Thread Lars
On Sat, February 11, 2017 5:56 am, Fred van Stappen wrote: > > Unit names are considered to be unique, so strictly, for the compiler > there is no need to specify the path explicitly in code when the unit path > is given to the compiler when calling it from the command line. > > To do this, use the

Re: [fpc-pascal] uses myunit in '../src/myunit.pas' ?

2017-02-11 Thread Fred van Stappen
Hello Tim. OK, many thanks for your light. Fre;D De : fpc-pascal-boun...@lists.freepascal.org de la part de Tim Veldhuizen Envoyé : samedi 11 février 2017 06:04 À : fpc-pascal@lists.freepascal.org Objet : Re: [fpc-pascal] uses myunit in '../src/myunit.pas' ? Unit names are considered to