www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22584] New: importC: Error: undefined reference to


          Issue ID: 22584
           Summary: importC: Error: undefined reference to 'parameter'
                    when no parameter names in forward declaration
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

extern long add(long, long);

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

Caused by PR fix for issue 22537 and issue 22538.

Dec 11 2021