[Issue 758] Segmentation fault when compiling.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 31 15:32:30 PST 2006


http://d.puremagic.com/issues/show_bug.cgi?id=758





------- Comment #3 from ddparnell at bigpond.com  2006-12-31 17:32 -------
I just want it known that Bud uses the system() function to invoke the
compiler. If this is returning zero when the compiler segfaults then there is
not much more I can do.

    lRC = system(std.string.toStringz(pCommand));
    version(Posix) lTrueRC = ((lRC & 0xFF00) >> 8);
    version(Windows) lTrueRC = lRC;

I suppose I could check that all the files being passed to the linker do in
fact exist, but as the linker does that check anyway it would be a bit
redundant.


-- 



More information about the Digitalmars-d-bugs mailing list