On Mon, 30 Jun 2014, Marek Polacek wrote: > Basically everything I wrote in the patch for -Wincompatible-pointer-types > applies here as well. A new option, -Wint-conversion (to be compatible > with clang), is added to allow more fine-grained control over the warnings. > I think we should print the types here as well, and moreover, we could hint > the > user that & or * may be used to fix the code. > > Bootstrapped/regtested on x86_64-linux, ok for trunk?
OK with the documentation amended to make clear this is about *implicit* conversions, not the cases covered by -Wno-int-to-pointer-cast and -Wno-pointer-to-int-cast. -- Joseph S. Myers jos...@codesourcery.com