Bug 22761 – [REG 2.099] importC: Error: redeclaration with different type

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-02-11T12:28:50Z
Last change time
2022-02-12T22:45:20Z
Keywords
ImportC, pull, rejects-valid
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2022-02-11T12:28:50Z
Introduced by https://github.com/dlang/dmd/pull/13627 --- extern long reg22344 (long adler, const char *buf, int len); long reg22344(adler, buf, len) long adler; const char *buf; int len; { return 0; }
Comment #1 by dlang-bot — 2022-02-12T08:54:56Z
@WalterBright created dlang/dmd pull request #13647 "fix Issue 22761 - [REG 2.099] importC: Error: redeclaration with diff…" fixing this issue: - fix Issue 22761 - [REG 2.099] importC: Error: redeclaration with different type https://github.com/dlang/dmd/pull/13647
Comment #2 by dlang-bot — 2022-02-12T22:45:20Z
dlang/dmd pull request #13647 "fix Issue 22761 - [REG 2.099] importC: Error: redeclaration with diff…" was merged into master: - 562c396956cabc97104181e569626d7e5ba4e582 by Walter Bright: fix Issue 22761 - [REG 2.099] importC: Error: redeclaration with different type https://github.com/dlang/dmd/pull/13647