On 2015-04-03 10:39, Michael Van Canneyt wrote: > you just change one option -Fu/GUI/LCL to 2: -Fu/GUI -NLCL > I don't see much added value in that.
Other possibly (more useful) usage would be reducing the generic unit name clashes. eg: How common is the unit name constants.pas? Very common. So when using various libraries that all could contain a unit named constants.pas, using namespaces means we can easily get around the unit name clash issue. ps: I've never used namespaces in any of my projects, but I sure can see a use for it. Beyond the "flatten directory hierarchy" example I mentioned earlier. ps #2: Unit namespace clashing is exactly why fpGUI uses the fpg_* unit name format. Because my first attempt of FP* and fpg* clashed with units included with FPC. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal