[Issue 22275] New: importC: Error: incompatible types for '(dest) !is (buf)': 'char*' and 'char[1]'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 4 10:09:47 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22275
Issue ID: 22275
Summary: importC: Error: incompatible types for '(dest) !is
(buf)': 'char*' and 'char[1]'
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
void test(char *dest)
{
char buf[1];
if (dest != buf)
return;
}
--
More information about the Digitalmars-d-bugs
mailing list