Bug 22196 – importC: Error: found `const` when expecting `)`in __attribute__

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-08-10T10:23:45Z
Last change time
2021-08-11T22:45:10Z
Keywords
pull
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2021-08-10T10:23:45Z
The introduction of __attribute__((noreturn)) support regressed on attributes that are also keywords.
Comment #1 by dlang-bot — 2021-08-10T11:13:57Z
@ibuclaw created dlang/dmd pull request #12971 "fix Issue 22196 - importC: Error: found `const` when expecting `)`in __attribute__" fixing this issue: - fix Issue 22196 - importC: Error: found `const` when expecting `)`in __attribute__ https://github.com/dlang/dmd/pull/12971
Comment #2 by dlang-bot — 2021-08-11T22:45:10Z
dlang/dmd pull request #12971 "fix Issue 22196 - importC: Error: found `const` when expecting `)`in __attribute__" was merged into master: - d544e205fb50cb168a728b677cde840285acbe90 by Iain Buclaw: fix Issue 22196 - importC: Error: found `const` when expecting `)`in __attribute__ https://github.com/dlang/dmd/pull/12971