https://d.puremagic.com/issues/show_bug.cgi?id=11881
--- Comment #8 from Adam D. Ruppe <[email protected]> 2014-01-08 05:53:43 PST --- > If -betterC is specified, glue layer will report error for the uses of > language > feature which requires runtime library, such as: Hmm, maybe. But right now if you used them, you'd get a linker error about a missing function and can choose to remove the call or implement the function. So in a way, it is "pay for what you use". With a compile error, implementing it piecewise wouldn't be as easy - you'd have to drop the switch and go back to writing a druntime port. I think betterC should mean anything that works in C also works here with little to no runtime support (matches C), anything which can work without the runtime does (for example, scope statements, this makes it a better C), and the rest can just continue to be a linker error so you opt in as you want by implementing the functions. This would also be the least work to implement in the compiler, since it is leaving most things the way they are now. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
