[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable -Werror when error attribute generates warnings

From: Robert Millan
Subject: Re: Disable -Werror when error attribute generates warnings
Date: Sun, 3 Jan 2010 17:47:59 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Jan 02, 2010 at 07:21:21PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko 
> > Instead of this, why not only use the attribute if it's available? I
> > couldn't find an entry about it in GCC's human-readable change
> > summaries, but support was committed on 2007-09-23 so I think it's
> > available from GCC 4.3.
> >
> >  =20
> Why not have check specifically if this attribute is
> available and use it only if it is?

Well, yes it'd be better.  Although in this case, it's not terribly needed,
since we only support GCC and nowadays nobody would use a snapshot from
in-between 4.2 and 4.3.

Robert Millan

  "Be the change you want to see in the world" -- Gandhi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]