Hi Jonathan, thanks a lot: googling for "gcc attributes"" I never hit any gcc manual page, instead, the type of pages I always found look like this one <http://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html#Variable-Attributes> Chris On Thu, May 10, 2012 at 2:50 PM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: > On 10 May 2012 20:18, Christian Sasso wrote: >> Hi Ian, thanks a lot for your help. >> >> I wonder how you figured out what's the first version of gcc that >> supports no-attributes, and similarly, how did you find out that >> cleanup works in 3.4.3? Reading the on-line manuals doesn't really >> provide such information. Did you look at the gcc logs? > > I don't know how Ian figured it out, but you can figure it out from > the online manuals. > > The manual for GCC 4.0 doesn't list -Wno-attributes: > http://gcc.gnu.org/onlinedocs/gcc-4.0.4/gcc/Option-Summary.html > > The manual for GCC 4.1 does: > http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Option-Summary.html > > So it's a good bet it was first available in GCC 4.1