On Fri, Sep 12, 2003 at 12:57:45PM +0100, Arthur Bergman wrote:
> 
> On Thursday, September 11, 2003, at 07:50  pm, Brent Dax wrote:
> 
> > Arthur Bergman:
> > # This gets rid of the very annoying long double might change warning
> > # under Darwin...
> >
> > Thanks, applied (config/init/hints/darwin.pl version 1.7).
> >
> > However, can you see if the diff below my sig (applied against 1.7, not
> > 1.6) works too?  If so, it's probably a more appropriate place to put
> > it.
> 
> 
> Nope, that doesn't work, cc_warn munges the input and only removes 
> things from the command line, not adds new ones.
> 
> so -Wno-shadow  gets turned into remove -Wshadow

Try now. In a fit of, er, bloody mindedness I've s/cc_warn/ccwarn/g
across the config system.
It was broken. In theory you could specify warnings flags on the
Configure.pl command line, but in practise they got lost.

Now that bit should all work, and I think that the -Wno-foo stuff in
hints files also bites correctly. It seems to be quite cunning, in
that -Wno-foo will eliminate -Wfoo if present, otherwise -Wno-foo stays
in. Or at least my experiments seem to suggest this.
I've no idea quite how it's working.

I think it's still fractionally broken, in that -Wno-format will
erase -Wformat-nonliteral

Nicholas Clark

Reply via email to