Hi there, have nice days !
I am implementing 'protoname' from Mr Francisco's manual 
[masimum.inf.um.es/nsrt-howto/pdf/nsrt-howto.pdf]
I have made all the changes as directed, and get the following result in 
response to 'make' command:

../common/packet.h:279: warning: deprecated conversion from string constant to 
‘char*’
g++ -c -Wall  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG 
-DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 
-DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H  
-DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std 
-DUSE_SINGLE_ADDRESS_SPACE -
....
common/packet.h:279: warning: deprecated conversion from string constant to 
‘char*’
common/ptypes2tcl.cc: In function ‘int main()’:
common/ptypes2tcl.cc:45: warning: deprecated conversion from string constant to 
‘char*’
common/ptypes2tcl.cc:47: warning: deprecated conversion from string constant to 
‘char*’
....
make[1]: Entering directory 
`/root/ns-allinone-2.32/ns-2.32/indep-utils/webtrace-conv/epa'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/root/ns-allinone-2.32/ns-2.32/indep-utils/webtrace-conv/epa'
make[1]: Entering directory 
`/root/ns-allinone-2.32/ns-2.32/indep-utils/webtrace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/root/ns-allinone-2.32/ns-2.32/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory 
`/root/ns-allinone-2.32/ns-2.32/indep-utils/webtrace-conv/ucb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/root/ns-allinone-2.32/ns-2.32/indep-utils/webtrace-conv/ucb'
[r...@localhost ns-2.32]# 

please help, specially this warning:
 warning: deprecated conversion from string constant to ‘char*’

Regards



      

Reply via email to