← Back to index
|
Original Bugzilla link
Bug 22602 – importC: Error: cannot convert string literal to 'void*'
Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-12-15T10:18:46Z
Last change time
2021-12-15T14:39:43Z
Keywords
ImportC, pull, rejects-valid
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0
by ibuclaw — 2021-12-15T10:18:46Z
--- void test() { unsigned char *data; data = (void *)"\0\0\xff\xff"; } ---
Comment #1
by dlang-bot — 2021-12-15T11:22:45Z
@ibuclaw created dlang/dmd pull request #13431 "fix Issue 22602 - importC: Error: cannot convert string literal to 'void*'" fixing this issue: - fix Issue 22602 - importC: Error: cannot convert string literal to 'void*'
https://github.com/dlang/dmd/pull/13431
Comment #2
by dlang-bot — 2021-12-15T14:39:43Z
dlang/dmd pull request #13431 "fix Issue 22602 - importC: Error: cannot convert string literal to 'void*'" was merged into stable: - 384012f30ea3b5324ac953250d04cf3de5bd045d by Iain Buclaw: fix Issue 22602 - importC: Error: cannot convert string literal to 'void*'
https://github.com/dlang/dmd/pull/13431