<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 17, 2015 at 8:35 AM, Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""></span>
Because the 'package' idea does not exist in the compiler.<br>
It is an informal concept. The formal concept are... namespaces.<br></blockquote><div><br></div><div>Yep, that's exactly why it's directory based. Due to a practice of separating packages into a stand alone directory.<br></div><div>It's an idea to resolve the issue by using configuration rather than by changing the (existing/old) source code.<br></div><div><br>Or is it planned to identify a namespace by it's physical location? (through another configuration setting?)<br></div><div></div><br></div><div class="gmail_quote">On Tue, Nov 17, 2015 at 8:33 AM, Jonas Maebe <span dir="ltr"><<a href="mailto:jonas.maebe@elis.ugent.be" target="_blank">jonas.maebe@elis.ugent.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""></span>
It would be a special case hack that would not solve the general 
problem. E.g., the text mode ide doesn't compile on OS X, because it 
uses a "dialogs" unit and there's one in both freevision and univint.<span class=""></span><br></blockquote></div>Make the option to be per directory, but also per file?<br></div><div class="gmail_extra">(Something similar to delphi's  "uses  unit in 'filepath'?  but for search directories).<br></div><div class="gmail_extra"></div><div class="gmail_extra"></div><div class="gmail_extra"><br></div><div class="gmail_extra">off-topic: In the particular case of IDE for OSX, shouldn't macosall.pas be used? That should eliminate the need of univint/dialogs.pas<br><br></div><div class="gmail_extra">thanks,<br></div><div class="gmail_extra">Dmitry<br></div></div>