https://issues.dlang.org/show_bug.cgi?id=11881
--- Comment #19 from Walter Bright <[email protected]> --- (In reply to Martin Nowak from comment #18) > Use `extern(C) int main` to avoid the _d_run_main dependency of the > generated C main wrapper. That's right. If you're writing C code, it's better to use the C main()! Whether the compiler should complain about a D main() in a -betterC compile is another matter. I'd prefer to defer such issues (and there are several) until we gain some experience in the field with it. --
