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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 9 21:22:13 PDT 2015


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

--- Comment #2 from sigsve <sigurdbergsvela at gmail.com> ---
My apologies for being vague, I was hoping you'd have a Mac available.

It is definitely a linking error(This is the error I get):

Undefined symbols for architecture x86_64:
  "_D5Stack12__ModuleInfoZ", referenced from:
      _D4Main12__ModuleInfoZ in Main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

But, as said, this error only shows if I include std.stdio in the Stack.d file

--


More information about the Digitalmars-d-bugs mailing list