On Wednesday, 18 January 2017 at 03:37:46 UTC, Samwise wrote:
extern int getReturnCode() { return 4; }still does not compile using the command from above. I may very well be misunderstanding you though.
yep. *both* prototype and real declaration should be `extern(C)`. `(C)` part is important too!