On Monday, 10 January 2022 at 19:28:56 UTC, Adam D Ruppe wrote:

You are mistaken, -betterC's main mission is to exclude core.

Declarations that just bind to something externally will still work, since it doesn't matter if they're included or not, but this one, being a macro in the original C, is a mini-function in D, and thus needs to be linked in.

Thanks! It needs to be linked with which library? In C it doesn't need to be linked with nothing extra than the system library that the C compilers already link (unless you pass "-nostdlib" of course).

Reply via email to