[Issue 22584] importC: Error: undefined reference to 'parameter' when no parameter names in forward declaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 12 00:43:29 UTC 2021


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

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Likewise, the inverse compiles with DMD, but does not compile with GCC.
---
extern long add(long a, long b);

long add(long, long)
{
    return a + b;
}

--


More information about the Digitalmars-d-bugs mailing list