Bug 23575 – Allow implicit conversion to a nested void pointer

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-12-23T14:03:24Z
Last change time
2024-12-13T19:26:28Z
Assigned to
No Owner
Creator
Georgy Markov
Moved to GitHub: dmd#20207 →

Comments

Comment #0 by ogion.art — 2022-12-23T14:03:24Z
int* px; void* p = px; // Works void** pp = &px; // Error: cannot implicitly convert expression `& px` of type `int**` to `void**`
Comment #1 by robert.schadek — 2024-12-13T19:26:28Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20207 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB