str functions and types

Peter Naulls peter at chocky.org
Thu Jun 13 04:40:58 PDT 2002


In message <3D088148.1030108 at dsvr.net>
          Nick Burrett <nick at dsvr.net> wrote:

> > This is likely to provoke a large number of warnings, all of which I
> > have fixes for, although I need to clear this issue first.  You may want
> > to remove -Werror.
> 
> Having just built UnixLib with the above options (-Werror excluded), I 
> cannot see the problem that you are referring to in my build tree, which 
> is equivalent to an unmodified source tree.  This makes me wonder 
> whether it is something in your local tree that is triggering this.

Sorry, I must have removed it to get it to compile ;-)
Try adding:  -Wcast-qual and also -Wshadow, as that's desirable.

-- 
------------------------------------------------------------------------
 Peter Naulls - peter at chocky.org
 Homepage                     -  http://www.chocky.org/
 RISC OS Projects Initiative  -  http://initiative.chocky.org/
 RISC OS C Programming        -  http://www.riscos.info/
------------------------------------------------------------------------



More information about the gcc mailing list