[fpc-pascal] Please someone explain this to me

Tomas Hajny XHajT03 at hajny.biz
Wed Feb 10 22:29:07 CET 2016


On Wed, February 10, 2016 22:04, Anthony Walter wrote:
> What about the interface section includes and {$region} option I
> described.
> Does anyone care to discuss that option? Please go back a few messages and
> read what I wrote.

I don't get your $region idea, but as a maintainer of one of the FPC
targets, I can tell you that there are differences also in the interface
sections. Just as an example - unit system needs to combine parts which
are completely common (solved using common include files) with parts which
are platform-specific (take e.g. the DirectorySeparator or LineEnding as
examples). Sometimes there are differences at the target level, sometimes
at platform level, sometimes it makes sense to use a common include file
for a set of targets sharing a common set of characteristics (various MS
Windows targets or Unix targets) in order to simplify the maintenance,
etc. Trying to cover that in one common place would result in something
completely unreadable and unmaintainable - actually much worse compared to
the current situation.

Tomas





More information about the fpc-pascal mailing list