This code is compilable, but is incorrect:
extern (C) {
void func(int);
void func(double, double);
void func(char[42]);
}
I think that overloading with extern(C) or extern(Windows) should be prohibited or warned.
See also: https://github.com/ldc-developers/ldc/issues/3362
Comment #1 by robert.schadek — 2024-12-13T19:07:40Z