[Issue 22341] importC: Error 'fun' called with argument types '(uint)' matches both: 'fun(ulong)' and 'fun(ulong)'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 28 17:06:10 UTC 2021


--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Iain Buclaw from comment #2)
> Removing `extern` works around the error.
Unless you use K&R style, which also triggers the error.
void func(const char *str);

void func(str)
    const char *str;

void func2()


More information about the Digitalmars-d-bugs mailing list