[Issue 22341] New: importC: Error 'fun' called with argument types '(uint)' matches both: 'fun(ulong)' and 'fun(ulong)'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 28 16:58:44 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22341

          Issue ID: 22341
           Summary: importC: Error 'fun' called with argument types
                    '(uint)' matches both: 'fun(ulong)' and 'fun(ulong)'
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ibuclaw at gdcproject.org

typedef long unsigned int size_t;

extern int func32(unsigned p);
extern int func32_z (size_t p);

int func32_z(size_t p)
{
    return 0;
}

int func32(unsigned p)
{
    return func32_z(p);
}

--


More information about the Digitalmars-d-bugs mailing list