On Thu, Oct 2, 2014 at 6:13 PM, Jonas Maebe <jonas.ma...@elis.ugent.be> wrote:
> On 02/10/14 22:52, Brian wrote: > >> Conclusion : >> >> Using {$UNITPATH/home/some/*} in the main program DOES NOT WORK ! >> > > It behaves exactly as documented at http://www.freepascal.org/ > docs-html/prog/progsu121.html : > > "Note that this switch does not propagate to other units, i.e. it’s scope > is limited to the current unit." > > "unit" should be interpreted as "compilation unit" in this context. > > Jonas Correct. But it does not work fine if the path contains two or more units. E.g: {$unitpath path\to\the\all\units\of\the\synapse40\source\lib} "..\..\3rdparty\synapse40\source\lib\httpsend.pas(72,3) Fatal: Can't find unit blcksock used by httpsend." I tried too {$unitpath path\to\the\all\units\of\the\synapse40\source\lib\*}: "Can not find unit httpsend used by myunit." =( -- Silvio Clécio My public projects - github.com/silvioprog
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal