Sirraide wrote:

> IIRC the Clang behaviour for `-Wincompatible-pointer-types` differs from GCC 
> as it includes qualifiers while GCC doesn't, so it may show up with some new 
> failures. That's not a comment for or against changing it.

Sort of: while `-Werror=incompatible-pointer-types` *would* indeed make e.g. 
`const char*` -> `char*` ill-formed as well, that only applies if you make the 
entire warning group an error. This pr is only making a single warning an 
error, so e.g. `const char*` -> `char*` is still just a warning.




https://github.com/llvm/llvm-project/pull/157364
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to