[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Few Warnings?
Hi,
Lloyd, thanks for the email, the installation is now OK. But, I am
bit curious about a few warnings:
Anyone?
-I/nsallinone/ns-2/../tk8.0/generic -I../tcl8.0/generic -o ll.o ll.cc
ll.cc: In method `void LL::recv(class Packet *, class Handler *)':
ll.cc:137: warning: unused variable `char * mh'
c++ -c -g -Wall -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -mv8 -msupersparc
-D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H
-DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H
-DHAVE_LIBTCL8_0 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1
-DHAVE_TCL_H=1 -DHAVE_LIBTCL8_0=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1
-DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A4=1 -DHAVE_TCLCL_H=1
-DHAVE_LIBTCLCL1_0B8=1 -DHAVE_GETRUSAGE=1 -DHAVE_SBRK=1 -DHAVE_STRTOLL=1
-DHAVE_LIBDL=1 -I. -I../TclCL -I../otcl
-I/nsallinone/ns-2/../tk8.0/generic -I../tcl8.0/generic -o mac-802_11.o
mac-802_11.cc
mac-802_11.cc: In method `int Mac802_11::check_pktCTRL()':
mac-802_11.cc:673: warning: unused variable `struct hdr_mac802_11 * dh'
mac-802_11.cc: In method `int Mac802_11::check_pktRTS()':
mac-802_11.cc:713: warning: unused variable `struct hdr_mac802_11 * dh'
mac-802_11.cc: In method `int Mac802_11::check_pktTx()':
mac-802_11.cc:762: warning: unused variable `struct hdr_mac802_11 * dh'
c++ -c -g -Wall -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -mv8 -msupersparc
-D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H
-DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H
-DHAVE_LIBTCL8_0 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1
-DHAVE_TCL_H=1 -DHAVE_LIBTCL8_0=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1
-DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A4=1 -DHAVE_TCLCL_H=1
-DHAVE_LIBTCLCL1_0B8=1 -DHAVE_GETRUSAGE=1 -DHAVE_SBRK=1 -DHAVE_STRTOLL=1
-DHAVE_LIBDL=1 -I. -I../TclCL -I../otcl
:
:
-I/nsallinone/ns-2/../tk8.0/generic -I../tcl8.0/generic -o ll.o ll.cc
ll.cc: In method `void LL::recv(class Packet *, class Handler *)':
ll.cc:137: warning: unused variable `char * mh'
c++ -c -g -Wall -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -mv8 -msupersparc
-D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H
-DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H
-DHAVE_LIBTCL8_0 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1
-DHAVE_TCL_H=1 -DHAVE_LIBTCL8_0=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1
-DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A4=1 -DHAVE_TCLCL_H=1
-DHAVE_LIBTCLCL1_0B8=1 -DHAVE_GETRUSAGE=1 -DHAVE_SBRK=1 -DHAVE_STRTOLL=1
-DHAVE_LIBDL=1 -I. -I../TclCL -I../otcl
-I/nsallinone/ns-2/../tk8.0/generic -I../tcl8.0/generic -o mac-802_11.o
mac-802_11.cc
mac-802_11.cc: In method `int Mac802_11::check_pktCTRL()':
mac-802_11.cc:673: warning: unused variable `struct hdr_mac802_11 * dh'
mac-802_11.cc: In method `int Mac802_11::check_pktRTS()':
mac-802_11.cc:713: warning: unused variable `struct hdr_mac802_11 * dh'
mac-802_11.cc: In method `int Mac802_11::check_pktTx()':
mac-802_11.cc:762: warning: unused variable `struct hdr_mac802_11 * dh'
c++ -c -g -Wall -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -mv8 -msupersparc
-D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H
-DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H
-DHAVE_LIBTCL8_0 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1
-DHAVE_TCL_H=1 -DHAVE_LIBTCL8_0=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1
-DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A4=1 -DHAVE_TCLCL_H=1
-DHAVE_LIBTCLCL1_0B8=1 -DHAVE_GETRUSAGE=1 -DHAVE_SBRK=1 -DHAVE_STRTOLL=1
-DHAVE_LIBDL=1 -I. -I../TclCL -I../otcl
Thanks.
harlisya