@ctfeonly

Walter Bright newshound2 at digitalmars.com
Thu Dec 7 21:35:05 UTC 2017


On 12/7/2017 11:41 AM, Manu wrote:
> Misuse of the API; ie, a runtime call, will result in an unsuspecting user 
> getting a surprising link error, rather than a nice compile-time error 
> explaining what they did wrong...

I think Nicholas is talking about functions for which code cannot be generated.

In any case, in C/C++/D if you call functions in .h files (or imports) that are 
not linked in, you'll get a linker error.


More information about the Digitalmars-d mailing list