September 28, 2021 [Issue 22343] New: importC: Error: 'undefined identifier' with implicit declaration of function | ||||
---|---|---|---|---|
| ||||
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; } -- |
Copyright © 1999-2021 by the D Language Foundation