www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22341] New: importC: Error 'fun' called with argument types

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 puremagic.com
          Reporter: ibuclaw 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);
}

--
Sep 28 2021