Thread overview | ||||||
---|---|---|---|---|---|---|
|
October 23, 2015 [Issue 15241] struct literal implicitly converts void* to size_t | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15241 anoneuron@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid URL| |http://dpaste.dzfl.pl/6001f | |46873fd -- |
October 23, 2015 [Issue 15241] struct literal implicitly converts void* to size_t | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15241 --- Comment #1 from anoneuron@gmail.com --- Related: http://dpaste.dzfl.pl/68de69a294c3 -- |
December 17, 2022 [Issue 15241] struct literal implicitly converts void* to size_t | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15241 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
November 24 [Issue 15241] struct literal implicitly converts void* to size_t | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15241 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |nick@geany.org Resolution|--- |FIXED --- Comment #2 from Nick Treleaven <nick@geany.org> --- (In reply to Cauterite from comment #0) > auto p1 = cast(const void*) 1; > auto h3 = HandleT( p1 ); // allowed This was disallowed by the time of v2.068.2. onlineapp.d(11): Error: cannot implicitly convert expression `cast(const(void*))cast(size_t)1LU` of type `const(void*)` to `ulong` > Related: http://dpaste.dzfl.pl/68de69a294c3 Server not responding. -- |
Copyright © 1999-2021 by the D Language Foundation