digitalmars.D.bugs - [Issue 22343] New: importC: Error: 'undefined identifier' with
- d-bugmail puremagic.com (25/25) Sep 28 2021 https://issues.dlang.org/show_bug.cgi?id=22343
https://issues.dlang.org/show_bug.cgi?id=22343 Issue ID: 22343 Summary: importC: Error: 'undefined identifier' with implicit declaration of function Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: ibuclaw gdcproject.org Similar to issue 22342, functions can be implicitly declared in C11, and will have default function type `int(...)`. --- int main() { func(12); func("12"); func(1.2); return 0; } --
Sep 28 2021