str functions and types

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

In message <3D088148.1030108 at>
          Nick Burrett <nick at> 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
 Homepage                     -
 RISC OS Projects Initiative  -
 RISC OS C Programming        -

More information about the gcc mailing list