https://d.puremagic.com/issues/show_bug.cgi?id=11881
Adam D. Ruppe <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Adam D. Ruppe <[email protected]> 2014-01-07 19:27:21 PST --- Other stuff I think this should do: * suppress the generation of the call _d_dso_registry function (backend/elfobj.c). * The assert isn't put out with -release, but that kills all asserts. So I think -betterC might be good to suppress any *hidden* asserts, while keeping explicit ones in (which are removed with -release if you want to kill them too). The struct method calling _d_assertm, which requires ModuleInfo, is a hidden assert on the struct method. actually that just might do the trick for a better c. Toying with these, I made a test.d with an extern(C) main and it worked fairly well. My hacky changes to the compiler caused it to crash if I tried to use a class, but C doesn't have classes either so oh well. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
