← Back to index
|
Original Bugzilla link
Bug 23866 – ImportC: Multiple __declspecs rejected
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-04-29T10:02:19Z
Last change time
2023-04-30T08:17:20Z
Keywords
ImportC, pull
Assigned to
No Owner
Creator
Max Samukha
Comments
Comment #0
by maxsamukha — 2023-04-29T10:02:19Z
struct __declspec(align(16)) __declspec(no_init_all) S { }; typedef struct __declspec(align(16)) __declspec(no_init_all) _S2 { } S2; ---- Error: missing tag `identifier` after `struct` Compiles after commenting out either of the declspecs.
Comment #1
by dlang-bot — 2023-04-30T05:54:34Z
@WalterBright created dlang/dmd pull request #15149 "fix Issue 23866 - ImportC: Multiple __declspecs rejected" fixing this issue: - fix Issue 23866 - ImportC: Multiple __declspecs rejected
https://github.com/dlang/dmd/pull/15149
Comment #2
by dlang-bot — 2023-04-30T08:17:20Z
dlang/dmd pull request #15149 "fix Issue 23866 - ImportC: Multiple __declspecs rejected" was merged into master: - 903b988aafc7be313031b7e72dd431a23aa01b1f by Walter Bright: fix Issue 23866 - ImportC: Multiple __declspecs rejected
https://github.com/dlang/dmd/pull/15149