[Ns-developers] Deprecated Attribute?
craigdo@ee.washington.edu
craigdo at ee.washington.edu
Tue Jul 22 15:19:46 PDT 2008
> > > 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.
>
> This is true. But unless I missed something, the code checks if the
> -Wno-error=... option can be used, but doesn't make
> DEPRECATED a noop if it
> cannot be used. If that is the desired behaviour (and I
> think it is) then
> some more simple work is needed on top of that. I volunteer
> to take care of
> it.
Yes, I think this is the desired behavior. As it stands, if I edit one of
our examples to call SetChannelParameter, the build will fail on
ns-regression:
../examples/udp-echo.cc:91: warning: â?~SetChannelParameterâ?T is deprecated
(de
clared at debug/ns3/csma-helper.h:84)
Build failed
-> task failed (err #129):
[bld:///home/craigdo/repos/ns-3-dev/examples/udp-ech
o_8.o]
-- Craig
More information about the Ns-developers
mailing list