Need to research {$DUPLICATEENABLE ON}
further one day, but surely looks useful but is not really documented, not even at the Delphi 2009 documentation where it was introduced: [WayBack] SysUtils.pfIgnoreDupUnits Constant.
–jeroen
Via: [WayBack] MonkeyMixer has just been updated!- I’ve fixed a unit naming collision with Castlia- I’ve added an XE7 project group (which includes both the BPL and… – Simon Stuart – Google+
PS:
A cryptic G+ comment [WayBack] by Uwe Schuster:
DUPLICATEENABLE is old, but since it is something for IDE packages to avoid intersections with user/3rd party packages there is no need for a documentation. I do use it in an IDE package that did use the JCL/JVCL units as well and does another unit with a common name. IIRC I did mention it related to MonkeyMixer.
I think he argues that documentation is both not needed, but the usage of the directive sometimes is. Which somehow feels like a contradiction to me.
Filed under: Delphi, Delphi 2009, Delphi 2010, Development, Software Development
