[fpc-pascal] Namespaces Support
FabrÃcio Srdic
fabricio.srdic at gmail.com
Sun Oct 27 15:04:50 CET 2013
2013/10/27 Marco van de Voort <marcov at stack.nl>
> In our previous episode, Marcos Douglas said:
> > > Namespaces are only for pseudo hierarchical disambiguation of unit
> names in
> > > Pascal.
> >
> > Very true. I agree with everything.
> > BUT, IMHO, the only problem is if you have two 3rd frameworks that use
> > the same unit name. In that case I can not add 2 units with the same
> > name in my project. So, only in that case, we could use 'namespaces'
> > to 'rename' these units only for use in our projects without change
> > the original source.
>
> In theory yes, in practice no, since that would be incompatible with
> anything below XE2+ (and most commercial component builders still support
> D7).
>
> As with any feature, there are people that already design it in after the
> first beta, but it will be rare, very rare, in the wild.
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
Namespace address this problem, but as the Marco said, not to anything
below XE2.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131027/598d1726/attachment.html>
More information about the fpc-pascal
mailing list