Bug 22264 – importC: Error: '=', ';' or ',' expected using K&R function syntax
Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-09-01T11:55:16Z
Last change time
2021-09-30T01:46:05Z
Keywords
ImportC, pull
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0 by ibuclaw — 2021-09-01T11:55:16Z
Reduced test:
---
unsigned long test(crc)
unsigned long crc;
{
return crc;
}
Comment #1 by dlang-bot — 2021-09-04T05:14:52Z
@ibuclaw created dlang/dmd pull request #13044 "fix Issue 22264 - importC: Error: '=', ';' or ',' expected using K&R function syntax" fixing this issue:
- fix Issue 22264 - importC: Error: '=', ';' or ',' expected using K&R function syntax
https://github.com/dlang/dmd/pull/13044
Comment #2 by dlang-bot — 2021-09-07T22:51:56Z
dlang/dmd pull request #13044 "fix Issue 22264 - importC: Error: '=', ';' or ',' expected using K&R function syntax" was merged into stable:
- 6a33e01a6c9ddfb2cdb4494c2f0a9c433e02eb7c by Iain Buclaw:
fix Issue 22264 - importC: Error: '=', ';' or ',' expected using K&R function syntax
https://github.com/dlang/dmd/pull/13044
Comment #3 by dlang-bot — 2021-09-30T01:46:05Z
dlang/dmd pull request #13108 "merge stable" was merged into master:
- 3f2989016bb1b71d17bac4a7b09150c82afb0da6 by Iain Buclaw:
fix Issue 22264 - importC: Error: '=', ';' or ',' expected using K&R function syntax
https://github.com/dlang/dmd/pull/13108