[ns] warning:deprecated conversion from string constant to 'char*
J S
geekreader at gmail.com
Thu Aug 21 10:48:09 PDT 2008
Thanks, In the same tutorial, in the OCTL linkage sub section,
it is mentioned that
that one needs to set the default value for that variable exported in C++ in
the "ns-2/tcl/lib/ns-lib.tcl" file
Does any one has any example that how can I set the default value of the
variable?
Thanks again
JS
On Thu, Aug 21, 2008 at 1:34 PM, Narcissus <yelohuang at gmail.com> wrote:
>
> Hi,
> Just ignore this warnings of imperfect coding, your ns will work well.
>
> 2008/8/22 J S <geekreader at gmail.com>
>
> >
> > Hello I am new to ns.
> >
> > I have been following "NS by example tutorial" from
> > http://nile.wpi.edu/NS/
> >
> > In the sub-section extending NS (for user define agents), While using
> make,
> > I am getting bunch of warnings
> >
> > ./common/packet.h:: warning: deprecated conversion from string constant
> to
> > 'char*'
> >
> > I am using ubuntu.
> >
> > Any help in this matter is appreciated
> >
> > Thanks you
> >
>
>
>
> --
> Regards
> NarcissusHuang
>
More information about the Ns-users
mailing list