Temporary files for `-run`
Joakim via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Sat Apr 30 10:43:40 PDT 2016
On Saturday, 30 April 2016 at 16:59:30 UTC, Johan Engelen wrote:
> On Saturday, 30 April 2016 at 16:42:01 UTC, Joakim wrote:
>> On Saturday, 30 April 2016 at 09:09:07 UTC, Johan Engelen
>> wrote:
>>> [...]
>>
>> Yes, that's the way it should be, makes no sense not to
>> randomize that way for single runs.
>
> Already working on the PR!
>
> But... linker errors will show the temporary filenames. I was
> thinking about creating a random temporary folder but then the
> problem is that I have to add logic to delete that folder after
> execution... Is it OK if linker errors will show funny
> filenames? (aren't linker errors supposed to be
> incomprehensible? ;-))
If you prefix runTemp before the random string, it'll help.
More information about the digitalmars-d-ldc
mailing list