Vote UpVote

Do not share DCU files between projects (via: delphi – Compiler Directive IF and IFEND – Stack Overflow)

The Wiert Corner – Summary: Always try to avoid sharing .DCU files between projects. I see a lot of projects at clients that do not have their individual DCU directories set (therefore having the DCU files in the same directory as the PAS files causing shared units to share the DCU files), or share DCU files among different projects. Both are a very bad idea, as the compiler does not always understand when the DCU file does not match the combination of PAS file and compiler options. The result is the occasional use of the DCU file in stead of the PAS file causing wrong code to be used, or wrong debugger ...
Favorite? Off-Topic? Jeroen Pluimers @ 2014-02-13 06:00


Visits: 990
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Jørn E. Angeltveit
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)