Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
September 28, 2021 [Issue 22341] importC: Error 'fun' called with argument types '(uint)' matches both: 'fun(ulong)' and 'fun(ulong)' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22341 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ImportC CC| |ibuclaw@gdcproject.org -- |
September 28, 2021 [Issue 22341] importC: Error 'fun' called with argument types '(uint)' matches both: 'fun(ulong)' and 'fun(ulong)' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22341 --- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> --- Similarly, this triggers an error too. --- extern void func(const char *str); void func(const char *str) { } void func2() { func("test"); } -- |
September 28, 2021 [Issue 22341] importC: Error 'fun' called with argument types '(uint)' matches both: 'fun(ulong)' and 'fun(ulong)' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22341 --- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> --- Removing `extern` works around the error. -- |
September 28, 2021 [Issue 22341] importC: Error 'fun' called with argument types '(uint)' matches both: 'fun(ulong)' and 'fun(ulong)' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22341 --- Comment #3 from Iain Buclaw <ibuclaw@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() { func("test"); } -- |
September 28, 2021 [Issue 22341] importC: Error 'fun' called with argument types '(uint)' matches both: 'fun(ulong)' and 'fun(ulong)' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22341 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86_64 |All OS|Linux |All -- |
September 28, 2021 [Issue 22341] importC: Error 'fun' called with argument types '(uint)' matches both: 'fun(ulong)' and 'fun(ulong)' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22341 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #4 from Iain Buclaw <ibuclaw@gdcproject.org> --- Testing against wrong branch (latest fixes are in stable). -- |
Copyright © 1999-2021 by the D Language Foundation