[Ns-developers] More gratuitous API breakage in ns-3-dev

Gustavo Carneiro gjcarneiro at gmail.com
Wed Jul 9 02:34:39 PDT 2008


2008/7/9 Mathieu Lacage <mathieu.lacage at sophia.inria.fr>:

>
> On Tue, 2008-07-08 at 23:49 +0100, Gustavo Carneiro wrote:
>
> >
> >         sounds good to me. I will hack something like that in a day or
> >         two in
> >         src/core/deprecated.h unless someone yells about it.
> >
> > I was thinking that maybe it would be better to just pass command line
> > -DNS3_DEPRECATED="__attribute__ ((deprecated))" command line option;
> > this way we avoid having to include a deprecated.h header every time
> > we want to use it.  Just as a minor convenience...
>
> I am worried that this will force the users of the library to define
> that macro themselves, so, I would tend to avoid it.


Yes, good point.

-- 
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert


More information about the Ns-developers mailing list