[Ns-developers] Deprecated Attribute?

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Tue Jul 22 14:50:49 PDT 2008


On Tue, 2008-07-22 at 22:40 +0100, Gustavo Carneiro wrote:


>         I would not mind but I just realized that I don't understand
>         why we are
>         using that flag. Why are we actually using
>         -Wno-error=deprecated-declarations ?
> 
> Because we are using -Werror, which would turn deprecation warnings
> into compilation errors.  What would be the point of a deprecation
> warning if the build would fail anyway?  Deprecations are meant to

Yes, but we don't use these deprecated functions ourselves and we want
to make sure that we _don't_ use them, so, why would we use this flag ?

Mathieu



More information about the Ns-developers mailing list