On Wednesday, 2 November 2022 at 11:19:21 UTC, Steven
Schveighoffer wrote:
On 11/2/22 12:42 AM, Mike Parker wrote:
[...]
Having translated C code myself, and running into const issues
where I've had to cast away const, I do not think this is a
wise decision. Walter should reconsider. An ImportC that can't
compile pretty standard C code as-is is nearly useless.
-Steve
Yeah, I reported this bug back in February:
https://issues.dlang.org/show_bug.cgi?id=22759
It comes up in C code bases from time to time.