[Issue 22262] New: importC: Error: incompatible types for `(buf) is (0)`: `ubyte*` and `int`
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 1 11:42:19 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22262
Issue ID: 22262
Summary: importC: Error: incompatible types for `(buf) is (0)`:
`ubyte*` and `int`
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
Reduced test:
---
void test(unsigned char *buf)
{
if (buf == 0)
return;
}
--
More information about the Digitalmars-d-bugs
mailing list