This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Stage 2 projects - AltiVec rewrite
On Fri, 29 Apr 2005, Richard Henderson wrote:
> If you think you have to warn, you should use the same language as the
> main compiler. I.e. "passing arg N of 'func' discards qualifiers from
> pointer target type".
>
> And it should be guarded with warn_cast_qual, just like the main compiler.
Those warnings have nothing to do with warn_cast_qual, which is for
explicit casts not implicit conversions.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)