full path to source file __FILE__
sdhdfhed via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jul 22 01:02:59 PDT 2016
On Friday, 22 July 2016 at 07:57:35 UTC, sdhdfhed wrote:
> On Friday, 22 July 2016 at 07:47:14 UTC, Jonathan Marler wrote:
>> [...]
>
> Personally I've never seen a relative __FILE__. Is this an
> issue that's confirmed ?
>
> I mean that it would be better to fix __FILE__ so that its
> result is always absolute then. I think that such a "PPR"
> (punk-pull-request) has 0% chance of being accepted, especially
> since it adds a special keyword !
make a PR that expands the sources passed to the dmd to their
absolute name. This is more likely to fix your issue and to be
accepted.
More information about the Digitalmars-d-learn
mailing list