Summary: writeln crashes when called from C code.
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Mac OS X
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos

--- Comment #0 from 2010-08-22 01:44:15 PDT ---
Given the following content:

  // x.d
  import std.stdio;
  extern (C) void foo() {

  // y.c
  void foo(void);
  int main () {
      return 0;

And compile and run with

  gcc -c -m32 y.c -o y.o
  dmd x.d y.o -ofx

Result in a Bus Error on Mac OS X. (I am using dmd r620, druntime r370 and
Phobos r1900.)

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to