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