[Issue 17796] New: ldc's -oq (write full module path for objects) breaks linking
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Aug 30 23:10:09 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17796
Issue ID: 17796
Summary: ldc's -oq (write full module path for objects) breaks
linking
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: blocker
Priority: P1
Component: visuald
Assignee: nobody at puremagic.com
Reporter: iamthewilsonator at hotmail.com
ldc's `-oq` flag to enable writing the fully qualified module name as the name
for the .obj confuses visuald.
It tells the linker to look for
`\build\path\mod.obj` instead of
`\build\path\fully.qualified.name.mod.obj`.
for a module with declaration `module fully.qualified.name.mod;`.
This prevents any projects that require `-oq` (due to their module layout) from
linking with visual studio / visuald. One can still use dub (which just calls
the compiler directly, it knows what its doing) manually on the command line to
successfully build and link.
--
More information about the Digitalmars-d-bugs
mailing list