Cannot compile betterC app in windows using stderr
forkit
forkit at gmail.com
Wed Feb 2 10:53:56 UTC 2022
On Wednesday, 2 February 2022 at 09:27:02 UTC, duser wrote:
>
> missing `extern(C)`, it should be:
>
> ```D
> module test;
> import core.stdc.stdio : FILE, fprintf;
>
> extern(C) extern shared FILE* stderr;
>
> extern(C) int main(string[] args)
> {
> fprintf(stderr, "Test\n",);
> return 0;
> }
> ```
pls.. not more 'extern's ... I'm seeing 'extern' everywhere now...
..I'm gunna puke if I see another one.
and no, that doesn't work either :-(
More information about the Digitalmars-d
mailing list