<div dir="ltr"><div>Hi, <br><br>This code would get a warning on g++ with -Wcast-qual:<br><br>int *func(const int *ci) {<br>  return (int *)ci;<br>}<br><br></div><div>Clang does not warn on this code because driver parses the -Wcast-qual and just ignores it. Is this warning designed to be ignored in Clang or is it just not implemented yet? <br>
<br></div><div>Michael.<br></div><br></div>