[Pkg-pascal-devel] Bug#845504: Bug#845504: /usr/bin/ppdep-3.0.0: Claims to understand conditional defines, but doesn't handle {$ELSE}

Ben Longbons brlongbons at gmail.com
Fri Nov 25 07:30:15 UTC 2016


On Thu, Nov 24, 2016 at 9:45 PM, Michalis Kamburelis
<michalis.kambi at gmail.com> wrote:
> 2. The utility of "ppdep" for Pascal is limited anyway. Unlike in C,
> in Pascal the compiler already handles the dependencies (what unit
> should be recompiled when and in what order). So generating Makefiles
> with dependencies per-unit is usually not needed.

It's necessary to avoid race conditions if you have multiple programs
that use the same units. E.g. `texutil.{o,ppu}` get opened (with
`O_TRUNCATE`) multiple times, rather than using atomic renames (which
would still be duplicate work ... but fpc is fast anyway. Still bad if
the compiler fails and `make` hasn't had a chance to clean up) or
locking.

I refuse to use `.NOTPARALLEL:` out of principle.

I can live with the other limitations - IMHO reasonable code won't do
*too* much of that, at least for things that `ppdep` even needs to
worry about.

Thanks for the quick response,
-Ben



More information about the Pkg-pascal-devel mailing list