On Sun, 12 Feb 2017 15:33:23 +0800
Tim Veldhuizen <t...@timveldhuizen.nl> wrote:

> Indeed, I can confirm Delphi does this. I think since 2009 or XE or so, 
> but AFAIK it doesn't need to. It does it only for the files that are 
> explicitly added to the project, but those are also in the dproj file. 
> And it would compile just fine without explicitly referring to the files 
> in the dpr file, so I'm not exactly sure why it does it. Perhaps it's a 
> kind of optimization for the caching system in the IDE..

Delphi uses them just a marker for the IDE, that the units belongs
to the project. It does not create different code.
It uses that system since at least Delphi 3.

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to