On Wed, Jul 14, 2010 at 11:45 AM, Mattias Gaertner <nc-gaert...@netcologne.de> wrote: > On Wed, 14 Jul 2010 10:26:11 -0300 > Marcos Douglas <m...@delfire.net> wrote: > >> On Wed, Jul 14, 2010 at 10:03 AM, Hans-Peter Diettrich >> <drdiettri...@aol.com> wrote: >> > Thaddy schrieb: >> > >> >> Programmers are not very imaginative in naming. It is plainly helpfull to >> >> be able to rename a file if another file with a different content..... >> > >> > Just in the FPC compiler case many unit names are hard coded, while the >> > files to use reside e.g. in a specific machine directory, selected in the >> > search path. When it becomes desireable to replace only one of these files, >> > as happened to me, then a solution could be to name that replacement file >> > differently from its contained unit name. >> > >> > Then it would be helpful to allow for exchangable file names, at least at >> > project/program level. Only then one can be sure that a specific file is >> > used across the entire project, regardless of all other files in the search >> > path. >> >> I am surprised as there is no conflict of names of units in the FPC / >> Lazarus. > > Of course there are. For example unit dialogs. This is solved by the > search path.
And if do you have your own unit Dialogs too, what you do? > There are even conflicting names in the system unit. For example the > system unit has a THandle that is 32bit under linux 64bit, but Lazarus > needs a THandle that is 64bit under 64bit. Gladfully the system unit is > searched last. > MD. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel