[Issue 24293] ImportC: parallel compilation failure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 30 18:40:52 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=24293

--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> ---
Ok, I think I see the problem.

apple.d imports pear.c
peach.d imports pear.c

The commands:

    dmd -c apple.d
    dmd -c peach.d

both started concurrently mean both try to write then read pear.i, stepping on
each other.

A possible solution would be to create a temporary file rather than pear.i.

--


More information about the Digitalmars-d-bugs mailing list