www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22264] New: importC: Error: '=', ';' or ',' expected using

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

          Issue ID: 22264
           Summary: importC: Error: '=', ';' or ',' expected using K&R
                    function syntax
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

Reduced test:
---
unsigned long test(crc)
    unsigned long crc;
{
  return crc;
}

--
Sep 01