https://issues.dlang.org/show_bug.cgi?id=22759
--- Comment #4 from dave287...@gmail.com --- Until D adds head const, couldn’t you do a similar fix as for https://issues.dlang.org/show_bug.cgi?id=22534 ? Just treat declarations of `int * data` and `int * const data` the same in the body of c functions (as long as they are not also static). Neither the status quo nor ignoring const in this case is correct, but this would allow more correct programs to successfully compile. --