[Ns-developers] Deprecated Attribute?

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Tue Jul 22 12:41:19 PDT 2008


On Tue, 2008-07-22 at 12:23 -0700, craigdo at ee.washington.edu wrote:
> I've been trying to track down when the -Wno-error= feature became available
> in gcc.  It is not in the gcc 4.1.2 manual.  It is in the gcc 4.2.4 manual.
> The addition of the feature doesn't appear in the gcc 4.2 release series
> "changes, new features and fixes" documentation, though, but I do find it in
> an old gcc 4.2.0 warning options page.
>  
> I didn't get a reaction when I wrote this in another email; but it does mean
> that the first time someone actually checks in a change using the deprecated

We already use it.

> attribute, we effectively set a requirement for gcc >= 4.2.0 on our builds.

We already (thanks gustavo) have logic in place to make the DEPRECATED
macro a noop with gcc <= 4.1. See check_compilation_flag in the
top-level wscript.

regards,
Mathieu




More information about the Ns-developers mailing list