Bug 22263 – ImportC: function and variable re-declarations should be allowed

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-09-01T11:49:06Z
Last change time
2021-09-30T01:46:04Z
Keywords
ImportC, pull
Assigned to
No Owner
Creator
Iain Buclaw
See also
https://issues.dlang.org/show_bug.cgi?id=22316, https://issues.dlang.org/show_bug.cgi?id=22317, https://issues.dlang.org/show_bug.cgi?id=22312

Comments

Comment #0 by ibuclaw — 2021-09-01T11:49:06Z
Reduced test: --- extern void test(int); void test(int a) { } int main() { test(42); }
Comment #1 by dlang-bot — 2021-09-18T08:56:43Z
@WalterBright created dlang/dmd pull request #13085 "fix Issue 22263 - ImportC: function and variable re-declarations shou…" fixing this issue: - fix Issue 22263 - ImportC: function and variable re-declarations should be allowed https://github.com/dlang/dmd/pull/13085
Comment #2 by dlang-bot — 2021-09-24T08:11:07Z
dlang/dmd pull request #13085 "fix Issue 22263 - ImportC: function and variable re-declarations shou…" was merged into stable: - 72846e0363d24abaf05a526d96e797dee5bca474 by Walter Bright: fix Issue 22263 - ImportC: function and variable re-declarations should be allowed https://github.com/dlang/dmd/pull/13085
Comment #3 by dlang-bot — 2021-09-30T01:46:04Z
dlang/dmd pull request #13108 "merge stable" was merged into master: - 16a2df0b3501642f62ab1f17ce142adbe331f549 by Walter Bright: fix Issue 22263 - ImportC: function and variable re-declarations should be allowed (#13085) https://github.com/dlang/dmd/pull/13108