[Issue 16291] phobosinit fails to register encodings on individual tests

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jul 19 10:11:40 PDT 2016


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

--- Comment #5 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
p.s. i think that vibe.d works 'cause it passes all it's files to dmd instead
of creating .a library. then dmd generating single object file with everything
necessary inside, including module ctors. but for .a libraries, dmd is writing
alot of object files (one per function, i believe) to allow smartlinking.

so passing all phobos .d files to dmd should work as expected, but using .a
isn't. and i believe that vibe.d will have the same issue if it will be
complied as .a library.

--


More information about the Digitalmars-d-bugs mailing list