[Issue 22343] New: importC: Error: 'undefined identifier' with implicit declaration of function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 28 17:49:52 UTC 2021
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 at puremagic.com
Reporter: ibuclaw at 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;
}
--
More information about the Digitalmars-d-bugs
mailing list