Bug 24108 – dmd -H and -X fail when given an importC module

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-08-24T23:38:27Z
Last change time
2023-08-25T10:55:34Z
Keywords
ImportC, pull
Assigned to
No Owner
Creator
Adam D. Ruppe

Comments

Comment #0 by destructionator — 2023-08-24T23:38:27Z
ictest.c: void foo() {} dmd-master ictest.c -H Segmentation fault dmd-master ictest.c -X Segmentation fault
Comment #1 by dlang-bot — 2023-08-24T23:39:55Z
@adamdruppe created dlang/dmd pull request #15557 "Fix #24108 - segfault when using -H or -X on importC" fixing this issue: - Fix #24108 - segfault when using -H or -X on importC https://github.com/dlang/dmd/pull/15557
Comment #2 by dlang-bot — 2023-08-25T10:55:34Z
dlang/dmd pull request #15557 "Fix #24108 - segfault when using -H or -X on importC" was merged into master: - cb9fbbdbd502629cf6ffac3b3d1da4be3d73b090 by Adam D. Ruppe: Fix #24108 - segfault when using -H or -X on importC https://github.com/dlang/dmd/pull/15557