[Issue 14674] Importing std.stdio causes another module to become undefined

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 9 19:24:11 PDT 2015


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

--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to sigsve from comment #0)
> When importing std.stdio in a specific context, causes an "undefined symbols
> for architecture"

I'm on Windows so I need to guess what "undefined symbols for architecture" is.
Maybe it's a linker error? As I can see the Rakefile, it does not compile and
link the file src/collector/Stack.d. It would be the reason of linker error.

D's import is not same with the #include in C. If you import a module, you also
need to compile and link it normally.

--


More information about the Digitalmars-d-bugs mailing list