" Known Differences from DMD: ... Currently, GDC uses the C calling convention for all functions except those declared extern (Windows). " Considering that the spec doesn't mandate this to be an implementation specific detail, this is a bug, which in addition cause several issues. --