Diff of the two buildlogs: -- --- b1/build.log 2025-04-13 13:42:59.156640558 +0000 +++ b2/build.log 2025-04-13 14:28:23.045780664 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Apr 13 00:47:35 -12 2025 -I: pbuilder-time-stamp: 1744548455 +I: Current time: Mon Apr 14 03:44:54 +14 2025 +I: pbuilder-time-stamp: 1744551894 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -36,52 +36,84 @@ dpkg-source: info: applying 0013-add-placeholders-to-flags.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/21256/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/5461/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 13 13:45 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/5461/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/5461/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='8c97ecfc35f04effbd20397076b7761c' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='21256' - PS1='# ' - PS2='> ' + INVOCATION_ID=00394f67bb9b4b648e11a7ce7187f191 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=5461 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.1EGJludg/pbuilderrc_PKkY --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1EGJludg/b1 --logfile b1/build.log ns2_2.35+dfsg-9.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.1EGJludg/pbuilderrc_qDOA --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1EGJludg/b2 --logfile b2/build.log ns2_2.35+dfsg-9.dsc' + SUDO_GID=110 + SUDO_UID=103 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32a 6.1.0-33-armmp-lpae #1 SMP Debian 6.1.133-1 (2025-04-10) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-33-arm64 #1 SMP Debian 6.1.133-1 (2025-04-10) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/21256/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/5461/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -237,7 +269,7 @@ Get: 100 http://deb.debian.org/debian trixie/main armhf x11proto-core-dev all 2024.1-1 [3312 B] Get: 101 http://deb.debian.org/debian trixie/main armhf tk8.6-dev armhf 8.6.16-1 [726 kB] Get: 102 http://deb.debian.org/debian trixie/main armhf tk-dev armhf 8.6.16 [3964 B] -Fetched 27.8 MB in 1s (26.2 MB/s) +Fetched 27.8 MB in 3s (11.1 MB/s) Preconfiguring packages ... Selecting previously unselected package sgml-base. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19556 files and directories currently installed.) @@ -568,8 +600,8 @@ Setting up tzdata (2025b-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Apr 13 12:48:20 UTC 2025. -Universal Time is now: Sun Apr 13 12:48:20 UTC 2025. +Local time is now: Sun Apr 13 13:45:38 UTC 2025. +Universal Time is now: Sun Apr 13 13:45:38 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up xtrans-dev (1.4.0-1) ... @@ -669,7 +701,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ns2-2.35+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ns2_2.35+dfsg-9_source.changes +I: user script /srv/workspace/pbuilder/5461/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/5461/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ns2-2.35+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ns2_2.35+dfsg-9_source.changes dpkg-buildpackage: info: source package ns2 dpkg-buildpackage: info: source version 2.35+dfsg-9 dpkg-buildpackage: info: source distribution unstable @@ -803,7 +839,7 @@ checking for long long... no checking for int64_t... yes checking which kind of 64-bit int to use... int64_t -checking system version (for dynamic loading)... Linux-6.1.0-33-armmp-lpae +checking system version (for dynamic loading)... Linux-6.1.0-33-arm64 checking for dlopen in -ldl... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes @@ -819,7 +855,7 @@ checking to make nse... yes Explicitly disabling static compilation checking for dlopen in -ldl... (cached) yes -checking system version (for system-dependent libraries)... Linux-6.1.0-33-armmp-lpae +checking system version (for system-dependent libraries)... Linux-6.1.0-33-arm64 checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile @@ -833,7 +869,7 @@ creating ./gen make[1]: Leaving directory '/build/reproducible-path/ns2-2.35+dfsg' dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/reproducible-path/ns2-2.35+dfsg' gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/linux/tcp_naivereno.o tcp/linux/tcp_naivereno.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/linux/src/tcp_cong.o tcp/linux/src/tcp_cong.c @@ -855,9 +891,11 @@ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/random.o tools/random.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/rng.o tools/rng.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/ranvar.o tools/ranvar.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/misc.o common/misc.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from tools/random.cc:40: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -880,18 +918,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from tools/random.h:42, - from tools/random.cc:41: -tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ In file included from ./config.h:60, - from tools/rng.h:72, - from tools/rng.cc:71: + from tools/random.h:41, + from tools/ranvar.h:52, + from tools/ranvar.cc:48: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -916,13 +946,12 @@ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ +In file included from tools/random.h:42: tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ In file included from ./config.h:60, - from tools/random.h:41, - from tools/ranvar.h:52, - from tools/ranvar.cc:48: + from common/misc.cc:48: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -943,22 +972,22 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +In file included from ./config.h:60, + from tools/rng.h:72, + from tools/rng.cc:71: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ -In file included from tools/random.h:42: -tools/rng.h:115:14: note: by 'void RNG::init()' +In file included from ./tools/random.h:42, + from common/misc.cc:50: +./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/misc.o common/misc.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from ./config.h:60, - from common/misc.cc:48: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ In file included from /usr/include/tclcl/tclcl.h:42: /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); @@ -979,22 +1008,20 @@ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ -In file included from ./tools/random.h:42, - from common/misc.cc:50: -./tools/rng.h:115:14: note: by 'void RNG::init()' +In file included from tools/random.h:42, + from tools/random.cc:41: +tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -tools/rng.cc: In constructor 'RNG::RNG(const char*)': -tools/rng.cc:856:26: warning: array subscript 100 is above array bounds of 'char [100]' [-Warray-bounds=] - 856 | name_[100] = 0; - | ~~~~~~~~~^ -tools/rng.h:333:14: note: while referencing 'RNG::name_' - 333 | char name_[100]; - | ^~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/timer-handler.o common/timer-handler.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/scheduler.o common/scheduler.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from common/scheduler.h:40, from common/timer-handler.h:54, @@ -1019,9 +1046,9 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/object.o common/object.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/scheduler.o common/scheduler.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/packet.o common/packet.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/object.o common/object.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from common/scheduler.h:40, @@ -1047,9 +1074,16 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +tools/rng.cc: In constructor 'RNG::RNG(const char*)': +tools/rng.cc:856:26: warning: array subscript 100 is above array bounds of 'char [100]' [-Warray-bounds=] + 856 | name_[100] = 0; + | ~~~~~~~~~^ +tools/rng.h:333:14: note: while referencing 'RNG::name_' + 333 | char name_[100]; + | ^~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/packet.o common/packet.cc In file included from ./config.h:60, - from common/packet.h:43, - from common/packet.cc:40: + from common/scheduler.cc:46: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -1070,8 +1104,26 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from common/scheduler.cc:52: +./tools/mem-trace.h: In member function 'void MemTrace::diff(char*)': +./tools/mem-trace.h:119:54: warning: format '%ld' expects argument of type 'long int', but argument 4 has type '__time64_t' {aka 'long long int'} [-Wformat=] + 119 | fprintf (stdout, "%s: utime/stime: %ld %ld \tstack/heap: %ld %ld\n", + | ~~^ + | | + | long int + | %lld +./tools/mem-trace.h:119:58: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time64_t' {aka 'long long int'} [-Wformat=] + 119 | fprintf (stdout, "%s: utime/stime: %ld %ld \tstack/heap: %ld %ld\n", + | ~~^ + | | + | long int + | %lld +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/ip.o common/ip.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from common/scheduler.cc:46: + from common/packet.h:43, + from common/packet.cc:40: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -1092,22 +1144,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/ip.o common/ip.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from common/scheduler.cc:52: -./tools/mem-trace.h: In member function 'void MemTrace::diff(char*)': -./tools/mem-trace.h:119:54: warning: format '%ld' expects argument of type 'long int', but argument 4 has type '__time64_t' {aka 'long long int'} [-Wformat=] - 119 | fprintf (stdout, "%s: utime/stime: %ld %ld \tstack/heap: %ld %ld\n", - | ~~^ - | | - | long int - | %lld -./tools/mem-trace.h:119:58: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time64_t' {aka 'long long int'} [-Wformat=] - 119 | fprintf (stdout, "%s: utime/stime: %ld %ld \tstack/heap: %ld %ld\n", - | ~~^ - | | - | long int - | %lld g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routing/route.o routing/route.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, @@ -1134,7 +1170,6 @@ 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/connector.o common/connector.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from routing/route.cc:47: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -1157,6 +1192,9 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/ttl.o common/ttl.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from common/packet.h:43, from common/connector.cc:40: @@ -1180,8 +1218,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/ttl.o common/ttl.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from common/packet.h:43, from common/ttl.cc:40: @@ -1206,8 +1242,8 @@ 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o trace/trace.o trace/trace.cc -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o trace/trace-ip.o trace/trace-ip.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o trace/trace-ip.o trace/trace-ip.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ trace/trace.cc:166:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 166 | "v "TIME_FORMAT" -e {sim_annotation %g %s}", @@ -1239,6 +1275,7 @@ trace/trace.cc:465:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 465 | sprintf(pt_->buffer(), "%c t"TIME_FORMAT" a%s n%s v%s", | ^ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier.o classifier/classifier.cc trace/trace.cc:558:33: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 558 | "%c -t "TIME_FORMAT" -s %d -d %d -p %s -e %d -c %d -i %d -a %d -x {%s.%s %s.%s %d %s %s}", | ^ @@ -1268,6 +1305,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from trace/trace.cc:39: @@ -1291,8 +1329,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier.o classifier/classifier.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./mac/phy.h:54, from ./common/node.h:57, from ./sctp/sctp.h:47, @@ -1401,8 +1437,6 @@ | ^ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-addr.o classifier/classifier-addr.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-hash.o classifier/classifier-hash.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from classifier/classifier-addr.h:33, from classifier/classifier-addr.cc:40: @@ -1426,6 +1460,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-hash.o classifier/classifier-hash.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-virtual.o classifier/classifier-virtual.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from classifier/classifier-hash.cc:53: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -1457,10 +1495,6 @@ classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-virtual.o classifier/classifier-virtual.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-mcast.o classifier/classifier-mcast.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from classifier/classifier-virtual.cc:43: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -1483,6 +1517,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-mcast.o classifier/classifier-mcast.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from classifier/classifier-mcast.cc:41: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -1509,8 +1545,13 @@ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-mpath.o classifier/classifier-mpath.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/replicator.o mcast/replicator.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from classifier/classifier-bst.cc:55: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from classifier/classifier.h:40, + from classifier/classifier-mpath.cc:52: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -1534,8 +1575,30 @@ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, - from classifier/classifier.h:40, - from classifier/classifier-mpath.cc:52: + from ./classifier/classifier.h:40, + from mcast/replicator.cc:41: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +In file included from ./config.h:60, + from classifier/classifier-bst.cc:55: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -1556,10 +1619,12 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/replicator.o mcast/replicator.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-mac.o classifier/classifier-mac.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-qs.o classifier/classifier-qs.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-port.o classifier/classifier-port.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -1570,10 +1635,8 @@ 90 | virtual void trace(); | ^~~~~ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./classifier/classifier.h:40, - from mcast/replicator.cc:41: + from ./common/packet.h:43, + from classifier/classifier-mac.cc:42: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -1595,8 +1658,8 @@ 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ In file included from ./config.h:60, - from ./common/packet.h:43, - from classifier/classifier-mac.cc:42: + from classifier/classifier-port.h:54, + from classifier/classifier-port.cc:54: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -1617,9 +1680,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-qs.o classifier/classifier-qs.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-port.o classifier/classifier-port.cc /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -1634,7 +1694,6 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ @@ -1677,9 +1736,15 @@ ./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' 178 | virtual void sendDown(Packet* p); | ^~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o src_rtg/classifier-sr.o src_rtg/classifier-sr.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o src_rtg/sragent.o src_rtg/sragent.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o src_rtg/hdr_src.o src_rtg/hdr_src.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from classifier/classifier-port.h:54, - from classifier/classifier-port.cc:54: + from classifier/classifier-addr.h:33, + from classifier/classifier-qs.cc:62: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -1700,13 +1765,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o src_rtg/classifier-sr.o src_rtg/classifier-sr.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o src_rtg/sragent.o src_rtg/sragent.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from classifier/classifier-addr.h:33, - from classifier/classifier-qs.cc:62: + from ./common/packet.h:43, + from src_rtg/hdr_src.h:44, + from src_rtg/hdr_src.cc:40: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -1727,7 +1789,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o src_rtg/hdr_src.o src_rtg/hdr_src.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/ump.o adc/ump.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o qs/qsagent.o qs/qsagent.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -1752,7 +1817,29 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from ./config.h:60, + from adc/ump.h:40, + from adc/ump.cc:37: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -1816,6 +1903,8 @@ ./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' 141 | void format(Packet *p, const char *why); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o qs/hdr_qs.o qs/hdr_qs.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./classifier/classifier-addr.h:33, from src_rtg/classifier-sr.cc:39: @@ -1839,10 +1928,21 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from src_rtg/sragent.h:46, + from src_rtg/classifier-sr.h:43, + from src_rtg/classifier-sr.cc:40: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ In file included from ./config.h:60, from ./common/packet.h:43, - from src_rtg/hdr_src.h:44, - from src_rtg/hdr_src.cc:40: + from qs/hdr_qs.h:66, + from qs/hdr_qs.cc:62: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -1863,19 +1963,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/ump.o adc/ump.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from src_rtg/sragent.h:46, - from src_rtg/classifier-sr.h:43, - from src_rtg/classifier-sr.cc:40: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ In file included from ./classifier/classifier-addr.h:36: ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] 75 | virtual void set_table_size(int level, int nn); @@ -1890,8 +1977,9 @@ 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ In file included from ./config.h:60, - from adc/ump.h:40, - from adc/ump.cc:37: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from qs/qsagent.cc:67: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -1912,14 +2000,22 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o qs/qsagent.o qs/qsagent.cc +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from qs/qsagent.cc:76: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/app.o apps/app.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o qs/hdr_qs.o qs/hdr_qs.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/telnet.o apps/telnet.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/packet.h:43, - from qs/hdr_qs.h:66, - from qs/hdr_qs.cc:62: + from apps/app.h:41, + from apps/app.cc:38: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -1940,12 +2036,13 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/app.o apps/app.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcplib-telnet.o tcp/tcplib-telnet.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/trafgen.o tools/trafgen.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from qs/qsagent.cc:67: + from ./tools/random.h:41, + from apps/telnet.cc:37: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -1970,41 +2067,14 @@ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ -In file included from ./tools/random.h:42, - from qs/qsagent.cc:76: +In file included from ./tools/random.h:42: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ In file included from ./config.h:60, - from apps/app.h:41, - from apps/app.cc:38: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/telnet.o apps/telnet.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcplib-telnet.o tcp/tcplib-telnet.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from ./config.h:60, - from ./tools/random.h:41, - from apps/telnet.cc:37: + from ./apps/app.h:41, + from tools/trafgen.h:50, + from tools/trafgen.cc:38: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2025,14 +2095,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ In file included from ./config.h:60, from ./tools/random.h:41, from tcp/tcplib-telnet.cc:6: @@ -2064,16 +2126,16 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/trafgen.o tools/trafgen.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o trace/traffictrace.o trace/traffictrace.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/pareto.o tools/pareto.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/expoo.o tools/expoo.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/cbr_traffic.o tools/cbr_traffic.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./apps/app.h:41, - from tools/trafgen.h:50, - from tools/trafgen.cc:38: + from trace/traffictrace.cc:56: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2094,10 +2156,9 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/expoo.o tools/expoo.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from trace/traffictrace.cc:56: + from tools/random.h:41, + from tools/expoo.cc:49: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2153,6 +2214,14 @@ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ +In file included from tools/random.h:42: +tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ In file included from ./tools/random.h:42, from trace/traffictrace.cc:62: ./tools/rng.h:115:14: note: by 'void RNG::init()' @@ -2174,7 +2243,7 @@ | ^~~~ In file included from ./config.h:60, from tools/random.h:41, - from tools/expoo.cc:49: + from tools/cbr_traffic.cc:44: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2203,12 +2272,14 @@ tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/cbr_traffic.o tools/cbr_traffic.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/tbf.o adc/tbf.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/resv.o adc/resv.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/sa.o adc/sa.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/saack.o tcp/saack.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -2257,11 +2328,14 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/sa.o adc/sa.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/measuremod.o tools/measuremod.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from tools/random.h:41, - from tools/cbr_traffic.cc:44: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from ./common/agent.h:40, + from tcp/saack.cc:47: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2282,14 +2356,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from tools/random.h:42: -tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -2317,16 +2383,9 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/saack.o tcp/saack.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/measuremod.o tools/measuremod.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from ./common/agent.h:40, - from tcp/saack.cc:47: + from ./common/packet.h:43, + from tools/measuremod.cc:47: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2347,6 +2406,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/estimator.o adc/estimator.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/adc.o adc/adc.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -2357,9 +2420,13 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/ms-adc.o adc/ms-adc.cc In file included from ./config.h:60, - from ./common/packet.h:43, - from tools/measuremod.cc:47: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from adc/estimator.h:49, + from adc/estimator.cc:46: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2380,16 +2447,14 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/estimator.o adc/estimator.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/adc.o adc/adc.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, from ./common/connector.h:40, from adc/estimator.h:49, - from adc/estimator.cc:46: + from adc/adc.h:47, + from adc/adc.cc:46: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2416,7 +2481,7 @@ from ./common/connector.h:40, from adc/estimator.h:49, from adc/adc.h:47, - from adc/adc.cc:46: + from adc/ms-adc.cc:48: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2437,23 +2502,11 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/ms-adc.o adc/ms-adc.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/timewindow-est.o adc/timewindow-est.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/acto-adc.o adc/acto-adc.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from adc/estimator.h:49, - from adc/adc.h:47, - from adc/ms-adc.cc:48: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/pointsample-est.o adc/pointsample-est.cc In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -2464,6 +2517,7 @@ /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from /usr/include/tclcl/tclcl.h:42: /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); @@ -2471,7 +2525,6 @@ /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ @@ -2481,12 +2534,28 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/salink.o adc/salink.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/actp-adc.o adc/actp-adc.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from ./config.h:60, + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from adc/estimator.h:49, + from adc/adc.h:47, + from adc/acto-adc.cc:49: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ @@ -2496,15 +2565,12 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/pointsample-est.o adc/pointsample-est.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, from ./common/connector.h:40, from adc/estimator.h:49, - from adc/adc.h:47, - from adc/acto-adc.cc:49: + from adc/pointsample-est.cc:46: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2525,8 +2591,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/salink.o adc/salink.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from adc/salink.cc:44: @@ -2555,7 +2619,8 @@ from ./common/object.h:40, from ./common/connector.h:40, from adc/estimator.h:49, - from adc/pointsample-est.cc:46: + from adc/adc.h:47, + from adc/actp-adc.cc:49: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2591,11 +2656,13 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/actp-adc.o adc/actp-adc.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/hb-adc.o adc/hb-adc.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/expavg-est.o adc/expavg-est.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/param-adc.o adc/param-adc.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/null-estimator.o adc/null-estimator.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, @@ -2603,7 +2670,7 @@ from ./common/connector.h:40, from adc/estimator.h:49, from adc/adc.h:47, - from adc/actp-adc.cc:49: + from adc/param-adc.cc:52: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2656,7 +2723,7 @@ from ./common/object.h:40, from ./common/connector.h:40, from adc/estimator.h:49, - from adc/expavg-est.cc:48: + from adc/null-estimator.cc:50: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2677,45 +2744,16 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/param-adc.o adc/param-adc.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/null-estimator.o adc/null-estimator.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/adaptive-receiver.o adc/adaptive-receiver.cc -In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from adc/estimator.h:49, - from adc/adc.h:47, - from adc/param-adc.cc:52: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/vatrcvr.o apps/vatrcvr.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, from ./common/connector.h:40, from adc/estimator.h:49, - from adc/null-estimator.cc:50: + from adc/expavg-est.cc:48: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2736,10 +2774,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/vatrcvr.o apps/vatrcvr.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/consrcvr.o adc/consrcvr.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from adc/adaptive-receiver.cc:47: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -2788,32 +2822,9 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from ./common/agent.h:40, - from adc/consrcvr.cc:47: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/consrcvr.o adc/consrcvr.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/agent.o common/agent.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ apps/vatrcvr.cc: In function 'int absdiff(int, int)': apps/vatrcvr.cc:116:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 116 | register int r = y - x; @@ -2847,18 +2858,37 @@ apps/vatrcvr.cc:250:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 250 | register u_int avgplay = playout_; | ^~~~~~~ -adc/consrcvr.cc: In member function 'virtual int ConsRcvr::adapt(Packet*, u_int32_t)': -adc/consrcvr.cc:88:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 88 | register u_int32_t tstamp = (int)ch->timestamp(); - | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ adc/adaptive-receiver.cc: In member function 'virtual void AdaptiveRcvr::recv(Packet*, Handler*)': adc/adaptive-receiver.cc:70:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 70 | register u_int32_t send_time = (int)ch->timestamp(); | ^~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/agent.o common/agent.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/message.o common/message.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from ./config.h:60, + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from ./common/agent.h:40, + from adc/consrcvr.cc:47: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ common/agent.cc:213:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 213 | sprintf(wrk, "f -t "TIME_FORMAT" -s %d -d %d -n %s -a %s -o %s -T v -x", | ^ @@ -2877,14 +2907,14 @@ common/agent.cc:333:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 333 | sprintf(wrk, "a -t "TIME_FORMAT" -s %d -d %d -n %s", | ^ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/udp.o apps/udp.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/message.o common/message.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +adc/consrcvr.cc: In member function 'virtual int ConsRcvr::adapt(Packet*, u_int32_t)': +adc/consrcvr.cc:88:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 88 | register u_int32_t tstamp = (int)ch->timestamp(); + | ^~~~~~ In file included from ./config.h:60, - from common/scheduler.h:40, - from common/object.h:40, - from common/connector.h:40, - from common/agent.h:40, - from common/message.cc:40: + from common/agent.cc:43: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2905,8 +2935,16 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/udp.o apps/udp.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/session-rtp.o common/session-rtp.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from common/agent.cc:43: + from common/scheduler.h:40, + from common/object.h:40, + from common/connector.h:40, + from common/agent.h:40, + from common/message.cc:40: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -2954,35 +2992,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from common/message.cc:41: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from apps/udp.cc:49: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -In file included from ./nix/nixnode.h:9, - from common/agent.cc:51: -./routealgo/rnode.h: At global scope: -./routealgo/rnode.h:38:23: warning: 'virtual nodeid_t RNode::GetNeighbor(Nix_t)' was hidden [-Woverloaded-virtual=] - 38 | virtual nodeid_t GetNeighbor(Nix_t);// Get neighbor from nix - | ^~~~~~~~~~~ -./nix/nixnode.h:44:21: note: by 'virtual nodeid_t NixNode::GetNeighbor(Nix_t, NixVec*)' - 44 | virtual nodeid_t GetNeighbor(Nix_t, NixVec*); // Get neighbor from nix - | ^~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/session-rtp.o common/session-rtp.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from common/packet.h:43, from common/session-rtp.cc:41: @@ -3006,6 +3015,33 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from common/message.cc:41: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +In file included from ./nix/nixnode.h:9, + from common/agent.cc:51: +./routealgo/rnode.h: At global scope: +./routealgo/rnode.h:38:23: warning: 'virtual nodeid_t RNode::GetNeighbor(Nix_t)' was hidden [-Woverloaded-virtual=] + 38 | virtual nodeid_t GetNeighbor(Nix_t);// Get neighbor from nix + | ^~~~~~~~~~~ +./nix/nixnode.h:44:21: note: by 'virtual nodeid_t NixNode::GetNeighbor(Nix_t, NixVec*)' + 44 | virtual nodeid_t GetNeighbor(Nix_t, NixVec*); // Get neighbor from nix + | ^~~~~~~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from apps/udp.cc:49: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ common/agent.cc: In member function 'void Agent::insertOldValue(TracedVar*, const char*)': common/agent.cc:254:16: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound depends on the length of the source argument [-Wstringop-truncation] 254 | strncpy(p->val_, value, min(strlen(value)+1, TRACEVAR_MAXVALUELENGTH)); @@ -3016,6 +3052,7 @@ common/agent.cc:57:22: note: in definition of macro 'min' 57 | #define min(a, b) (((a) < (b)) ? (a) : (b)) | ^ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/rtp.o apps/rtp.cc common/agent.cc: In member function 'virtual void Agent::trace(TracedVar*)': common/agent.cc:291:78: warning: '%s' directive writing up to 127 bytes into a region of size between 77 and 224 [-Wformat-overflow=] 291 | "f -t "TIME_FORMAT" -s %d -d %d -n %s -a %s -v %s -o %s -T v", @@ -3041,12 +3078,9 @@ common/agent.cc:57:22: note: in definition of macro 'min' 57 | #define min(a, b) (((a) < (b)) ? (a) : (b)) | ^ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/rtp.o apps/rtp.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/rtcp.o tcp/rtcp.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/ivs.o common/ivs.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from apps/rtp.cc:43: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -3069,6 +3103,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/ivs.o common/ivs.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from tcp/rtcp.cc:42: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -3091,6 +3127,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/messpass.o common/messpass.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -3100,6 +3138,33 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +In file included from ./config.h:60, + from common/scheduler.h:40, + from common/object.h:40, + from common/connector.h:40, + from common/agent.h:40, + from common/messpass.h:4, + from common/messpass.cc:6: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -3142,37 +3207,19 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/messpass.o common/messpass.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from common/messpass.cc:8: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/tp.o common/tp.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from ./config.h:60, - from common/scheduler.h:40, - from common/object.h:40, - from common/connector.h:40, - from common/agent.h:40, - from common/messpass.h:4, - from common/messpass.cc:6: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/tpm.o common/tpm.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from common/scheduler.h:40, from common/object.h:40, @@ -3200,8 +3247,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/tpm.o common/tpm.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ common/agent.h: At global scope: common/agent.h:97:22: warning: 'virtual void Agent::sendto(int, const char*, ns_addr_t)' was hidden [-Woverloaded-virtual=] 97 | virtual void sendto(int nbytes, const char* flags, ns_addr_t dst); @@ -3227,15 +3272,6 @@ common/tp.h:15:16: note: by 'virtual void TPAgent::sendto(int, unsigned int, int, unsigned int, int)' 15 | virtual void sendto(int nbytes, unsigned int saddr, int sport, unsigned int daddr, int dport); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from common/messpass.cc:8: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ In file included from ./config.h:60, from common/scheduler.h:40, from common/object.h:40, @@ -3264,6 +3300,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/worm.o apps/worm.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ common/agent.h: At global scope: common/agent.h:97:22: warning: 'virtual void Agent::sendto(int, const char*, ns_addr_t)' was hidden [-Woverloaded-virtual=] 97 | virtual void sendto(int nbytes, const char* flags, ns_addr_t dst); @@ -3295,6 +3333,8 @@ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 122 | &time, &saddr, &sport, &daddr, &dport, &len); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp.o tcp/tcp.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ @@ -3303,10 +3343,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/worm.o apps/worm.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp.o tcp/tcp.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-sink.o tcp/tcp-sink.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, @@ -3363,6 +3399,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-reno.o tcp/tcp-reno.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -3395,22 +3433,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -tcp/tcp-sink.cc: In member function 'void SackStack::reset()': -tcp/tcp-sink.cc:498:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 498 | register int i; - | ^ -tcp/tcp-sink.cc: In member function 'void SackStack::push(int)': -tcp/tcp-sink.cc:507:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 507 | register int i; - | ^ -tcp/tcp-sink.cc: In member function 'void SackStack::pop(int)': -tcp/tcp-sink.cc:514:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 514 | register int i; - | ^ -tcp/tcp-sink.cc: In constructor 'SackStack::SackStack(int)': -tcp/tcp-sink.cc:524:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 524 | register int i; - | ^ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -3445,8 +3467,6 @@ tcp/tcp.cc:587:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 587 | register short delta; | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-reno.o tcp/tcp-reno.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ip.h:41, from tcp/tcp-reno.cc:29: @@ -3470,6 +3490,22 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +tcp/tcp-sink.cc: In member function 'void SackStack::reset()': +tcp/tcp-sink.cc:498:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 498 | register int i; + | ^ +tcp/tcp-sink.cc: In member function 'void SackStack::push(int)': +tcp/tcp-sink.cc:507:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 507 | register int i; + | ^ +tcp/tcp-sink.cc: In member function 'void SackStack::pop(int)': +tcp/tcp-sink.cc:514:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 514 | register int i; + | ^ +tcp/tcp-sink.cc: In constructor 'SackStack::SackStack(int)': +tcp/tcp-sink.cc:524:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 524 | register int i; + | ^ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-newreno.o tcp/tcp-newreno.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-vegas.o tcp/tcp-vegas.cc @@ -3522,6 +3558,7 @@ | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-rbp.o tcp/tcp-rbp.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-full.o tcp/tcp-full.cc In file included from ./config.h:60, from ./common/ip.h:41, from tcp/tcp-rbp.cc:72: @@ -3536,6 +3573,7 @@ /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ @@ -3545,8 +3583,15 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-full.o tcp/tcp-full.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/rq.o tcp/rq.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +tcp/rq.cc: In member function 'void ReassemblyQueue::dumplist()': +tcp/rq.cc:236:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 236 | register seginfo* p = head_; + | ^ +tcp/rq.cc:261:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 261 | register seginfo* s = top_; + | ^ In file included from ./config.h:60, from ./common/ip.h:41, from tcp/tcp-full.cc:115: @@ -3570,8 +3615,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/rq.o tcp/rq.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o baytcp/tcp-full-bay.o baytcp/tcp-full-bay.cc /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -3581,19 +3625,11 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ tcp/tcp-full.cc: In member function 'void FullTcpAgent::newack(Packet*)': tcp/tcp-full.cc:1297:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1297 | register int ackno = tcph->ackno(); | ^~~~~ -tcp/rq.cc: In member function 'void ReassemblyQueue::dumplist()': -tcp/rq.cc:236:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 236 | register seginfo* p = head_; - | ^ -tcp/rq.cc:261:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 261 | register seginfo* s = top_; - | ^ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o baytcp/tcp-full-bay.o baytcp/tcp-full-bay.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o baytcp/ftpc.o baytcp/ftpc.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from baytcp/tcp-full-bay.cc:77: @@ -3627,6 +3663,8 @@ baytcp/tcp-full-bay.h:128:22: note: by 'virtual void BayTcpAppAgent::recv(Packet*, BayFullTcpAgent*, int)' 128 | virtual void recv(Packet*, BayFullTcpAgent*, int) {} | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o baytcp/ftps.o baytcp/ftps.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -3655,13 +3693,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -./common/agent.h: At global scope: -./common/agent.h:75:14: warning: 'virtual void Agent::recv(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 75 | void recv(Packet*, Handler*); - | ^~~~ -baytcp/tcp-full-bay.h:128:22: note: by 'virtual void BayTcpAppAgent::recv(Packet*, BayFullTcpAgent*, int)' - 128 | virtual void recv(Packet*, BayFullTcpAgent*, int) {} - | ^~~~ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ @@ -3674,24 +3705,13 @@ baytcp/tcp-full-bay.cc:547:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 547 | register int ackno = tcph->ackno(); | ^~~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from baytcp/ftpc.cc:43: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from baytcp/ftpc.cc:44: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); +./common/agent.h: At global scope: +./common/agent.h:75:14: warning: 'virtual void Agent::recv(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 75 | void recv(Packet*, Handler*); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o baytcp/ftps.o baytcp/ftps.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +baytcp/tcp-full-bay.h:128:22: note: by 'virtual void BayTcpAppAgent::recv(Packet*, BayFullTcpAgent*, int)' + 128 | virtual void recv(Packet*, BayFullTcpAgent*, int) {} + | ^~~~ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -3720,6 +3740,22 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from baytcp/ftpc.cc:43: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from baytcp/ftpc.cc:44: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ ./common/agent.h: At global scope: ./common/agent.h:75:14: warning: 'virtual void Agent::recv(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 75 | void recv(Packet*, Handler*); @@ -3745,8 +3781,6 @@ | ^~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/scoreboard.o tcp/scoreboard.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/scoreboard-rq.o tcp/scoreboard-rq.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -3775,6 +3809,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/scoreboard-rq.o tcp/scoreboard-rq.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -3808,11 +3844,9 @@ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-fack.o tcp/tcp-fack.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/scoreboard1.o tcp/scoreboard1.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ip.h:41, - from tcp/tcp-sack1.cc:28: + from tcp/tcp-fack.cc:29: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -3835,7 +3869,7 @@ | ^~~~~~ In file included from ./config.h:60, from ./common/ip.h:41, - from tcp/tcp-fack.cc:29: + from tcp/tcp-sack1.cc:28: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -3856,6 +3890,40 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/scoreboard1.o tcp/scoreboard1.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from tcp/tcp-fack.cc:33: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +tcp/tcp-fack.cc: In member function 'virtual void FackTcpAgent::send_much(int, int, int)': +tcp/tcp-fack.cc:302:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 302 | register int found, npacket = 0; + | ^~~~~ +tcp/tcp-fack.cc:302:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 302 | register int found, npacket = 0; + | ^~~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from tcp/tcp-sack1.cc:33: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +tcp/tcp-sack1.cc: In member function 'virtual void Sack1TcpAgent::send_much(int, int, int)': +tcp/tcp-sack1.cc:424:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 424 | register int found, npacket = 0; + | ^~~~~ +tcp/tcp-sack1.cc:424:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 424 | register int found, npacket = 0; + | ^~~~~~~ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -3884,40 +3952,14 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from tcp/tcp-sack1.cc:33: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -tcp/tcp-sack1.cc: In member function 'virtual void Sack1TcpAgent::send_much(int, int, int)': -tcp/tcp-sack1.cc:424:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 424 | register int found, npacket = 0; - | ^~~~~ -tcp/tcp-sack1.cc:424:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 424 | register int found, npacket = 0; - | ^~~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from tcp/tcp-fack.cc:33: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -tcp/tcp-fack.cc: In member function 'virtual void FackTcpAgent::send_much(int, int, int)': -tcp/tcp-fack.cc:302:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 302 | register int found, npacket = 0; - | ^~~~~ -tcp/tcp-fack.cc:302:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 302 | register int found, npacket = 0; - | ^~~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-linux.o tcp/tcp-linux.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/linux/ns-linux-util.o tcp/linux/ns-linux-util.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-asym.o tcp/tcp-asym.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-asym-sink.o tcp/tcp-asym-sink.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ip.h:41, from tcp/tcp-linux.cc:43: @@ -3941,12 +3983,59 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/linux/ns-linux-util.o tcp/linux/ns-linux-util.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-asym.o tcp/tcp-asym.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-asym-sink.o tcp/tcp-asym-sink.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-fs.o tcp/tcp-fs.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from ./config.h:60, + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from ./common/agent.h:40, + from tcp/tcp.h:38, + from tcp/tcp-asym.h:42, + from tcp/tcp-asym.cc:67: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +In file included from ./config.h:60, + from tcp/template.h:42, + from tcp/tcp-asym-sink.cc:64: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -3981,31 +4070,8 @@ from ./common/connector.h:40, from ./common/agent.h:40, from tcp/tcp.h:38, - from tcp/tcp-asym.h:42, - from tcp/tcp-asym.cc:67: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -In file included from ./config.h:60, - from tcp/template.h:42, - from tcp/tcp-asym-sink.cc:64: + from tcp/tcp-fs.h:41, + from tcp/tcp-fs.cc:19: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -4059,7 +4125,16 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-fs.o tcp/tcp-fs.cc +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from tcp/tcp-fs.h:44: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-asym-fs.o tcp/tcp-asym-fs.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, @@ -4067,8 +4142,8 @@ from ./common/connector.h:40, from ./common/agent.h:40, from tcp/tcp.h:38, - from tcp/tcp-fs.h:41, - from tcp/tcp-fs.cc:19: + from tcp/tcp-asym.h:42, + from tcp/tcp-asym-fs.cc:46: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -4089,8 +4164,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-asym-fs.o tcp/tcp-asym-fs.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-int.o tcp/tcp-int.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: @@ -4098,18 +4171,13 @@ 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ In file included from ./tools/random.h:42, - from tcp/tcp-fs.h:44: + from tcp/tcp-asym.h:45: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from ./common/agent.h:40, - from tcp/tcp.h:38, - from tcp/tcp-asym.h:42, - from tcp/tcp-asym-fs.cc:46: + from ./common/packet.h:43, + from tcp/tcp-int.cc:66: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -4130,9 +4198,17 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/chost.o tcp/chost.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-session.o tcp/tcp-session.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/packet.h:43, - from tcp/tcp-int.cc:66: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from ./common/agent.h:40, + from tcp/chost.h:37, + from tcp/chost.cc:41: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -4158,15 +4234,6 @@ 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ In file included from ./tools/random.h:42, - from tcp/tcp-asym.h:45: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, from tcp/tcp-fs.h:44, from tcp/chost.h:40, from tcp/tcp-int.cc:72: @@ -4180,43 +4247,27 @@ tcp/chost.h:82:14: note: by 'void CorresHost::opencwnd(int, IntTcpAgent*)' 82 | void opencwnd(int size, IntTcpAgent *sender=0); | ^~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/chost.o tcp/chost.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-session.o tcp/tcp-session.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from ./common/agent.h:40, - from tcp/chost.h:37, - from tcp/chost.cc:41: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/nilist.o tcp/nilist.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ +In file included from ./tools/random.h:42, + from tcp/tcp-fs.h:44, + from tcp/chost.h:40: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +In file included from tcp/chost.h:39: +tcp/tcp.h:229:22: warning: 'virtual void TcpAgent::opencwnd()' was hidden [-Woverloaded-virtual=] + 229 | virtual void opencwnd(); + | ^~~~~~~~ +tcp/chost.h:82:14: note: by 'void CorresHost::opencwnd(int, IntTcpAgent*)' + 82 | void opencwnd(int size, IntTcpAgent *sender=0); + | ^~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o sctp/sctp.o sctp/sctp.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ip.h:41, from tcp/tcp-session.cc:39: @@ -4228,12 +4279,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./tools/random.h:42, - from tcp/tcp-fs.h:44, - from tcp/chost.h:40: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } | ^~~~~~ @@ -4246,15 +4291,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from tcp/chost.h:39: -tcp/tcp.h:229:22: warning: 'virtual void TcpAgent::opencwnd()' was hidden [-Woverloaded-virtual=] - 229 | virtual void opencwnd(); - | ^~~~~~~~ -tcp/chost.h:82:14: note: by 'void CorresHost::opencwnd(int, IntTcpAgent*)' - 82 | void opencwnd(int size, IntTcpAgent *sender=0); - | ^~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o sctp/sctp.o sctp/sctp.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -4280,6 +4316,8 @@ tcp/tcp-session.cc:588:20: note: 's' declared here 588 | Scheduler& s = Scheduler::instance(); | ^ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/sctp_app1.o apps/sctp_app1.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ip.h:41, from sctp/sctp.cc:46: @@ -4359,10 +4397,6 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/sctp_app1.o apps/sctp_app1.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o sctp/sctp-timestamp.o sctp/sctp-timestamp.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./tools/random.h:41, from apps/sctp_app1.cc:43: @@ -4394,6 +4428,7 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o sctp/sctp-timestamp.o sctp/sctp-timestamp.cc In file included from ./mac/phy.h:54, from ./common/node.h:57, from ./sctp/sctp.h:47, @@ -4432,6 +4467,7 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./mac/ll.h:45, from ./mac/mac.h:47: ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] @@ -4465,6 +4501,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o sctp/sctp-hbAfterRto.o sctp/sctp-hbAfterRto.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./mac/phy.h:54, from ./common/node.h:57, from sctp/sctp.h:47, @@ -4496,7 +4534,7 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o sctp/sctp-hbAfterRto.o sctp/sctp-hbAfterRto.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o sctp/sctp-multipleFastRtx.o sctp/sctp-multipleFastRtx.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -4578,36 +4616,6 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -In file included from ./mac/ll.h:45, - from ./mac/mac.h:47: -./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] - 75 | virtual void set_table_size(int level, int nn); - | ^~~~~~~~~~~~~~ -In file included from ./routing/rtmodule.h:61, - from ./common/node.h:61: -./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' - 70 | void set_table_size(int nn); - | ^~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o sctp/sctp-multipleFastRtx.o sctp/sctp-multipleFastRtx.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o sctp/sctp-mfrHbAfterRto.o sctp/sctp-mfrHbAfterRto.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ip.h:41, from sctp/sctp-multipleFastRtx.cc:51: @@ -4631,29 +4639,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./config.h:60, - from ./common/ip.h:41, - from sctp/sctp-mfrHbAfterRto.cc:58: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ In file included from ./mac/phy.h:54, from ./common/node.h:57, from sctp/sctp.h:47, @@ -4685,38 +4670,6 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -In file included from ./mac/phy.h:54, - from ./common/node.h:57, - from sctp/sctp.h:47, - from sctp/sctp-multipleFastRtx.h:51, - from sctp/sctp-mfrHbAfterRto.h:58, - from sctp/sctp-mfrHbAfterRto.cc:59: -./common/bi-connector.h: At global scope: -./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 57 | inline virtual void sendUp(Packet* p, Handler* h) - | ^~~~~~ -In file included from ./mac/phy.h:62: -./mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' - 179 | virtual void sendUp(Packet *p); - | ^~~~~~ -./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 55 | virtual void sendDown(Packet* p, Handler* h) - | ^~~~~~~~ -./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' - 178 | virtual void sendDown(Packet* p); - | ^~~~~~~~ -./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 57 | inline virtual void sendUp(Packet* p, Handler* h) - | ^~~~~~ -./mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' - 79 | virtual int sendUp(Packet *p)=0; - | ^~~~~~ -./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 55 | virtual void sendDown(Packet* p, Handler* h) - | ^~~~~~~~ -./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' - 77 | virtual void sendDown(Packet *p)=0; - | ^~~~~~~~ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ @@ -4769,10 +4722,35 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o sctp/sctp-mfrHbAfterRto.o sctp/sctp-mfrHbAfterRto.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o sctp/sctp-mfrTimestamp.o sctp/sctp-mfrTimestamp.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ip.h:41, + from sctp/sctp-mfrHbAfterRto.cc:58: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +In file included from ./config.h:60, + from ./common/ip.h:41, from sctp/sctp-mfrTimestamp.cc:51: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] @@ -4797,6 +4775,38 @@ In file included from ./mac/phy.h:54, from ./common/node.h:57, from sctp/sctp.h:47, + from sctp/sctp-multipleFastRtx.h:51, + from sctp/sctp-mfrHbAfterRto.h:58, + from sctp/sctp-mfrHbAfterRto.cc:59: +./common/bi-connector.h: At global scope: +./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 57 | inline virtual void sendUp(Packet* p, Handler* h) + | ^~~~~~ +In file included from ./mac/phy.h:62: +./mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' + 179 | virtual void sendUp(Packet *p); + | ^~~~~~ +./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 55 | virtual void sendDown(Packet* p, Handler* h) + | ^~~~~~~~ +./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' + 178 | virtual void sendDown(Packet* p); + | ^~~~~~~~ +./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 57 | inline virtual void sendUp(Packet* p, Handler* h) + | ^~~~~~ +./mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' + 79 | virtual int sendUp(Packet *p)=0; + | ^~~~~~ +./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 55 | virtual void sendDown(Packet* p, Handler* h) + | ^~~~~~~~ +./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' + 77 | virtual void sendDown(Packet *p)=0; + | ^~~~~~~~ +In file included from ./mac/phy.h:54, + from ./common/node.h:57, + from sctp/sctp.h:47, from sctp/sctp-timestamp.h:49, from sctp/sctp-mfrTimestamp.h:58, from sctp/sctp-mfrTimestamp.cc:52: @@ -4827,10 +4837,18 @@ 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o sctp/sctp-cmt.o sctp/sctp-cmt.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./mobile/energy-model.h:48, + from ./common/node.h:59: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ In file included from ./trace/trace.h:44, from ./mobile/energy-model.h:48, from ./common/node.h:59: @@ -4844,6 +4862,23 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +In file included from ./mac/ll.h:45, + from ./mac/mac.h:47: +./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] + 75 | virtual void set_table_size(int level, int nn); + | ^~~~~~~~~~~~~~ +In file included from ./routing/rtmodule.h:61, + from ./common/node.h:61: +./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' + 70 | void set_table_size(int nn); + | ^~~~~~~~~~~~~~ In file included from ./mac/ll.h:45, from ./mac/mac.h:47: ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] @@ -4854,6 +4889,7 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ip.h:41, from sctp/sctp-cmt.cc:45: @@ -4877,7 +4913,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o sctp/sctpDebug.o sctp/sctpDebug.cc In file included from ./mac/phy.h:54, from ./common/node.h:57, from sctp/sctp-cmt.h:49, @@ -4908,6 +4943,7 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o sctp/sctpDebug.o sctp/sctpDebug.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dccp/dccp_sb.o dccp/dccp_sb.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ @@ -4965,7 +5001,6 @@ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dccp/dccp_ackv.o dccp/dccp_ackv.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dccp/dccp_packets.o dccp/dccp_packets.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from dccp/dccp_ackv.h:34, from dccp/dccp_ackv.cc:32: @@ -4989,6 +5024,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from dccp/dccp_packets.cc:31: @@ -5038,6 +5074,8 @@ 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dccp/dccp_tcplike.o dccp/dccp_tcplike.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dccp/dccp_tfrc.o dccp/dccp_tfrc.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] @@ -5066,19 +5104,9 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | && dccpah->ack_num_ == seq_num_-1 || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -dccp/dccp.cc: In member function 'virtual int DCCPAgent::setFeature(u_int8_t, dccp_feature_location, u_char*, u_int8_t, bool)': -dccp/dccp.cc:1162:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 1162 | if (use_ecn_local_ && data[0] || - | ~~~~~~~~~~~~~~~^~~~~~~~~~ -dccp/dccp.cc:1169:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 1169 | if (use_ecn_remote_ && data[0] || - | ~~~~~~~~~~~~~~~~^~~~~~~~~~ -dccp/dccp.cc:1202:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 1202 | if (use_ackv_local_ && data[0] || - | ~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from ./config.h:60, from ./common/ip.h:41, - from dccp/dccp_tcplike.cc:31: + from dccp/dccp_tfrc.cc:31: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -5099,21 +5127,19 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from dccp/dccp.h:41, - from dccp/dccp_tcplike.h:34, - from dccp/dccp_tcplike.cc:32: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dccp/dccp_tfrc.o dccp/dccp_tfrc.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +dccp/dccp.cc: In member function 'virtual int DCCPAgent::setFeature(u_int8_t, dccp_feature_location, u_char*, u_int8_t, bool)': +dccp/dccp.cc:1162:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 1162 | if (use_ecn_local_ && data[0] || + | ~~~~~~~~~~~~~~~^~~~~~~~~~ +dccp/dccp.cc:1169:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 1169 | if (use_ecn_remote_ && data[0] || + | ~~~~~~~~~~~~~~~~^~~~~~~~~~ +dccp/dccp.cc:1202:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 1202 | if (use_ackv_local_ && data[0] || + | ~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from ./config.h:60, from ./common/ip.h:41, - from dccp/dccp_tfrc.cc:31: + from dccp/dccp_tcplike.cc:31: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -5151,6 +5177,16 @@ dccp/dccp_tfrc.cc:779:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 779 | if (use_loss_rate_remote_ && data[0] || | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from dccp/dccp.h:41, + from dccp/dccp_tcplike.h:34, + from dccp/dccp_tcplike.cc:32: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/integrator.o tools/integrator.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, @@ -5178,11 +5214,9 @@ | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/queue-monitor.o tools/queue-monitor.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/flowmon.o tools/flowmon.cc tools/queue-monitor.cc:214:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 214 | sprintf(wrk, "q -t "TIME_FORMAT" -s %d -d %d -l %d -p %d", now, srcId_, dstId_, size_, pkts_); | ^ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from tools/queue-monitor.h:40, from tools/queue-monitor.cc:40: @@ -5206,6 +5240,17 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/flowmon.o tools/flowmon.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from tools/queue-monitor.cc:41: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ tools/flowmon.cc:169:32: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 169 | STRTOI64_FMTSTR" "STRTOI64_FMTSTR" %d %d " | ^ @@ -5235,15 +5280,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from tools/queue-monitor.cc:41: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/loss-monitor.o tools/loss-monitor.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/queue.o queue/queue.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -5430,8 +5470,6 @@ | | | long long int | %d -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tools/loss-monitor.o tools/loss-monitor.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from tools/loss-monitor.cc:40: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] @@ -5453,17 +5491,12 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/queue.o queue/queue.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/drop-tail.o queue/drop-tail.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, from ./common/connector.h:40, from queue/queue.h:40, - from queue/drop-tail.h:41, - from queue/drop-tail.cc:40: + from queue/queue.cc:40: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -5484,14 +5517,15 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/simple-intserv-sched.o adc/simple-intserv-sched.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/drop-tail.o queue/drop-tail.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, from ./common/connector.h:40, from queue/queue.h:40, - from queue/queue.cc:40: + from queue/drop-tail.h:41, + from queue/drop-tail.cc:40: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -5512,6 +5546,9 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o adc/simple-intserv-sched.o adc/simple-intserv-sched.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/red.o queue/red.cc In file included from ./config.h:60, from adc/simple-intserv-sched.cc:85: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -5534,10 +5571,12 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/red.o queue/red.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/semantic-packetqueue.o queue/semantic-packetqueue.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/semantic-red.o queue/semantic-red.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/ack-recons.o tcp/ack-recons.cc In file included from ./config.h:60, from ./common/ip.h:41, from queue/semantic-packetqueue.cc:38: @@ -5561,9 +5600,35 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/semantic-red.o queue/semantic-red.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from queue/queue.h:40, + from queue/red.h:62, + from queue/semantic-red.cc:9: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +In file included from ./config.h:60, from queue/red.cc:65: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] @@ -5594,36 +5659,9 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from queue/red.h:64, - from queue/red.cc:70: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -queue/red.cc: In member function 'virtual void REDQueue::enque(Packet*)': -queue/red.cc:684:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 684 | register double qavg = edv_.v_ave; - | ^~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from queue/semantic-packetqueue.h:45, - from queue/semantic-packetqueue.cc:41: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from queue/queue.h:40, - from queue/red.h:62, - from queue/semantic-red.cc:9: + from tcp/template.h:42, + from tcp/ack-recons.cc:49: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -5644,6 +5682,16 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from queue/semantic-packetqueue.h:45, + from queue/semantic-packetqueue.cc:41: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ In file included from ./tcp/tcp.h:38, from queue/semantic-packetqueue.cc:39: ./common/agent.h:75:14: warning: 'virtual void Agent::recv(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] @@ -5653,6 +5701,19 @@ ./tcp/ack-recons.h:81:14: note: by 'void AckRecons::recv(Packet*)' 81 | void recv(Packet *p); | ^~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from queue/red.h:64, + from queue/red.cc:70: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +queue/red.cc: In member function 'virtual void REDQueue::enque(Packet*)': +queue/red.cc:684:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 684 | register double qavg = edv_.v_ave; + | ^~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -5671,8 +5732,25 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/ack-recons.o tcp/ack-recons.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from ./queue/semantic-packetqueue.h:45, + from tcp/ack-recons.h:52, + from tcp/ack-recons.cc:50: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +In file included from ./tcp/tcp.h:38, + from ./queue/semantic-packetqueue.h:46: +./common/agent.h:75:14: warning: 'virtual void Agent::recv(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 75 | void recv(Packet*, Handler*); + | ^~~~ +tcp/ack-recons.h:81:14: note: by 'void AckRecons::recv(Packet*)' + 81 | void recv(Packet *p); + | ^~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/sfq.o queue/sfq.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, @@ -5697,31 +5775,12 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./config.h:60, - from tcp/template.h:42, - from tcp/ack-recons.cc:49: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/fq.o queue/fq.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/drr.o queue/drr.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/srr.o queue/srr.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from queue/fq.cc:40: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -5744,27 +5803,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from ./queue/semantic-packetqueue.h:45, - from tcp/ack-recons.h:52, - from tcp/ack-recons.cc:50: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/drr.o queue/drr.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from ./tcp/tcp.h:38, - from ./queue/semantic-packetqueue.h:46: -./common/agent.h:75:14: warning: 'virtual void Agent::recv(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 75 | void recv(Packet*, Handler*); - | ^~~~ -tcp/ack-recons.h:81:14: note: by 'void AckRecons::recv(Packet*)' - 81 | void recv(Packet *p); - | ^~~~ In file included from ./config.h:60, from queue/drr.cc:51: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -5787,8 +5825,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/srr.o queue/srr.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/cbq.o queue/cbq.cc In file included from ./config.h:60, from queue/srr.cc:52: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -5811,7 +5848,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/cbq.o queue/cbq.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/jobs.o queue/jobs.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ @@ -5846,13 +5882,14 @@ queue/cbq.cc:666:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 666 | register int prio; | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/marker.o queue/marker.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, from ./common/connector.h:40, - from queue/queue.h:40, - from queue/jobs.h:58, - from queue/jobs.cc:53: + from ./queue/queue.h:40, + from queue/marker.cc:49: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -5873,29 +5910,13 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from queue/jobs.h:60: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -queue/queue.h:127:22: warning: 'virtual void Queue::updateStats(int)' was hidden [-Woverloaded-virtual=] - 127 | virtual void updateStats(int queuesize); - | ^~~~~~~~~~~ -queue/jobs.h:156:17: note: by 'void JoBS::updateStats(Packet*, int)' - 156 | void updateStats(Packet*, int); - | ^~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/marker.o queue/marker.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, from ./common/connector.h:40, - from ./queue/queue.h:40, - from queue/marker.cc:49: + from queue/queue.h:40, + from queue/jobs.h:58, + from queue/jobs.cc:53: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -5916,8 +5937,33 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from queue/jobs.h:60: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +queue/queue.h:127:22: warning: 'virtual void Queue::updateStats(int)' was hidden [-Woverloaded-virtual=] + 127 | virtual void updateStats(int queuesize); + | ^~~~~~~~~~~ +queue/jobs.h:156:17: note: by 'void JoBS::updateStats(Packet*, int)' + 156 | void updateStats(Packet*, int); + | ^~~~~~~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/demarker.o queue/demarker.cc +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from queue/marker.cc:50: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o link/hackloss.o link/hackloss.cc In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -5944,18 +5990,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from queue/marker.cc:50: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o link/hackloss.o link/hackloss.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/errmodel.o queue/errmodel.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, @@ -5982,6 +6016,12 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/errmodel.o queue/errmodel.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/fec.o queue/fec.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o link/delay.o link/delay.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ queue/errmodel.cc:359:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 359 | "E "TIME_FORMAT" ErrModelTimer %p %s", | ^ @@ -6010,26 +6050,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/fec.o queue/fec.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from ./tools/ranvar.h:52, - from queue/errmodel.h:45, - from queue/errmodel.cc:54: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from queue/errmodel.h:47: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ In file included from ./config.h:60, from queue/fec.cc:48: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -6052,8 +6072,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o link/delay.o link/delay.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from link/delay.h:42, @@ -6084,6 +6102,24 @@ | ^~~~ In file included from ./tools/random.h:42, from ./tools/ranvar.h:52, + from queue/errmodel.h:45, + from queue/errmodel.cc:54: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from queue/errmodel.h:47: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from ./tools/ranvar.h:52, from queue/fec.h:44, from queue/fec.cc:54: ./tools/rng.h:115:14: note: by 'void RNG::init()' @@ -6093,6 +6129,8 @@ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o gaf/gaf.o gaf/gaf.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o link/dynalink.o link/dynalink.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from tcp/snoop.h:40, @@ -6118,6 +6156,31 @@ 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ In file included from ./config.h:60, + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from link/dynalink.cc:56: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +In file included from ./config.h:60, from ./tcp/template.h:42, from gaf/gaf.cc:48: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -6170,6 +6233,8 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routing/rtProtoDV.o routing/rtProtoDV.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -6242,54 +6307,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -In file included from ./mac/ll.h:45, - from ./mac/mac.h:47: -./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] - 75 | virtual void set_table_size(int level, int nn); - | ^~~~~~~~~~~~~~ -In file included from ./routing/rtmodule.h:61, - from ./common/node.h:61: -./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' - 70 | void set_table_size(int nn); - | ^~~~~~~~~~~~~~ -In file included from ./gaf/gaf.h:53: -./common/agent.h:85:22: warning: 'virtual void Agent::timeout(int)' was hidden [-Woverloaded-virtual=] - 85 | virtual void timeout(int tno); - | ^~~~~~~ -./gaf/gaf.h:146:14: note: by 'void GAFAgent::timeout(GafMsgType)' - 146 | void timeout(GafMsgType); - | ^~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o link/dynalink.o link/dynalink.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from link/dynalink.cc:56: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routing/rtProtoDV.o routing/rtProtoDV.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/net-interface.o common/net-interface.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -6316,6 +6333,25 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +In file included from ./mac/ll.h:45, + from ./mac/mac.h:47: +./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] + 75 | virtual void set_table_size(int level, int nn); + | ^~~~~~~~~~~~~~ +In file included from ./routing/rtmodule.h:61, + from ./common/node.h:61: +./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' + 70 | void set_table_size(int nn); + | ^~~~~~~~~~~~~~ +In file included from ./gaf/gaf.h:53: +./common/agent.h:85:22: warning: 'virtual void Agent::timeout(int)' was hidden [-Woverloaded-virtual=] + 85 | virtual void timeout(int tno); + | ^~~~~~~ +./gaf/gaf.h:146:14: note: by 'void GAFAgent::timeout(GafMsgType)' + 146 | void timeout(GafMsgType); + | ^~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/net-interface.o common/net-interface.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from common/scheduler.h:40, from common/object.h:40, @@ -6344,8 +6380,6 @@ | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/ctrMcast.o mcast/ctrMcast.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/mcast_ctrl.o mcast/mcast_ctrl.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -6372,8 +6406,11 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/mcast_ctrl.o mcast/mcast_ctrl.cc g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/srm.o mcast/srm.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/sessionhelper.o common/sessionhelper.cc In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -6400,7 +6437,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/sessionhelper.o common/sessionhelper.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from mcast/srm.cc:61: @@ -6426,6 +6462,7 @@ | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/delaymodel.o queue/delaymodel.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/srm-ssm.o mcast/srm-ssm.cc In file included from ./config.h:60, from common/sessionhelper.cc:56: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -6448,6 +6485,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -6480,6 +6518,28 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +In file included from ./config.h:60, + from mcast/srm-ssm.cc:63: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -6509,6 +6569,16 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from mcast/srm-ssm.cc:70: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/srm-topo.o mcast/srm-topo.cc In file included from /usr/include/stdio.h:970, from /usr/include/tcl/tcl.h:125: In function 'int sprintf(char*, const char*, ...)', @@ -6520,10 +6590,22 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/srm-ssm.o mcast/srm-ssm.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from /usr/include/stdio.h:970, + from mcast/srm-ssm.cc:61: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'virtual int SRMAgent::request(SRMinfo*, int)' at mcast/srm.h:131:19: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: warning: '__builtin___sprintf_chk' argument 5 overlaps destination object '' [-Wrestrict] + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routing/alloc-address.o routing/alloc-address.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from mcast/srm-ssm.cc:63: + from mcast/srm-topo.cc:48: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -6544,19 +6626,18 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/srm-topo.o mcast/srm-topo.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routing/alloc-address.o routing/alloc-address.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from mcast/srm-ssm.cc:70: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from mcast/srm-topo.h:47, + from mcast/srm-topo.cc:50: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routing/address.o routing/address.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from routing/alloc-address.cc:41: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -6579,10 +6660,9 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routing/address.o routing/address.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from mcast/srm-topo.cc:48: + from routing/address.h:38, + from routing/address.cc:40: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -6603,30 +6683,21 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from mcast/srm-topo.h:47, - from mcast/srm-topo.cc:50: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -In file included from /usr/include/stdio.h:970, - from mcast/srm-ssm.cc:61: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'virtual int SRMAgent::request(SRMinfo*, int)' at mcast/srm.h:131:19: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: warning: '__builtin___sprintf_chk' argument 5 overlaps destination object '' [-Wrestrict] - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -In file included from ./config.h:60, - from routing/address.h:38, - from routing/address.cc:40: +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o lib/int.Vec.o lib/int.Vec.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o lib/int.RVec.o lib/int.RVec.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o lib/dmalloc_support.o lib/dmalloc_support.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o webcache/http.o webcache/http.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o webcache/tcp-simple.o webcache/tcp-simple.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o webcache/pagepool.o webcache/pagepool.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o webcache/inval-agent.o webcache/inval-agent.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from webcache/tcp-simple.cc:52: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -6647,19 +6718,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o lib/int.Vec.o lib/int.Vec.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o lib/int.RVec.o lib/int.RVec.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o lib/dmalloc_support.o lib/dmalloc_support.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o webcache/http.o webcache/http.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o webcache/tcp-simple.o webcache/tcp-simple.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o webcache/pagepool.o webcache/pagepool.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from webcache/tcp-simple.cc:52: +In file included from webcache/http.cc:54: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -6680,7 +6739,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from webcache/http.cc:54: +In file included from webcache/inval-agent.h:52, + from webcache/inval-agent.cc:47: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -6709,20 +6769,10 @@ from ./tools/ranvar.h:52, from webcache/pagepool.h:53, from webcache/http.h:57, - from webcache/http.cc:58: + from webcache/inval-agent.cc:49: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from webcache/http.cc:60: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o webcache/inval-agent.o webcache/inval-agent.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./tools/random.h:41, from ./tools/ranvar.h:52, @@ -6749,32 +6799,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -webcache/pagepool.cc: In member function 'int ProxyTracePagePool::init_page(const char*)': -webcache/pagepool.cc:985:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 985 | fscanf(fp, "%*d %*d %d %*u\n", p); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from webcache/inval-agent.h:52, - from webcache/inval-agent.cc:47: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -6783,12 +6807,24 @@ from ./tools/ranvar.h:52, from webcache/pagepool.h:53, from webcache/http.h:57, - from webcache/inval-agent.cc:49: + from webcache/http.cc:58: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from webcache/http.cc:60: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o webcache/tcpapp.o webcache/tcpapp.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +webcache/pagepool.cc: In member function 'int ProxyTracePagePool::init_page(const char*)': +webcache/pagepool.cc:985:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 985 | fscanf(fp, "%*d %*d %d %*u\n", p); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -6841,6 +6877,15 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from webcache/http-aux.h:52: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ In file included from ./config.h:60, from ./rap/media-app.h:65, from webcache/mcache.cc:56: @@ -6869,20 +6914,13 @@ 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ In file included from ./tools/random.h:42, - from webcache/http-aux.h:52: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, from ./webcache/http-aux.h:52, from ./rap/media-app.h:68: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o webcache/webtraf.o webcache/webtraf.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ webcache/mcache.cc: In member function 'virtual int MediaServer::command(int, const char* const*)': webcache/mcache.cc:1360:40: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 1360 | memset(buf, 0, sizeof(buf)); @@ -6890,8 +6928,6 @@ webcache/mcache.cc:1465:40: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 1465 | memset(buf, 0, sizeof(buf)); | ^~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o webcache/webtraf.o webcache/webtraf.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o webcache/webserver.o webcache/webserver.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, @@ -6952,7 +6988,8 @@ | ^~~~ In file included from ./mac/phy.h:54, from ./common/node.h:57, - from webcache/webtraf.h:65: + from webcache/webtraf.cc:58: +./common/bi-connector.h: At global scope: ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) | ^~~~~~ @@ -6978,29 +7015,9 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -In file included from ./mac/ll.h:45, - from ./mac/mac.h:47: -./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] - 75 | virtual void set_table_size(int level, int nn); - | ^~~~~~~~~~~~~~ -In file included from ./routing/rtmodule.h:61, - from ./common/node.h:61: -./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' - 70 | void set_table_size(int nn); - | ^~~~~~~~~~~~~~ In file included from ./mac/phy.h:54, from ./common/node.h:57, - from webcache/webtraf.cc:58: -./common/bi-connector.h: At global scope: + from webcache/webtraf.h:65: ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) | ^~~~~~ @@ -7026,8 +7043,25 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o webcache/logweb.o webcache/logweb.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./mobile/energy-model.h:48, + from ./common/node.h:59: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +In file included from ./mac/ll.h:45, + from ./mac/mac.h:47: +./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] + 75 | virtual void set_table_size(int level, int nn); + | ^~~~~~~~~~~~~~ +In file included from ./routing/rtmodule.h:61, + from ./common/node.h:61: +./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' + 70 | void set_table_size(int nn); + | ^~~~~~~~~~~~~~ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ @@ -7054,6 +7088,15 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o webcache/logweb.o webcache/logweb.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o empweb/empweb.o empweb/empweb.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from empweb/empweb.cc:55: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ In file included from webcache/logweb.cc:52: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] @@ -7075,39 +7118,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from ./tools/ranvar.h:52, - from webcache/webtraf.h:60, - from webcache/logweb.h:55, - from webcache/logweb.cc:54: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59, - from webcache/webtraf.h:65: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o empweb/empweb.o empweb/empweb.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -webcache/logweb.cc: In member function 'int LogWebTrafPool::processLog()': -webcache/logweb.cc:114:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 114 | fscanf(fp, "%d %d %d %d\n", &time, &client, &server, &size); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from empweb/empweb.cc:55: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ In file included from /usr/include/tclcl/tclcl.h:42: /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); @@ -7124,8 +7134,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o empweb/empftp.o empweb/empftp.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -7147,6 +7155,34 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from ./tools/ranvar.h:52, + from webcache/webtraf.h:60, + from webcache/logweb.h:55, + from webcache/logweb.cc:54: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o empweb/empftp.o empweb/empftp.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./mobile/energy-model.h:48, + from ./common/node.h:59, + from webcache/webtraf.h:65: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +webcache/logweb.cc: In member function 'int LogWebTrafPool::processLog()': +webcache/logweb.cc:114:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 114 | fscanf(fp, "%d %d %d %d\n", &time, &client, &server, &size); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from empweb/empftp.cc:54: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] @@ -7191,14 +7227,18 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/lanRouter.o mac/lanRouter.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/filter.o classifier/filter.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./tools/random.h:41, - from realaudio/realaudio.cc:61: + from mac/lanRouter.h:54, + from mac/lanRouter.cc:53: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: +In file included from mac/lanRouter.cc:52: /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ @@ -7214,26 +7254,14 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/lanRouter.o mac/lanRouter.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/filter.o classifier/filter.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from mac/lanRouter.h:54, - from mac/lanRouter.cc:53: + from ./tools/random.h:41, + from realaudio/realaudio.cc:61: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } | ^~~~~~ -In file included from mac/lanRouter.cc:52: +In file included from /usr/include/tclcl/tclcl.h:42: /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ @@ -7249,8 +7277,14 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/pkt-counter.o common/pkt-counter.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ In file included from ./config.h:60, from ./common/packet.h:43, from classifier/filter.cc:52: @@ -7274,6 +7308,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/pkt-counter.o common/pkt-counter.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/Decapsulator.o common/Decapsulator.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from common/scheduler.h:40, from common/object.h:40, @@ -7299,10 +7337,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/Decapsulator.o common/Decapsulator.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/Encapsulator.o common/Encapsulator.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from common/scheduler.h:40, from common/object.h:40, @@ -7330,6 +7364,12 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/Encapsulator.o common/Encapsulator.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/encap.o common/encap.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/channel.o mac/channel.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from common/packet.h:43, from common/Encapsulator.cc:49: @@ -7353,10 +7393,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/encap.o common/encap.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/channel.o mac/channel.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from common/encap.cc:37: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] @@ -7382,11 +7418,12 @@ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/ll.o mac/ll.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/mac-802_11.o mac/mac-802_11.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./mac/channel.h:44, - from mac/mac.cc:44: + from ./common/packet.h:43, + from ./trace/trace.h:43, + from mac/channel.cc:52: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -7410,33 +7447,8 @@ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, - from ./common/connector.h:40, - from ./queue/errmodel.h:43, - from mac/ll.cc:42: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -In file included from ./config.h:60, - from ./common/packet.h:43, - from ./trace/trace.h:43, - from mac/channel.cc:52: + from ./mac/channel.h:44, + from mac/mac.cc:44: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -7500,6 +7512,32 @@ mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ +In file included from ./config.h:60, + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from ./queue/errmodel.h:43, + from mac/ll.cc:42: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) | ^~~~~~ @@ -7512,16 +7550,12 @@ mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' 178 | virtual void sendDown(Packet* p); | ^~~~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from ./tools/ranvar.h:52, - from ./queue/errmodel.h:45: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ +mac/mac-802_11.cc:330:30: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 330 | sprintf(wrk, "E -t "TIME_FORMAT" %s %2x ", + | ^ +mac/mac-802_11.cc:338:31: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 338 | sprintf(nwrk, "E -t "TIME_FORMAT" %s %2x ", + | ^ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -7534,6 +7568,30 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ +In file included from ./config.h:60, + from ./common/packet.h:43, + from ./link/delay.h:42, + from mac/mac-802_11.cc:42: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ @@ -7541,13 +7599,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./queue/errmodel.h:47: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ In file included from ./mac/phy.h:54: ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) @@ -7574,20 +7625,62 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/mac-802_11.o mac/mac-802_11.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from ./tools/ranvar.h:52, + from ./queue/errmodel.h:45: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./queue/errmodel.h:47: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from mac/mac-802_11.cc:45: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./common/mobilenode.h:57, + from mac/mac-802_11.cc:46: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +In file included from mac/mac-802_11.cc:53: +mac/mac-timers.h:55:22: warning: 'virtual void MacTimer::resume()' was hidden [-Woverloaded-virtual=] + 55 | virtual void resume(void) { assert(0); } + | ^~~~~~ +mac/mac-timers.h:82:17: note: by 'void BackoffTimer::resume(double)' + 82 | void resume(double difs); + | ^~~~~~ +./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] + 61 | virtual void format(int tt, int s, int d, Packet* p); + | ^~~~~~ +In file included from mac/mac-802_11.cc:55: +./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' + 141 | void format(Packet *p, const char *why); + | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/mac-802_11Ext.o mac/mac-802_11Ext.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -mac/mac-802_11.cc:330:30: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 330 | sprintf(wrk, "E -t "TIME_FORMAT" %s %2x ", - | ^ -mac/mac-802_11.cc:338:31: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 338 | sprintf(nwrk, "E -t "TIME_FORMAT" %s %2x ", - | ^ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/mac-802_3.o mac/mac-802_3.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, - from ./link/delay.h:42, - from mac/mac-802_11.cc:42: + from mac/mac-802_3.cc:6: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -7632,14 +7725,14 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/mac-802_3.o mac/mac-802_3.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/mac-tdma.o mac/mac-tdma.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ In file included from ./tools/random.h:42, - from mac/mac-802_11.cc:45: + from mac/mac-802_3.cc:7: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ @@ -7647,18 +7740,16 @@ 175 | virtual void trace(TracedVar*); | ^~~~~ In file included from ./trace/trace.h:44, - from ./common/mobilenode.h:57, - from mac/mac-802_11.cc:46: + from ./mobile/energy-model.h:48, + from ./common/node.h:59, + from ./mac/channel.h:47, + from ./mac/phy.h:60, + from ./mac/mac.h:48, + from ./mac/mac-802_3.h:5, + from mac/mac-802_3.cc:10: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ -In file included from mac/mac-802_11.cc:53: -mac/mac-timers.h:55:22: warning: 'virtual void MacTimer::resume()' was hidden [-Woverloaded-virtual=] - 55 | virtual void resume(void) { assert(0); } - | ^~~~~~ -mac/mac-timers.h:82:17: note: by 'void BackoffTimer::resume(double)' - 82 | void resume(double difs); - | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -7679,7 +7770,8 @@ | ^~~~~ In file included from ./config.h:60, from ./common/packet.h:43, - from mac/mac-802_3.cc:6: + from ./link/delay.h:42, + from mac/mac-tdma.cc:58: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -7703,13 +7795,6 @@ ./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] 61 | virtual void format(int tt, int s, int d, Packet* p); | ^~~~~~ -In file included from mac/mac-802_11.cc:55: -./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' - 141 | void format(Packet *p, const char *why); - | ^~~~~~ -./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] - 61 | virtual void format(int tt, int s, int d, Packet* p); - | ^~~~~~ In file included from mac/mac-802_11Ext.cc:67: ./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' 141 | void format(Packet *p, const char *why); @@ -7719,55 +7804,6 @@ 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ In file included from ./tools/random.h:42, - from mac/mac-802_3.cc:7: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59, - from ./mac/channel.h:47, - from ./mac/phy.h:60, - from ./mac/mac.h:48, - from ./mac/mac-802_3.h:5, - from mac/mac-802_3.cc:10: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/mac-tdma.o mac/mac-tdma.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from ./config.h:60, - from ./common/packet.h:43, - from ./link/delay.h:42, - from mac/mac-tdma.cc:58: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, from mac/mac-tdma.cc:61: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); @@ -7792,38 +7828,15 @@ ./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' 141 | void format(Packet *p, const char *why); | ^~~~~~ -mac/mac-802_11.cc: In member function 'int Mac802_11::strongest_ap()': -mac/mac-802_11.cc:3130:16: warning: 'ap' may be used uninitialized [-Wmaybe-uninitialized] - 3130 | return ap; - | ^~ -mac/mac-802_11.cc:3113:13: note: 'ap' was declared here - 3113 | int ap; - | ^~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/smac.o mac/smac.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/mip.o mobile/mip.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In member function 'void Mac802_11::passive_scan()', - inlined from 'void Mac802_11::passive_scan()' at mac/mac-802_11.cc:2307:1: -mac/mac-802_11.cc:2311:33: warning: 'ap' may be used uninitialized [-Wmaybe-uninitialized] - 2311 | ap_temp = strongest_ap(); - | ~~~~~~~~^~~~~~~~~~~~~~~~ -mac/mac-802_11.cc: In member function 'void Mac802_11::passive_scan()': -mac/mac-802_11.cc:3113:13: note: 'ap' was declared here - 3113 | int ap; - | ^~ -In member function 'void Mac802_11::active_scan()', - inlined from 'void Mac802_11::active_scan()' at mac/mac-802_11.cc:2319:1: -mac/mac-802_11.cc:2325:41: warning: 'ap' may be used uninitialized [-Wmaybe-uninitialized] - 2325 | sendAUTHENTICATE(ap_temp); - | ~~~~~~~~~~~~~~~~^~~~~~~~~ -mac/mac-802_11.cc: In member function 'void Mac802_11::active_scan()': -mac/mac-802_11.cc:3113:13: note: 'ap' was declared here - 3113 | int ap; - | ^~ In file included from ./config.h:60, - from ./routing/address.h:38, - from mobile/mip.cc:33: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./mobile/topography.h:43, + from ./mobile/propagation.h:47, + from mac/wireless-phy.h:45, + from mac/smac.cc:79: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -7844,27 +7857,11 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -mac/mac-802_11.cc: In member function 'void Mac802_11::checkAssocAuthStatus()': -mac/mac-802_11.cc:3082:41: warning: 'ap' may be used uninitialized [-Wmaybe-uninitialized] - 3082 | sendAUTHENTICATE(strongest_ap()); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -mac/mac-802_11.cc:3113:13: note: 'ap' was declared here - 3113 | int ap; - | ^~ -mac/mac-802_11.cc: In member function 'void Mac802_11::ProbeHandler()': -mac/mac-802_11.cc:738:25: warning: 'ap' may be used uninitialized [-Wmaybe-uninitialized] - 738 | if (strongest_ap() > -1) - | ^~ -mac/mac-802_11.cc:3113:13: note: 'ap' was declared here - 3113 | int ap; - | ^~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/mip.o mobile/mip.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./mobile/topography.h:43, - from ./mobile/propagation.h:47, - from mac/wireless-phy.h:45, - from mac/smac.cc:79: + from ./routing/address.h:38, + from mobile/mip.cc:33: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -7931,8 +7928,6 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/mip-reg.o mobile/mip-reg.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ ./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] 61 | virtual void format(int tt, int s, int d, Packet* p); | ^~~~~~ @@ -7941,6 +7936,47 @@ ./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' 141 | void format(Packet *p, const char *why); | ^~~~~~ +mac/mac-802_11.cc: In member function 'int Mac802_11::strongest_ap()': +mac/mac-802_11.cc:3130:16: warning: 'ap' may be used uninitialized [-Wmaybe-uninitialized] + 3130 | return ap; + | ^~ +mac/mac-802_11.cc:3113:13: note: 'ap' was declared here + 3113 | int ap; + | ^~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/mip-reg.o mobile/mip-reg.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In member function 'void Mac802_11::passive_scan()', + inlined from 'void Mac802_11::passive_scan()' at mac/mac-802_11.cc:2307:1: +mac/mac-802_11.cc:2311:33: warning: 'ap' may be used uninitialized [-Wmaybe-uninitialized] + 2311 | ap_temp = strongest_ap(); + | ~~~~~~~~^~~~~~~~~~~~~~~~ +mac/mac-802_11.cc: In member function 'void Mac802_11::passive_scan()': +mac/mac-802_11.cc:3113:13: note: 'ap' was declared here + 3113 | int ap; + | ^~ +In member function 'void Mac802_11::active_scan()', + inlined from 'void Mac802_11::active_scan()' at mac/mac-802_11.cc:2319:1: +mac/mac-802_11.cc:2325:41: warning: 'ap' may be used uninitialized [-Wmaybe-uninitialized] + 2325 | sendAUTHENTICATE(ap_temp); + | ~~~~~~~~~~~~~~~~^~~~~~~~~ +mac/mac-802_11.cc: In member function 'void Mac802_11::active_scan()': +mac/mac-802_11.cc:3113:13: note: 'ap' was declared here + 3113 | int ap; + | ^~ +mac/mac-802_11.cc: In member function 'void Mac802_11::checkAssocAuthStatus()': +mac/mac-802_11.cc:3082:41: warning: 'ap' may be used uninitialized [-Wmaybe-uninitialized] + 3082 | sendAUTHENTICATE(strongest_ap()); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +mac/mac-802_11.cc:3113:13: note: 'ap' was declared here + 3113 | int ap; + | ^~ +mac/mac-802_11.cc: In member function 'void Mac802_11::ProbeHandler()': +mac/mac-802_11.cc:738:25: warning: 'ap' may be used uninitialized [-Wmaybe-uninitialized] + 738 | if (strongest_ap() > -1) + | ^~ +mac/mac-802_11.cc:3113:13: note: 'ap' was declared here + 3113 | int ap; + | ^~ In file included from ./config.h:60, from ./tcp/template.h:42, from mobile/mip-reg.cc:79: @@ -7998,6 +8034,8 @@ | ^~~~~~~~~~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/gridkeeper.o mobile/gridkeeper.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/propagation.o mobile/propagation.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -8024,27 +8062,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./common/mobilenode.h:57: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49, - from ./common/node.h:59, - from ./mac/channel.h:47, - from ./mac/phy.h:60, - from ./common/mobilenode.h:59: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/propagation.o mobile/propagation.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/tworayground.o mobile/tworayground.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, @@ -8071,8 +8089,26 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/tworayground.o mobile/tworayground.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./common/mobilenode.h:57: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49, + from ./common/node.h:59, + from ./mac/channel.h:47, + from ./mac/phy.h:60, + from ./common/mobilenode.h:59: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -8145,8 +8181,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/antenna.o mobile/antenna.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -8203,6 +8237,12 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/antenna.o mobile/antenna.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/omni-antenna.o mobile/omni-antenna.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/shadowing.o mobile/shadowing.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -8228,9 +8268,35 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/omni-antenna.o mobile/omni-antenna.cc +In file included from ./config.h:60, + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./mobile/antenna.h:43, + from ./mobile/omni-antenna.h:43, + from mobile/omni-antenna.cc:40: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/shadowing-vis.o mobile/shadowing-vis.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/shadowing.o mobile/shadowing.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/dumb-agent.o mobile/dumb-agent.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, @@ -8257,11 +8323,9 @@ 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./mobile/antenna.h:43, - from ./mobile/omni-antenna.h:43, - from mobile/omni-antenna.cc:40: + from ./common/packet.h:43, + from ./link/delay.h:42, + from mobile/shadowing.cc:57: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -8282,12 +8346,13 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/shadowing-vis.o mobile/shadowing-vis.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/packet.h:43, - from ./link/delay.h:42, - from mobile/shadowing.cc:57: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from ./common/agent.h:40, + from mobile/dumb-agent.h:56, + from mobile/dumb-agent.cc:49: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -8391,6 +8456,15 @@ 175 | virtual void trace(TracedVar*); | ^~~~~ In file included from ./trace/trace.h:44, + from mobile/dumb-agent.h:58: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, from ./common/mobilenode.h:57, from mobile/nakagami.cc:65: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' @@ -8442,38 +8516,9 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/dumb-agent.o mobile/dumb-agent.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/bi-connector.o common/bi-connector.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from ./common/agent.h:40, - from mobile/dumb-agent.h:56, - from mobile/dumb-agent.cc:49: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -In file included from ./config.h:60, from common/packet.h:43, from common/bi-connector.cc:36: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -8496,15 +8541,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from mobile/dumb-agent.h:58: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/node.o common/node.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -8526,10 +8564,10 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/node.o common/node.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/mobilenode.o common/mobilenode.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/arp.o mac/arp.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./routing/address.h:38, from common/node.cc:43: @@ -8553,8 +8591,30 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/arp.o mac/arp.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from ./config.h:60, + from ./common/packet.h:43, + from ./link/delay.h:42, + from mac/arp.cc:50: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ In file included from ./config.h:60, from common/scheduler.h:40, from common/object.h:40, @@ -8606,10 +8666,12 @@ ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] 75 | virtual void set_table_size(int level, int nn); | ^~~~~~~~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/god.o mobile/god.cc In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./mac/phy.h:54: ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) @@ -8636,30 +8698,6 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -In file included from ./config.h:60, - from ./common/packet.h:43, - from ./link/delay.h:42, - from mac/arp.cc:50: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ In file included from ./nix/nixnode.h:9, from common/node.cc:46: ./routealgo/rnode.h: At global scope: @@ -8669,6 +8707,20 @@ ./nix/nixnode.h:44:21: note: by 'virtual nodeid_t NixNode::GetNeighbor(Nix_t, NixVec*)' 44 | virtual nodeid_t GetNeighbor(Nix_t, NixVec*); // Get neighbor from nix | ^~~~~~~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./mobile/energy-model.h:48, + from ./common/node.h:59, + from mac/channel.h:47, + from mac/phy.h:60, + from mac/mac.h:48, + from mac/arp.cc:52: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ In file included from ./mac/phy.h:54, from common/node.h:57, from common/node.cc:48: @@ -8685,6 +8737,13 @@ ./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' 178 | virtual void sendDown(Packet* p); | ^~~~~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) | ^~~~~~ @@ -8697,72 +8756,6 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from common/node.h:59: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -In file included from ./mac/ll.h:45, - from ./mac/mac.h:47: -./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] - 75 | virtual void set_table_size(int level, int nn); - | ^~~~~~~~~~~~~~ -In file included from ./routing/rtmodule.h:61, - from common/node.h:61: -./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' - 70 | void set_table_size(int nn); - | ^~~~~~~~~~~~~~ -common/mobilenode.cc: In member function 'int MobileNode::set_destination(double, double, double)': -common/mobilenode.cc:453:24: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized] - 453 | sprintf(nwrk_, - | ~~~~~~~^~~~~~~ - 454 | "n -t %f -s %d -x %f -y %f -U %f -V %f -T %f", - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 455 | Scheduler::instance().clock(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 456 | nodeid_, - | ~~~~~~~~ - 457 | X_, Y_, - | ~~~~~~~ - 458 | speed_ * dX_, speed_ * dY_, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 459 | ( v != 0) ? len / v : 0. ); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -common/mobilenode.cc:426:16: note: 'len' was declared here - 426 | double len; - | ^~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59, - from mac/channel.h:47, - from mac/phy.h:60, - from mac/mac.h:48, - from mac/arp.cc:52: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ In file included from mac/ll.h:45, from mac/mac.h:47: ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] @@ -8805,10 +8798,32 @@ ./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' 141 | void format(Packet *p, const char *why); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/god.o mobile/god.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/dem.o mobile/dem.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./mobile/energy-model.h:48, + from common/node.h:59: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +In file included from ./mac/ll.h:45, + from ./mac/mac.h:47: +./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] + 75 | virtual void set_table_size(int level, int nn); + | ^~~~~~~~~~~~~~ +In file included from ./routing/rtmodule.h:61, + from common/node.h:61: +./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' + 70 | void set_table_size(int nn); + | ^~~~~~~~~~~~~~ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -8833,30 +8848,25 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./config.h:60, - from mobile/dem.cc:37: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/topography.o mobile/topography.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +common/mobilenode.cc: In member function 'int MobileNode::set_destination(double, double, double)': +common/mobilenode.cc:453:24: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized] + 453 | sprintf(nwrk_, + | ~~~~~~~^~~~~~~ + 454 | "n -t %f -s %d -x %f -y %f -U %f -V %f -T %f", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 455 | Scheduler::instance().clock(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 456 | nodeid_, + | ~~~~~~~~ + 457 | X_, Y_, + | ~~~~~~~ + 458 | speed_ * dX_, speed_ * dY_, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 459 | ( v != 0) ? len / v : 0. ); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~ +common/mobilenode.cc:426:16: note: 'len' was declared here + 426 | double len; + | ^~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -8910,9 +8920,37 @@ mobile/god.cc:236:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 236 | fprintf(stdout, "\n"); | ^~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/dem.o mobile/dem.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/topography.o mobile/topography.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mobile/modulation.o mobile/modulation.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, + from mobile/dem.cc:37: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/priqueue.o queue/priqueue.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, from mobile/topography.cc:39: @@ -8957,6 +8995,29 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +In file included from ./config.h:60, + from ./tools/random.h:41, + from mobile/modulation.cc:38: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ In file included from ./routing/rtmodule.h:60, from ./common/node.h:61: ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] @@ -8966,6 +9027,14 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ In file included from ./mac/phy.h:54: ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) @@ -8993,8 +9062,9 @@ 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ In file included from ./config.h:60, - from ./tools/random.h:41, - from mobile/modulation.cc:38: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from queue/priqueue.cc:43: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -9015,25 +9085,43 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/dsr-priqueue.o queue/dsr-priqueue.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/phy.o mac/phy.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +queue/dsr-priqueue.cc:106:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 106 | trace("I "TIME_FORMAT" -prq:adr %d -prq:rx %d -prq:tx %d -prq:bl %d -prq:snd0 {%d %d} -prq:snd1 {%d %d} -prq:snd2 {%d %d} -prq:snd3 {%d %d}", + | ^ /usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./trace/cmu-trace.h:42, + from queue/priqueue.cc:47: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ -In file included from ./tools/random.h:42: +In file included from ./mobile/energy-model.h:49, + from ./common/node.h:59, + from ./mobile/god.h:53, + from ./trace/cmu-trace.h:43: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/priqueue.o queue/priqueue.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/dsr-priqueue.o queue/dsr-priqueue.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -queue/dsr-priqueue.cc:106:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 106 | trace("I "TIME_FORMAT" -prq:adr %d -prq:rx %d -prq:tx %d -prq:bl %d -prq:snd0 {%d %d} -prq:snd1 {%d %d} -prq:snd2 {%d %d} -prq:snd3 {%d %d}", - | ^ +./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] + 61 | virtual void format(int tt, int s, int d, Packet* p); + | ^~~~~~ +./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' + 141 | void format(Packet *p, const char *why); + | ^~~~~~ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, - from queue/priqueue.cc:43: + from queue/dsr-priqueue.cc:8: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -9054,10 +9142,20 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/wired-phy.o mac/wired-phy.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./trace/cmu-trace.h:42, + from queue/dsr-priqueue.cc:10: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from queue/dsr-priqueue.cc:8: + from mac/phy.cc:44: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -9078,16 +9176,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./trace/cmu-trace.h:42, - from queue/priqueue.cc:47: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ @@ -9098,44 +9186,39 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] + 61 | virtual void format(int tt, int s, int d, Packet* p); + | ^~~~~~ +./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' + 141 | void format(Packet *p, const char *why); + | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ In file included from ./trace/trace.h:44, - from ./trace/cmu-trace.h:42, - from queue/dsr-priqueue.cc:10: + from ./mobile/energy-model.h:48, + from ./common/node.h:59, + from ./mac/channel.h:47, + from ./mac/phy.h:60, + from mac/phy.cc:46: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/phy.o mac/phy.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ -In file included from ./mobile/energy-model.h:49, - from ./common/node.h:59, - from ./mobile/god.h:53, - from ./trace/cmu-trace.h:43: +In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] - 61 | virtual void format(int tt, int s, int d, Packet* p); - | ^~~~~~ -./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' - 141 | void format(Packet *p, const char *why); - | ^~~~~~ -./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] - 61 | virtual void format(int tt, int s, int d, Packet* p); - | ^~~~~~ -./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' - 141 | void format(Packet *p, const char *why); - | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/wired-phy.o mac/wired-phy.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from mac/phy.cc:44: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/bi-connector.h:40, + from ./mac/phy.h:54, + from ./mac/wired-phy.h:39, + from mac/wired-phy.cc:36: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -9156,28 +9239,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/wireless-phy.o mac/wireless-phy.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59, - from ./mac/channel.h:47, - from ./mac/phy.h:60, - from mac/phy.cc:46: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ In file included from ./routing/rtmodule.h:60, from ./common/node.h:61: ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] @@ -9187,6 +9248,7 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/wireless-phy.o mac/wireless-phy.cc In file included from ./mac/phy.h:54: ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) @@ -9213,34 +9275,6 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/bi-connector.h:40, - from ./mac/phy.h:54, - from ./mac/wired-phy.h:39, - from mac/wired-phy.cc:36: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/wireless-phyExt.o mac/wireless-phyExt.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] @@ -9286,6 +9320,10 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/wireless-phyExt.o mac/wireless-phyExt.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/mac-timers.o mac/mac-timers.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from mac/wireless-phy.cc:43: @@ -9356,6 +9394,7 @@ ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o trace/cmu-trace.o trace/cmu-trace.cc ./mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' 79 | virtual int sendUp(Packet *p)=0; | ^~~~~~ @@ -9365,7 +9404,6 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/mac-timers.o mac/mac-timers.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, @@ -9391,33 +9429,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/bi-connector.h:40, - from ./mac/phy.h:54, - from ./mac/wireless-phyExt.h:61, - from mac/wireless-phyExt.cc:61: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -9440,25 +9451,6 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59, - from ./mac/channel.h:47, - from ./mac/phy.h:60: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ In file included from mac/mac-timers.cc:49: ./mac/mac-timers.h:55:22: warning: 'virtual void MacTimer::resume()' was hidden [-Woverloaded-virtual=] 55 | virtual void resume(void) { assert(0); } @@ -9466,44 +9458,6 @@ ./mac/mac-timers.h:82:17: note: by 'void BackoffTimer::resume(double)' 82 | void resume(double difs); | ^~~~~~ -In file included from ./routing/rtmodule.h:60, - from ./common/node.h:61: -./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] - 75 | virtual void set_table_size(int level, int nn); - | ^~~~~~~~~~~~~~ -In file included from ./routing/rtmodule.h:61: -./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' - 70 | void set_table_size(int nn); - | ^~~~~~~~~~~~~~ -./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 57 | inline virtual void sendUp(Packet* p, Handler* h) - | ^~~~~~ -In file included from ./mac/phy.h:62: -./mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' - 179 | virtual void sendUp(Packet *p); - | ^~~~~~ -./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 55 | virtual void sendDown(Packet* p, Handler* h) - | ^~~~~~~~ -./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' - 178 | virtual void sendDown(Packet* p); - | ^~~~~~~~ -./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 57 | inline virtual void sendUp(Packet* p, Handler* h) - | ^~~~~~ -./mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' - 79 | virtual int sendUp(Packet *p)=0; - | ^~~~~~ -./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 55 | virtual void sendDown(Packet* p, Handler* h) - | ^~~~~~~~ -./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' - 77 | virtual void sendDown(Packet *p)=0; - | ^~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o trace/cmu-trace.o trace/cmu-trace.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/varp.o mac/varp.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ trace/cmu-trace.cc:210:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 210 | "%c "TIME_FORMAT" -s %d -d %d -p %s -k %3s -i %d " | ^ @@ -9563,8 +9517,10 @@ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, - from mac/varp.h:41, - from mac/varp.cc:36: + from ./common/bi-connector.h:40, + from ./mac/phy.h:54, + from ./mac/wireless-phyExt.h:61, + from mac/wireless-phyExt.cc:61: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -9585,12 +9541,15 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ In file included from ./trace/trace.h:44, from ./mobile/energy-model.h:48, - from ./common/node.h:59: + from ./common/node.h:59, + from ./mac/channel.h:47, + from ./mac/phy.h:60: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ @@ -9601,35 +9560,12 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -In file included from ./mac/ll.h:45, - from ./mac/mac.h:47: -./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] - 75 | virtual void set_table_size(int level, int nn); - | ^~~~~~~~~~~~~~ -In file included from ./routing/rtmodule.h:61, - from ./common/node.h:61: -./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' - 70 | void set_table_size(int nn); - | ^~~~~~~~~~~~~~ -In file included from ./mac/mac-802_11.h:47, - from trace/cmu-trace.cc:48: -./mac/mac-timers.h:55:22: warning: 'virtual void MacTimer::resume()' was hidden [-Woverloaded-virtual=] - 55 | virtual void resume(void) { assert(0); } - | ^~~~~~ -./mac/mac-timers.h:82:17: note: by 'void BackoffTimer::resume(double)' - 82 | void resume(double difs); - | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ In file included from ./trace/trace.h:44, from ./mobile/energy-model.h:48, - from ./common/node.h:59, - from mac/channel.h:47, - from mac/phy.h:60, - from mac/mac.h:48, - from mac/varp.cc:37: + from ./common/node.h:59: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ @@ -9640,8 +9576,17 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -In file included from mac/ll.h:45, - from mac/mac.h:47: +In file included from ./routing/rtmodule.h:60, + from ./common/node.h:61: +./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] + 75 | virtual void set_table_size(int level, int nn); + | ^~~~~~~~~~~~~~ +In file included from ./routing/rtmodule.h:61: +./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' + 70 | void set_table_size(int nn); + | ^~~~~~~~~~~~~~ +In file included from ./mac/ll.h:45, + from ./mac/mac.h:47: ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] 75 | virtual void set_table_size(int level, int nn); | ^~~~~~~~~~~~~~ @@ -9650,6 +9595,43 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ +./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 57 | inline virtual void sendUp(Packet* p, Handler* h) + | ^~~~~~ +In file included from ./mac/phy.h:62: +./mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' + 179 | virtual void sendUp(Packet *p); + | ^~~~~~ +./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 55 | virtual void sendDown(Packet* p, Handler* h) + | ^~~~~~~~ +./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' + 178 | virtual void sendDown(Packet* p); + | ^~~~~~~~ +./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 57 | inline virtual void sendUp(Packet* p, Handler* h) + | ^~~~~~ +./mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' + 79 | virtual int sendUp(Packet *p)=0; + | ^~~~~~ +./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 55 | virtual void sendDown(Packet* p, Handler* h) + | ^~~~~~~~ +./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' + 77 | virtual void sendDown(Packet *p)=0; + | ^~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/varp.o mac/varp.cc +In file included from ./mac/mac-802_11.h:47, + from trace/cmu-trace.cc:48: +./mac/mac-timers.h:55:22: warning: 'virtual void MacTimer::resume()' was hidden [-Woverloaded-virtual=] + 55 | virtual void resume(void) { assert(0); } + | ^~~~~~ +./mac/mac-timers.h:82:17: note: by 'void BackoffTimer::resume(double)' + 82 | void resume(double difs); + | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/mac-simple.o mac/mac-simple.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ ./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] 61 | virtual void format(int tt, int s, int d, Packet* p); | ^~~~~~ @@ -9690,33 +9672,6 @@ ./tora/tora_packet.h:74:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 74 | if(h->id > id) return 1; if(id > h->id) return -1; | ^~ -In file included from mac/mac.h:43: -./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 57 | inline virtual void sendUp(Packet* p, Handler* h) - | ^~~~~~ -mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' - 79 | virtual int sendUp(Packet *p)=0; - | ^~~~~~ -./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 55 | virtual void sendDown(Packet* p, Handler* h) - | ^~~~~~~~ -mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' - 77 | virtual void sendDown(Packet *p)=0; - | ^~~~~~~~ -./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 57 | inline virtual void sendUp(Packet* p, Handler* h) - | ^~~~~~ -mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' - 179 | virtual void sendUp(Packet *p); - | ^~~~~~ -./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 55 | virtual void sendDown(Packet* p, Handler* h) - | ^~~~~~~~ -mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' - 178 | virtual void sendDown(Packet* p); - | ^~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mac/mac-simple.o mac/mac-simple.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ mac/mac-simple.cc:82:30: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 82 | sprintf(wrk, "E -t "TIME_FORMAT" %s %s %s", | ^ @@ -9724,10 +9679,10 @@ 90 | sprintf(nwrk, "E -t "TIME_FORMAT" %s %s %s", | ^ In file included from ./config.h:60, - from ./common/packet.h:43, - from ./link/delay.h:42, - from mac/ll.h:42, - from mac/mac-simple.cc:47: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from mac/varp.h:41, + from mac/varp.cc:36: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -9748,16 +9703,11 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o satellite/sat-hdlc.o satellite/sat-hdlc.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from ./common/node.h:53, - from ./satellite/satlink.h:42, - from ./satellite/sat-hdlc.h:46, - from satellite/sat-hdlc.cc:37: + from ./common/packet.h:43, + from ./link/delay.h:42, + from mac/ll.h:42, + from mac/mac-simple.cc:47: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -9788,7 +9738,7 @@ from mac/channel.h:47, from mac/phy.h:60, from mac/mac.h:48, - from mac/mac-simple.cc:48: + from mac/varp.cc:37: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ @@ -9799,7 +9749,8 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -In file included from mac/ll.h:45: +In file included from mac/ll.h:45, + from mac/mac.h:47: ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] 75 | virtual void set_table_size(int level, int nn); | ^~~~~~~~~~~~~~ @@ -9808,34 +9759,61 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ -In file included from ./mac/phy.h:54, - from ./common/node.h:57: -./common/bi-connector.h: At global scope: +In file included from mac/mac.h:43: ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) | ^~~~~~ -In file included from ./mac/phy.h:62: -./mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' - 179 | virtual void sendUp(Packet *p); - | ^~~~~~ +mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' + 79 | virtual int sendUp(Packet *p)=0; + | ^~~~~~ ./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 55 | virtual void sendDown(Packet* p, Handler* h) | ^~~~~~~~ -./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' - 178 | virtual void sendDown(Packet* p); +mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' + 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) | ^~~~~~ -./mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' - 79 | virtual int sendUp(Packet *p)=0; - | ^~~~~~ +mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' + 179 | virtual void sendUp(Packet *p); + | ^~~~~~ ./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 55 | virtual void sendDown(Packet* p, Handler* h) | ^~~~~~~~ -./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' - 77 | virtual void sendDown(Packet *p)=0; +mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' + 178 | virtual void sendDown(Packet* p); | ^~~~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./mobile/energy-model.h:48, + from ./common/node.h:59, + from mac/channel.h:47, + from mac/phy.h:60, + from mac/mac.h:48, + from mac/mac-simple.cc:48: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +In file included from mac/ll.h:45: +./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] + 75 | virtual void set_table_size(int level, int nn); + | ^~~~~~~~~~~~~~ +In file included from ./routing/rtmodule.h:61, + from ./common/node.h:61: +./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' + 70 | void set_table_size(int nn); + | ^~~~~~~~~~~~~~ In file included from mac/mac.h:43: ./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 55 | virtual void sendDown(Packet* p, Handler* h) @@ -9868,6 +9846,79 @@ ./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' 141 | void format(Packet *p, const char *why); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o satellite/sat-hdlc.o satellite/sat-hdlc.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from ./config.h:60, + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from ./common/node.h:53, + from ./satellite/satlink.h:42, + from ./satellite/sat-hdlc.h:46, + from satellite/sat-hdlc.cc:37: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +In file included from ./mac/phy.h:54, + from ./common/node.h:57: +./common/bi-connector.h: At global scope: +./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 57 | inline virtual void sendUp(Packet* p, Handler* h) + | ^~~~~~ +In file included from ./mac/phy.h:62: +./mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' + 179 | virtual void sendUp(Packet *p); + | ^~~~~~ +./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 55 | virtual void sendDown(Packet* p, Handler* h) + | ^~~~~~~~ +./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' + 178 | virtual void sendDown(Packet* p); + | ^~~~~~~~ +./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 57 | inline virtual void sendUp(Packet* p, Handler* h) + | ^~~~~~ +./mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' + 79 | virtual int sendUp(Packet *p)=0; + | ^~~~~~ +./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 55 | virtual void sendDown(Packet* p, Handler* h) + | ^~~~~~~~ +./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' + 77 | virtual void sendDown(Packet *p)=0; + | ^~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsdv/dsdv.o dsdv/dsdv.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +trace/cmu-trace.cc: In member function 'void CMUTrace::format_mac_common(Packet*, const char*, int)': +trace/cmu-trace.cc:291:38: warning: 'mh' may be used uninitialized [-Wmaybe-uninitialized] + 291 | (mh->dh_fc.fc_type == MAC_Type_Control) ? ( + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +trace/cmu-trace.cc:166:31: note: 'mh' was declared here + 166 | struct hdr_mac802_11 *mh; + | ^~ +trace/cmu-trace.cc:317:24: warning: 'sh' may be used uninitialized [-Wmaybe-uninitialized] + 317 | (sh->type == RTS_PKT) ? "RTS" : + | ~~~~^~~~ +trace/cmu-trace.cc:167:26: note: 'sh' was declared here + 167 | struct hdr_smac *sh; + | ^~ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ @@ -9894,21 +9945,6 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ -trace/cmu-trace.cc: In member function 'void CMUTrace::format_mac_common(Packet*, const char*, int)': -trace/cmu-trace.cc:291:38: warning: 'mh' may be used uninitialized [-Wmaybe-uninitialized] - 291 | (mh->dh_fc.fc_type == MAC_Type_Control) ? ( - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -trace/cmu-trace.cc:166:31: note: 'mh' was declared here - 166 | struct hdr_mac802_11 *mh; - | ^~ -trace/cmu-trace.cc:317:24: warning: 'sh' may be used uninitialized [-Wmaybe-uninitialized] - 317 | (sh->type == RTS_PKT) ? "RTS" : - | ~~~~^~~~ -trace/cmu-trace.cc:167:26: note: 'sh' was declared here - 167 | struct hdr_smac *sh; - | ^~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsdv/dsdv.o dsdv/dsdv.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from dsdv/dsdv.h:44, from dsdv/dsdv.cc:44: @@ -9932,6 +9968,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsdv/rtable.o dsdv/rtable.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -9995,33 +10033,6 @@ dsdv/rtable.h:63:7: note: 'class rtable_ent' declared here 63 | class rtable_ent { | ^~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsdv/rtable.o dsdv/rtable.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -dsdv/dsdv.cc: In member function 'void DSDV_Agent::tracepkt(Packet*, double, int, const char*)': -dsdv/dsdv.cc:112:31: warning: ' (' directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] - 112 | snprintf (buf, 1024, "%s (%d,%d,%d)", buf, dst, met, seq); - | ^~ -dsdv/dsdv.cc:112:28: note: using the range [-2147483648, 2147483647] for directive argument - 112 | snprintf (buf, 1024, "%s (%d,%d,%d)", buf, dst, met, seq); - | ^~~~~~~~~~~~~~~ -dsdv/dsdv.cc:112:28: note: directive argument in the range [0, 255] -dsdv/dsdv.cc:112:28: note: using the range [-2147483648, 2147483647] for directive argument -In file included from /usr/include/stdio.h:970, - from /usr/include/tcl/tcl.h:125: -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'void DSDV_Agent::tracepkt(Packet*, double, int, const char*)' at dsdv/dsdv.cc:112:16: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output between 9 and 1054 bytes into a destination of size 1024 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:35: warning: '__builtin___snprintf_chk' argument 6 overlaps destination object 'buf' [-Wrestrict] -dsdv/dsdv.cc: In member function 'void DSDV_Agent::tracepkt(Packet*, double, int, const char*)': -dsdv/dsdv.cc:93:8: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 93 | char buf[1024]; - | ^~~ In file included from ./config.h:60, from dsdv/rtable.h:43, from dsdv/rtable.cc:40: @@ -10046,9 +10057,32 @@ 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/rtqueue.o queue/rtqueue.cc +dsdv/dsdv.cc: In member function 'void DSDV_Agent::tracepkt(Packet*, double, int, const char*)': +dsdv/dsdv.cc:112:31: warning: ' (' directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] + 112 | snprintf (buf, 1024, "%s (%d,%d,%d)", buf, dst, met, seq); + | ^~ +dsdv/dsdv.cc:112:28: note: using the range [-2147483648, 2147483647] for directive argument + 112 | snprintf (buf, 1024, "%s (%d,%d,%d)", buf, dst, met, seq); + | ^~~~~~~~~~~~~~~ +dsdv/dsdv.cc:112:28: note: directive argument in the range [0, 255] cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routing/rttable.o routing/rttable.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +dsdv/dsdv.cc:112:28: note: using the range [-2147483648, 2147483647] for directive argument +In file included from /usr/include/stdio.h:970, + from /usr/include/tcl/tcl.h:125: +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'void DSDV_Agent::tracepkt(Packet*, double, int, const char*)' at dsdv/dsdv.cc:112:16: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output between 9 and 1054 bytes into a destination of size 1024 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:35: warning: '__builtin___snprintf_chk' argument 6 overlaps destination object 'buf' [-Wrestrict] +dsdv/dsdv.cc: In member function 'void DSDV_Agent::tracepkt(Packet*, double, int, const char*)': +dsdv/dsdv.cc:93:8: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 93 | char buf[1024]; + | ^~~ In file included from ./config.h:60, from ./common/packet.h:43, from ./queue/rtqueue.h:8, @@ -10073,30 +10107,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./config.h:60, - from ./routing/rttable.h:45, - from routing/rttable.cc:39: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/imep.o imep/imep.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routing/rttable.o routing/rttable.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] @@ -10132,11 +10143,9 @@ queue/rtqueue.cc:174:21: warning: variable 'prev' set but not used [-Wunused-but-set-variable] 174 | Packet *p, *prev = 0; | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/dest_queue.o imep/dest_queue.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/packet.h:43, - from imep/imep.cc:39: + from ./routing/rttable.h:45, + from routing/rttable.cc:39: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -10157,10 +10166,17 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/imep.o imep/imep.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/dest_queue.o imep/dest_queue.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/imep_api.o imep/imep_api.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/imep_rt.o imep/imep_rt.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, - from ./imep/dest_queue.h:44, - from imep/dest_queue.cc:44: + from imep/imep.cc:39: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -10181,35 +10197,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/imep_api.o imep/imep_api.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from imep/imep.cc:41: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./trace/cmu-trace.h:42, - from imep/imep.cc:43: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] - 61 | virtual void format(int tt, int s, int d, Packet* p); - | ^~~~~~ -./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' - 141 | void format(Packet *p, const char *why); - | ^~~~~~ In file included from ./config.h:60, - from ./imep/imep.h:45, - from imep/imep_api.cc:41: + from ./common/packet.h:43, + from ./imep/dest_queue.h:44, + from imep/dest_queue.cc:44: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -10230,36 +10221,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./imep/imep.h:48, - from imep/dest_queue.cc:48: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -imep/dest_queue.cc: In member function 'void dstQueue::dumpAll()': -imep/dest_queue.cc:331:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 331 | if (verbose) - | ^~ -imep/dest_queue.cc:335:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 335 | txent *u = t->findFirstEntry(); - | ^~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./imep/imep.h:48: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/imep_rt.o imep/imep_rt.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/rxmit_queue.o imep/rxmit_queue.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./imep/imep.h:45, from imep/imep_rt.cc:43: @@ -10284,8 +10245,8 @@ 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ In file included from ./config.h:60, - from ./common/packet.h:43, - from imep/rxmit_queue.cc:43: + from ./imep/imep.h:45, + from imep/imep_api.cc:41: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -10306,8 +10267,56 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/imep_timers.o imep/imep_timers.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from imep/imep.cc:41: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./trace/cmu-trace.h:42, + from imep/imep.cc:43: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] + 61 | virtual void format(int tt, int s, int d, Packet* p); + | ^~~~~~ +./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' + 141 | void format(Packet *p, const char *why); + | ^~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./imep/imep.h:48, + from imep/dest_queue.cc:48: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +imep/dest_queue.cc: In member function 'void dstQueue::dumpAll()': +imep/dest_queue.cc:331:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 331 | if (verbose) + | ^~ +imep/dest_queue.cc:335:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 335 | txent *u = t->findFirstEntry(); + | ^~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./imep/imep.h:48: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -10349,7 +10358,36 @@ ./tora/tora_packet.h:74:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 74 | if(h->id > id) return 1; if(id > h->id) return -1; | ^~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/rxmit_queue.o imep/rxmit_queue.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/imep_timers.o imep/imep_timers.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/imep_util.o imep/imep_util.cc +In file included from ./config.h:60, + from ./common/packet.h:43, + from imep/rxmit_queue.cc:43: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/imep_io.o imep/imep_io.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./imep/imep.h:45, @@ -10374,8 +10412,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o imep/imep_io.o imep/imep_io.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from imep/imep_util.cc:41: @@ -10440,8 +10476,6 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tora/tora.o tora/tora.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -10452,6 +10486,7 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tora/tora.o tora/tora.cc In file included from ./config.h:60, from ./tools/random.h:41, from imep/imep_io.cc:43: @@ -10475,6 +10510,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -10483,6 +10519,8 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tora/tora_api.o tora/tora_api.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ @@ -10518,7 +10556,31 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tora/tora_api.o tora/tora_api.cc +In file included from ./config.h:60, + from ./common/packet.h:43, + from ./tora/tora.h:42, + from tora/tora_api.cc:43: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tora/tora_dest.o tora/tora_dest.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] @@ -10569,6 +10631,26 @@ ./tora/tora_packet.h:74:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 74 | if(h->id > id) return 1; if(id > h->id) return -1; | ^~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./trace/cmu-trace.h:42, + from ./tora/tora.h:44: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49, + from ./common/node.h:59, + from ./mobile/god.h:53, + from ./trace/cmu-trace.h:43: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ ./trace/trace.h: At global scope: ./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] 61 | virtual void format(int tt, int s, int d, Packet* p); @@ -10578,12 +10660,52 @@ ./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' 141 | void format(Packet *p, const char *why); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tora/tora_dest.o tora/tora_dest.cc +./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] + 61 | virtual void format(int tt, int s, int d, Packet* p); + | ^~~~~~ +./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' + 141 | void format(Packet *p, const char *why); + | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tora/tora_io.o tora/tora_io.cc +In file included from ./tora/tora.h:51: +./tora/tora_packet.h: In member function 'int Height::compare(Height*)': +./tora/tora_packet.h:70:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 70 | if(h->tau > tau) return 1; if(tau > h->tau) return -1; + | ^~ +./tora/tora_packet.h:70:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 70 | if(h->tau > tau) return 1; if(tau > h->tau) return -1; + | ^~ +./tora/tora_packet.h:71:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 71 | if(h->oid > oid) return 1; if(oid > h->oid) return -1; + | ^~ +./tora/tora_packet.h:71:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 71 | if(h->oid > oid) return 1; if(oid > h->oid) return -1; + | ^~ +./tora/tora_packet.h:72:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 72 | if(h->r > r) return 1; if(r > h->r) return -1; + | ^~ +./tora/tora_packet.h:72:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 72 | if(h->r > r) return 1; if(r > h->r) return -1; + | ^~ +./tora/tora_packet.h:73:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 73 | if(h->delta > delta) return 1; if(delta > h->delta) return -1; + | ^~ +./tora/tora_packet.h:73:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 73 | if(h->delta > delta) return 1; if(delta > h->delta) return -1; + | ^~ +./tora/tora_packet.h:74:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 74 | if(h->id > id) return 1; if(id > h->id) return -1; + | ^~ +./tora/tora_packet.h:74:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 74 | if(h->id > id) return 1; if(id > h->id) return -1; + | ^~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/packet.h:43, - from ./tora/tora.h:42, - from tora/tora_api.cc:43: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from ./common/agent.h:40, + from tora/tora_dest.cc:39: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -10604,12 +10726,11 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tora/tora_logs.o tora/tora_logs.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from ./common/agent.h:40, - from tora/tora_dest.cc:39: + from ./tora/tora_packet.h:44, + from tora/tora_io.cc:42: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -10631,32 +10752,22 @@ 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from tora/tora_dest.cc:40: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ In file included from ./trace/trace.h:44, - from ./trace/cmu-trace.h:42, - from ./tora/tora.h:44: + from tora/tora_dest.cc:41: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49, - from ./common/node.h:59, - from ./mobile/god.h:53, - from ./trace/cmu-trace.h:43: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] - 61 | virtual void format(int tt, int s, int d, Packet* p); - | ^~~~~~ -./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' - 141 | void format(Packet *p, const char *why); - | ^~~~~~ -In file included from ./tora/tora.h:51: ./tora/tora_packet.h: In member function 'int Height::compare(Height*)': ./tora/tora_packet.h:70:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 70 | if(h->tau > tau) return 1; if(tau > h->tau) return -1; @@ -10688,23 +10799,6 @@ ./tora/tora_packet.h:74:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 74 | if(h->id > id) return 1; if(id > h->id) return -1; | ^~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from tora/tora_dest.cc:40: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from tora/tora_dest.cc:41: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ In file included from tora/tora_dest.cc:45: ./tora/tora_packet.h: In member function 'int Height::compare(Height*)': ./tora/tora_packet.h:70:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] @@ -10746,13 +10840,33 @@ ./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' 141 | void format(Packet *p, const char *why); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tora/tora_io.o tora/tora_io.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tora/tora_logs.o tora/tora_logs.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./trace/cmu-trace.h:42, + from ./tora/tora.h:44, + from tora/tora_io.cc:43: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49, + from ./common/node.h:59, + from ./mobile/god.h:53, + from ./trace/cmu-trace.h:43: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ In file included from ./config.h:60, - from ./tora/tora_packet.h:44, - from tora/tora_io.cc:42: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from ./common/agent.h:40, + from tora/tora_logs.cc:5: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -10773,6 +10887,35 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] + 61 | virtual void format(int tt, int s, int d, Packet* p); + | ^~~~~~ +./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' + 141 | void format(Packet *p, const char *why); + | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tora/tora_neighbor.o tora/tora_neighbor.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/dsragent.o dsr/dsragent.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from tora/tora_logs.cc:6: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from tora/tora_logs.cc:7: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/hdr_sr.o dsr/hdr_sr.cc +In file included from tora/tora_logs.cc:11: ./tora/tora_packet.h: In member function 'int Height::compare(Height*)': ./tora/tora_packet.h:70:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 70 | if(h->tau > tau) return 1; if(tau > h->tau) return -1; @@ -10804,12 +10947,22 @@ ./tora/tora_packet.h:74:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 74 | if(h->id > id) return 1; if(id > h->id) return -1; | ^~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +./trace/trace.h: At global scope: +./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] + 61 | virtual void format(int tt, int s, int d, Packet* p); + | ^~~~~~ +In file included from ./tora/tora.h:44, + from tora/tora_logs.cc:12: +./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' + 141 | void format(Packet *p, const char *why); + | ^~~~~~ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, from ./common/connector.h:40, from ./common/agent.h:40, - from tora/tora_logs.cc:5: + from tora/tora_neighbor.cc:40: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -10830,58 +10983,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tora/tora_neighbor.o tora/tora_neighbor.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./trace/cmu-trace.h:42, - from ./tora/tora.h:44, - from tora/tora_io.cc:43: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49, - from ./common/node.h:59, - from ./mobile/god.h:53, - from ./trace/cmu-trace.h:43: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from tora/tora_logs.cc:6: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] - 61 | virtual void format(int tt, int s, int d, Packet* p); - | ^~~~~~ -./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' - 141 | void format(Packet *p, const char *why); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from tora/tora_logs.cc:7: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from ./common/agent.h:40, - from tora/tora_neighbor.cc:40: + from ./common/packet.h:43, + from dsr/hdr_sr.h:63, + from dsr/hdr_sr.cc:58: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -10902,48 +11007,9 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from tora/tora_logs.cc:11: -./tora/tora_packet.h: In member function 'int Height::compare(Height*)': -./tora/tora_packet.h:70:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 70 | if(h->tau > tau) return 1; if(tau > h->tau) return -1; - | ^~ -./tora/tora_packet.h:70:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 70 | if(h->tau > tau) return 1; if(tau > h->tau) return -1; - | ^~ -./tora/tora_packet.h:71:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 71 | if(h->oid > oid) return 1; if(oid > h->oid) return -1; - | ^~ -./tora/tora_packet.h:71:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 71 | if(h->oid > oid) return 1; if(oid > h->oid) return -1; - | ^~ -./tora/tora_packet.h:72:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 72 | if(h->r > r) return 1; if(r > h->r) return -1; - | ^~ -./tora/tora_packet.h:72:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 72 | if(h->r > r) return 1; if(r > h->r) return -1; - | ^~ -./tora/tora_packet.h:73:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 73 | if(h->delta > delta) return 1; if(delta > h->delta) return -1; - | ^~ -./tora/tora_packet.h:73:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 73 | if(h->delta > delta) return 1; if(delta > h->delta) return -1; - | ^~ -./tora/tora_packet.h:74:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 74 | if(h->id > id) return 1; if(id > h->id) return -1; - | ^~ -./tora/tora_packet.h:74:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 74 | if(h->id > id) return 1; if(id > h->id) return -1; - | ^~ -./trace/trace.h: At global scope: -./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] - 61 | virtual void format(int tt, int s, int d, Packet* p); - | ^~~~~~ -In file included from ./tora/tora.h:44, - from tora/tora_logs.cc:12: -./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' - 141 | void format(Packet *p, const char *why); - | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/dsragent.o dsr/dsragent.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/mobicache.o dsr/mobicache.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/path.o dsr/path.cc /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -10954,7 +11020,6 @@ 115 | void init(); | ^~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/hdr_sr.o dsr/hdr_sr.cc /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ @@ -10963,7 +11028,6 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from tora/tora_neighbor.cc:46: ./tora/tora_packet.h: In member function 'int Height::compare(Height*)': ./tora/tora_packet.h:70:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] @@ -11006,9 +11070,9 @@ 141 | void format(Packet *p, const char *why); | ^~~~~~ In file included from ./config.h:60, - from ./common/packet.h:43, - from dsr/hdr_sr.h:63, - from dsr/hdr_sr.cc:58: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from dsr/dsragent.cc:67: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -11029,10 +11093,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/mobicache.o dsr/mobicache.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/path.o dsr/path.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from dsr/path.cc:63: @@ -11082,30 +11142,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from dsr/dsragent.cc:67: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -11176,6 +11212,8 @@ dsr/routecache.h:100:8: note: by 'void RouteCache::trace(char*, ...)' 100 | void trace(char* fmt, ...); | ^~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/requesttable.o dsr/requesttable.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -11185,6 +11223,30 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ +In file included from ./config.h:60, + from ./common/packet.h:43, + from dsr/path.h:65, + from dsr/requesttable.cc:59: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) | ^~~~~~ @@ -11227,39 +11289,14 @@ dsr/routecache.h:100:8: note: by 'void RouteCache::trace(char*, ...)' 100 | void trace(char* fmt, ...); | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/requesttable.o dsr/requesttable.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from ./config.h:60, - from ./common/packet.h:43, - from dsr/path.h:65, - from dsr/requesttable.cc:59: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/routecache.o dsr/routecache.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/add_sr.o dsr/add_sr.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, - from dsr/add_sr.cc:57: + from dsr/path.h:65, + from dsr/routecache.cc:62: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -11282,8 +11319,7 @@ | ^~~~~~ In file included from ./config.h:60, from ./common/packet.h:43, - from dsr/path.h:65, - from dsr/routecache.cc:62: + from dsr/add_sr.cc:57: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -11306,6 +11342,8 @@ | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/dsr_proto.o dsr/dsr_proto.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/flowstruct.o dsr/flowstruct.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -11334,7 +11372,9 @@ | ^~~~ In file included from ./config.h:60, from ./common/packet.h:43, - from dsr/dsr_proto.cc:61: + from dsr/path.h:65, + from dsr/flowstruct.h:60, + from dsr/flowstruct.cc:53: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -11355,43 +11395,13 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from dsr/dsr_proto.cc:64: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from dsr/dsr_proto.cc:66: -dsr/routecache.h:100:8: note: by 'void RouteCache::trace(char*, ...)' - 100 | void trace(char* fmt, ...); - | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/flowstruct.o dsr/flowstruct.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -dsr/dsragent.cc: In member function 'void DSRAgent::processUnknownFlowError(SRPacket&, bool)': -dsr/dsragent.cc:1825:39: warning: 'flowid' may be used uninitialized [-Wmaybe-uninitialized] - 1825 | if (-1 != (flowidx = flow_table.find(fe->flow_src, fe->flow_dst, - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1826 | asDefault ? flowid : fe->flow_id))) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -dsr/dsragent.cc:1809:13: note: 'flowid' declared here - 1809 | u_int16_t flowid; - | ^~~~~~ In file included from ./config.h:60, from ./common/packet.h:43, - from dsr/path.h:65, - from dsr/flowstruct.h:60, - from dsr/flowstruct.cc:53: + from dsr/dsr_proto.cc:61: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/linkcache.o dsr/linkcache.cc In file included from /usr/include/tclcl/tclcl.h:42: /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); @@ -11408,11 +11418,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/simplecache.o dsr/simplecache.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/sr_forwarder.o dsr/sr_forwarder.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -11433,6 +11438,8 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/linkcache.o dsr/linkcache.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./mac/phy.h:54: ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) @@ -11441,33 +11448,9 @@ ./mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' 179 | virtual void sendUp(Packet *p); | ^~~~~~ -In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from dsr/sr_forwarder.cc:59: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ ./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 55 | virtual void sendDown(Packet* p, Handler* h) | ^~~~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ ./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' 178 | virtual void sendDown(Packet* p); | ^~~~~~~~ @@ -11483,10 +11466,21 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/simplecache.o dsr/simplecache.cc dsr/flowstruct.cc: In member function 'int FlowTable::find(nsaddr_t, nsaddr_t, u_int16_t)': dsr/flowstruct.cc:73:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 73 | register int i; | ^ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from dsr/dsr_proto.cc:64: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ dsr/flowstruct.cc: In member function 'int FlowTable::find(nsaddr_t, nsaddr_t, const Path&)': dsr/flowstruct.cc:84:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 84 | register int i; @@ -11505,6 +11499,52 @@ dsr/flowstruct.h:112:8: note: 'struct TableEntry' declared here 112 | struct TableEntry { | ^~~~~~~~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from dsr/dsr_proto.cc:66: +dsr/routecache.h:100:8: note: by 'void RouteCache::trace(char*, ...)' + 100 | void trace(char* fmt, ...); + | ^~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/sr_forwarder.o dsr/sr_forwarder.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from ./config.h:60, + from ./common/scheduler.h:40, + from ./common/object.h:40, + from dsr/sr_forwarder.cc:59: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +dsr/dsragent.cc: In member function 'void DSRAgent::processUnknownFlowError(SRPacket&, bool)': +dsr/dsragent.cc:1825:39: warning: 'flowid' may be used uninitialized [-Wmaybe-uninitialized] + 1825 | if (-1 != (flowidx = flow_table.find(fe->flow_src, fe->flow_dst, + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1826 | asDefault ? flowid : fe->flow_id))) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +dsr/dsragent.cc:1809:13: note: 'flowid' declared here + 1809 | u_int16_t flowid; + | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aodv/aodv_logs.o aodv/aodv_logs.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aodv/aodv.o aodv/aodv.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -11569,12 +11609,6 @@ dsr/routecache.h:100:8: note: by 'void RouteCache::trace(char*, ...)' 100 | void trace(char* fmt, ...); | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aodv/aodv_logs.o aodv/aodv_logs.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aodv/aodv.o aodv/aodv.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aodv/aodv_rtable.o aodv/aodv_rtable.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from ./trace/trace.h:43, @@ -11601,29 +11635,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./config.h:60, - from ./aodv/aodv_rtable.h:36, - from aodv/aodv_rtable.cc:31: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -11679,13 +11690,13 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aodv/aodv_rtable.o aodv/aodv_rtable.cc ./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] 61 | virtual void format(int tt, int s, int d, Packet* p); | ^~~~~~ ./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' 141 | void format(Packet *p, const char *why); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aodv/aodv_rqueue.o aodv/aodv_rqueue.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, @@ -11713,7 +11724,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aomdv/aomdv_logs.o aomdv/aomdv_logs.cc /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -11722,7 +11732,6 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./mobile/god.h:48, from ./trace/cmu-trace.h:43: ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] @@ -11776,11 +11785,10 @@ ./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' 141 | void format(Packet *p, const char *why); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aodv/aodv_rqueue.o aodv/aodv_rqueue.cc In file included from ./config.h:60, - from ./common/packet.h:43, - from ./trace/trace.h:43, - from ./trace/cmu-trace.h:42, - from aodv/aodv_rqueue.cc:33: + from ./aodv/aodv_rtable.h:36, + from aodv/aodv_rtable.cc:31: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -11792,6 +11800,7 @@ /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ @@ -11801,12 +11810,13 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aomdv/aomdv_logs.o aomdv/aomdv_logs.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from ./trace/trace.h:43, from ./trace/cmu-trace.h:42, - from ./aomdv/aomdv.h:92, - from aomdv/aomdv_logs.cc:83: + from aodv/aodv_rqueue.cc:33: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -11882,6 +11892,44 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ +./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] + 61 | virtual void format(int tt, int s, int d, Packet* p); + | ^~~~~~ +./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' + 141 | void format(Packet *p, const char *why); + | ^~~~~~ +aodv/aodv_rqueue.cc: In member function 'void aodv_rqueue::verifyQueue()': +aodv/aodv_rqueue.cc:192:13: warning: variable 'prev' set but not used [-Wunused-but-set-variable] + 192 | Packet *p, *prev = 0; + | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aomdv/aomdv.o aomdv/aomdv.cc +In file included from ./config.h:60, + from ./common/packet.h:43, + from ./trace/trace.h:43, + from ./trace/cmu-trace.h:42, + from ./aomdv/aomdv.h:92, + from aomdv/aomdv_logs.cc:83: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -11927,16 +11975,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] - 61 | virtual void format(int tt, int s, int d, Packet* p); - | ^~~~~~ -./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' - 141 | void format(Packet *p, const char *why); - | ^~~~~~ -aodv/aodv_rqueue.cc: In member function 'void aodv_rqueue::verifyQueue()': -aodv/aodv_rqueue.cc:192:13: warning: variable 'prev' set but not used [-Wunused-but-set-variable] - 192 | Packet *p, *prev = 0; - | ^~~~ In file included from ./mac/ll.h:45, from ./mac/mac.h:47: ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] @@ -11953,9 +11991,9 @@ ./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' 141 | void format(Packet *p, const char *why); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aomdv/aomdv.o aomdv/aomdv.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aomdv/aomdv_rtable.o aomdv/aomdv_rtable.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aomdv/aomdv_rqueue.o aomdv/aomdv_rqueue.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./aomdv/aomdv_rtable.h:87, @@ -12051,7 +12089,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o aomdv/aomdv_rqueue.o aomdv/aomdv_rqueue.cc In file included from ./mac/ll.h:45, from ./mac/mac.h:47: ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] @@ -12062,15 +12099,12 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ ./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] 61 | virtual void format(int tt, int s, int d, Packet* p); | ^~~~~~ ./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' 141 | void format(Packet *p, const char *why); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o puma/puma.o puma/puma.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from ./trace/trace.h:43, @@ -12096,6 +12130,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o puma/puma.o puma/puma.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -12104,29 +12140,7 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ -In file included from ./config.h:60, - from ./classifier/classifier-port.h:54, - from puma/puma.cc:23: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mdart/mdart_adp.o mdart/mdart_adp.cc In file included from ./mobile/god.h:48, from ./trace/cmu-trace.h:43: ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] @@ -12156,6 +12170,7 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ @@ -12184,6 +12199,31 @@ aomdv/aomdv_rqueue.cc:244:13: warning: variable 'prev' set but not used [-Wunused-but-set-variable] 244 | Packet *p, *prev = 0; | ^~~~ +In file included from ./config.h:60, + from ./classifier/classifier-port.h:54, + from puma/puma.cc:23: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mdart/mdart_dht.o mdart/mdart_dht.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -12222,12 +12262,10 @@ puma/puma.cc:589:13: warning: deleting object of abstract class type 'RoutingEvent' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 589 | delete re; | ^~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mdart/mdart_adp.o mdart/mdart_adp.cc puma/puma.cc: In member function 'bool PUMA::do_i_forward_this_packet(multicast_group*, Packet*)': puma/puma.cc:853:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 853 | if (ch->prev_hop_ == temp->next_hop) | ^ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./tools/random.h:41, from ./mdart/mdart_function.h:52, @@ -12316,8 +12354,6 @@ ./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' 141 | void format(Packet *p, const char *why); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mdart/mdart_dht.o mdart/mdart_dht.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./tools/random.h:41, from ./mdart/mdart_function.h:52, @@ -12499,6 +12535,8 @@ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mdart/mdart_queue.o mdart/mdart_queue.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mdart/mdart_table.o mdart/mdart_table.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./tools/random.h:41, from ./mdart/mdart_function.h:52, @@ -12673,15 +12711,11 @@ ./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' 141 | void format(Packet *p, const char *why); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mdart/mdart_table.o mdart/mdart_table.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mdart/mdart.o mdart/mdart.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/ns-process.o common/ns-process.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from common/ns-process.h:57, - from common/ns-process.cc:56: + from ./tools/random.h:41, + from ./mdart/mdart_function.h:52, + from ./mdart/mdart_table.h:52, + from mdart/mdart_table.cc:47: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -12702,13 +12736,77 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./mdart/mdart_function.h:55: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +In file included from ./mobile/god.h:48, + from ./trace/cmu-trace.h:43, + from ./mdart/mdart_function.h:58: +./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 57 | inline virtual void sendUp(Packet* p, Handler* h) + | ^~~~~~ +In file included from ./mac/phy.h:62, + from ./common/node.h:57, + from ./mobile/god.h:53: +./mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' + 179 | virtual void sendUp(Packet *p); + | ^~~~~~ +./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 55 | virtual void sendDown(Packet* p, Handler* h) + | ^~~~~~~~ +./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' + 178 | virtual void sendDown(Packet* p); + | ^~~~~~~~ +./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 57 | inline virtual void sendUp(Packet* p, Handler* h) + | ^~~~~~ +./mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' + 79 | virtual int sendUp(Packet *p)=0; + | ^~~~~~ +./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 55 | virtual void sendDown(Packet* p, Handler* h) + | ^~~~~~~~ +./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' + 77 | virtual void sendDown(Packet *p)=0; + | ^~~~~~~~ +In file included from ./classifier/classifier-port.h:57, + from ./mdart/mdart_function.h:57: +./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] + 75 | virtual void set_table_size(int level, int nn); + | ^~~~~~~~~~~~~~ +In file included from ./routing/rtmodule.h:61, + from ./common/node.h:61: +./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' + 70 | void set_table_size(int nn); + | ^~~~~~~~~~~~~~ +./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] + 61 | virtual void format(int tt, int s, int d, Packet* p); + | ^~~~~~ +./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' + 141 | void format(Packet *p, const char *why); + | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mdart/mdart.o mdart/mdart.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/ns-process.o common/ns-process.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o satellite/satgeometry.o satellite/satgeometry.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./tools/random.h:41, - from ./mdart/mdart_function.h:52, - from ./mdart/mdart.h:52, - from mdart/mdart.cc:47: + from common/ns-process.h:57, + from common/ns-process.cc:56: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -12729,11 +12827,13 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o satellite/sathandoff.o satellite/sathandoff.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./tools/random.h:41, from ./mdart/mdart_function.h:52, - from ./mdart/mdart_table.h:52, - from mdart/mdart_table.cc:47: + from ./mdart/mdart.h:52, + from mdart/mdart.cc:47: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -12762,22 +12862,31 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mdart/mdart_function.h:55: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ +In file included from ./config.h:60, + from ./common/packet.h:43, + from ./trace/trace.h:43, + from satellite/satgeometry.h:43, + from satellite/satgeometry.cc:42: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ @@ -12807,36 +12916,6 @@ ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) | ^~~~~~ -In file included from ./mobile/god.h:48, - from ./trace/cmu-trace.h:43, - from ./mdart/mdart_function.h:58: -./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 57 | inline virtual void sendUp(Packet* p, Handler* h) - | ^~~~~~ -./mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' - 79 | virtual int sendUp(Packet *p)=0; - | ^~~~~~ -./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 55 | virtual void sendDown(Packet* p, Handler* h) - | ^~~~~~~~ -./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' - 77 | virtual void sendDown(Packet *p)=0; - | ^~~~~~~~ -In file included from ./mac/phy.h:62, - from ./common/node.h:57, - from ./mobile/god.h:53: -./mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' - 179 | virtual void sendUp(Packet *p); - | ^~~~~~ -./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 55 | virtual void sendDown(Packet* p, Handler* h) - | ^~~~~~~~ -./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' - 178 | virtual void sendDown(Packet* p); - | ^~~~~~~~ -./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 57 | inline virtual void sendUp(Packet* p, Handler* h) - | ^~~~~~ ./mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' 79 | virtual int sendUp(Packet *p)=0; | ^~~~~~ @@ -12856,53 +12935,6 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ -In file included from ./classifier/classifier-port.h:57, - from ./mdart/mdart_function.h:57: -./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] - 75 | virtual void set_table_size(int level, int nn); - | ^~~~~~~~~~~~~~ -In file included from ./routing/rtmodule.h:61, - from ./common/node.h:61: -./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' - 70 | void set_table_size(int nn); - | ^~~~~~~~~~~~~~ -In file included from ./config.h:60, - from ./common/packet.h:43, - from ./trace/trace.h:43, - from satellite/satgeometry.h:43, - from satellite/satgeometry.cc:42: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] - 61 | virtual void format(int tt, int s, int d, Packet* p); - | ^~~~~~ -./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' - 141 | void format(Packet *p, const char *why); - | ^~~~~~ -./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] - 61 | virtual void format(int tt, int s, int d, Packet* p); - | ^~~~~~ -./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' - 141 | void format(Packet *p, const char *why); - | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -12929,6 +12961,12 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +./trace/trace.h:61:22: warning: 'virtual void Trace::format(int, int, int, Packet*)' was hidden [-Woverloaded-virtual=] + 61 | virtual void format(int tt, int s, int d, Packet* p); + | ^~~~~~ +./trace/cmu-trace.h:141:17: note: by 'void CMUTrace::format(Packet*, const char*)' + 141 | void format(Packet *p, const char *why); + | ^~~~~~ In file included from ./routing/rtmodule.h:60, from ./common/node.h:61: ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] @@ -12964,8 +13002,6 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o satellite/sathandoff.o satellite/sathandoff.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./tools/random.h:41, from satellite/sathandoff.cc:42: @@ -13045,6 +13081,8 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o satellite/satlink.o satellite/satlink.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h:174:21: warning: 'virtual int TclObject::command(int, const char* const*)' was hidden [-Woverloaded-virtual=] 174 | virtual int command(int argc, const char*const* argv); | ^~~~~~~ @@ -13060,10 +13098,6 @@ satellite/satnode.h:61:19: note: by 'SatTrace* SatNode::trace()' 61 | SatTrace* trace() { return trace_; } | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o satellite/satlink.o satellite/satlink.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o satellite/satnode.o satellite/satnode.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -13160,6 +13194,10 @@ satellite/satnode.h:61:19: note: by 'SatTrace* SatNode::trace()' 61 | SatTrace* trace() { return trace_; } | ^~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o satellite/satnode.o satellite/satnode.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o satellite/satposition.o satellite/satposition.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from ./trace/trace.h:43, @@ -13253,10 +13291,6 @@ satellite/satgeometry.h:87:13: note: by 'int SatGeometry::command()' 87 | int command(/*int argc, const char*const* argv */) { return 0; } | ^~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o satellite/satposition.o satellite/satposition.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o satellite/satroute.o satellite/satroute.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from ./trace/trace.h:43, @@ -13301,33 +13335,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from ./common/agent.h:40, - from satellite/satroute.h:42, - from satellite/satroute.cc:42: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ In file included from ./routing/rtmodule.h:60, from ./common/node.h:61: ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] @@ -13370,68 +13377,8 @@ satellite/satgeometry.h:87:13: note: by 'int SatGeometry::command()' 87 | int command(/*int argc, const char*const* argv */) { return 0; } | ^~~~~~~ -In file included from ./mac/phy.h:54, - from ./common/node.h:57, - from satellite/satroute.h:44: -./common/bi-connector.h: At global scope: -./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 57 | inline virtual void sendUp(Packet* p, Handler* h) - | ^~~~~~ -In file included from ./mac/phy.h:62: -./mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' - 179 | virtual void sendUp(Packet *p); - | ^~~~~~ -./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 55 | virtual void sendDown(Packet* p, Handler* h) - | ^~~~~~~~ -./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' - 178 | virtual void sendDown(Packet* p); - | ^~~~~~~~ -./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 57 | inline virtual void sendUp(Packet* p, Handler* h) - | ^~~~~~ -./mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' - 79 | virtual int sendUp(Packet *p)=0; - | ^~~~~~ -./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 55 | virtual void sendDown(Packet* p, Handler* h) - | ^~~~~~~~ -./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' - 77 | virtual void sendDown(Packet *p)=0; - | ^~~~~~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -In file included from ./mac/ll.h:45, - from ./mac/mac.h:47: -./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] - 75 | virtual void set_table_size(int level, int nn); - | ^~~~~~~~~~~~~~ -In file included from ./routing/rtmodule.h:61, - from ./common/node.h:61: -./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' - 70 | void set_table_size(int nn); - | ^~~~~~~~~~~~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from satellite/satroute.cc:44: -satellite/satnode.h:61:19: note: by 'SatTrace* SatNode::trace()' - 61 | SatTrace* trace() { return trace_; } - | ^~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o satellite/satroute.o satellite/satroute.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o satellite/sattrace.o satellite/sattrace.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o rap/raplist.o rap/raplist.cc @@ -13459,6 +13406,35 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +In file included from ./config.h:60, + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from ./common/agent.h:40, + from satellite/satroute.h:42, + from satellite/satroute.cc:42: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o rap/rap.o rap/rap.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./mac/phy.h:54, from ./common/node.h:57, from ./sctp/sctp.h:47, @@ -13489,6 +13465,35 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ +In file included from ./mac/phy.h:54, + from ./common/node.h:57, + from satellite/satroute.h:44: +./common/bi-connector.h: At global scope: +./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 57 | inline virtual void sendUp(Packet* p, Handler* h) + | ^~~~~~ +In file included from ./mac/phy.h:62: +./mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' + 179 | virtual void sendUp(Packet *p); + | ^~~~~~ +./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 55 | virtual void sendDown(Packet* p, Handler* h) + | ^~~~~~~~ +./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' + 178 | virtual void sendDown(Packet* p); + | ^~~~~~~~ +./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 57 | inline virtual void sendUp(Packet* p, Handler* h) + | ^~~~~~ +./mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' + 79 | virtual int sendUp(Packet *p)=0; + | ^~~~~~ +./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 55 | virtual void sendDown(Packet* p, Handler* h) + | ^~~~~~~~ +./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' + 77 | virtual void sendDown(Packet *p)=0; + | ^~~~~~~~ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -13542,34 +13547,22 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ -/usr/include/tclcl/tclcl.h:174:21: warning: 'virtual int TclObject::command(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 174 | virtual int command(int argc, const char*const* argv); - | ^~~~~~~ -In file included from satellite/satposition.h:49, - from satellite/sattrace.cc:54: -satellite/satgeometry.h:87:13: note: by 'int SatGeometry::command()' - 87 | int command(/*int argc, const char*const* argv */) { return 0; } - | ^~~~~~~ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ -In file included from satellite/sattrace.cc:55: -satellite/satnode.h:61:19: note: by 'SatTrace* SatNode::trace()' - 61 | SatTrace* trace() { return trace_; } - | ^~~~~ -/usr/include/tclcl/tclcl.h: At global scope: +In file included from ./trace/trace.h:44, + from ./mobile/energy-model.h:48, + from ./common/node.h:59: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ -In file included from ./tools/random.h:42, - from rap/utilities.h:71: +In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o rap/rap.o rap/rap.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o rap/media-app.o rap/media-app.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ns-process.h:57, from rap/rap.h:60, @@ -13594,6 +13587,59 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +In file included from ./mac/ll.h:45, + from ./mac/mac.h:47: +./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] + 75 | virtual void set_table_size(int level, int nn); + | ^~~~~~~~~~~~~~ +In file included from ./routing/rtmodule.h:61, + from ./common/node.h:61: +./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' + 70 | void set_table_size(int nn); + | ^~~~~~~~~~~~~~ +/usr/include/tclcl/tclcl.h:174:21: warning: 'virtual int TclObject::command(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 174 | virtual int command(int argc, const char*const* argv); + | ^~~~~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from satellite/satroute.cc:44: +satellite/satnode.h:61:19: note: by 'SatTrace* SatNode::trace()' + 61 | SatTrace* trace() { return trace_; } + | ^~~~~ +In file included from satellite/satposition.h:49, + from satellite/sattrace.cc:54: +satellite/satgeometry.h:87:13: note: by 'int SatGeometry::command()' + 87 | int command(/*int argc, const char*const* argv */) { return 0; } + | ^~~~~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from satellite/sattrace.cc:55: +satellite/satnode.h:61:19: note: by 'SatTrace* SatNode::trace()' + 61 | SatTrace* trace() { return trace_; } + | ^~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from rap/utilities.h:71: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from rap/utilities.h:71, + from rap/rap.h:62: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o rap/media-app.o rap/media-app.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./tcp/template.h:42, from rap/media-app.cc:55: @@ -13601,6 +13647,7 @@ /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o rap/utilities.o rap/utilities.cc In file included from /usr/include/tclcl/tclcl.h:42: /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); @@ -13617,18 +13664,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o rap/utilities.o rap/utilities.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from rap/utilities.h:71, - from rap/rap.h:62: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/fsm.o common/fsm.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-abs.o tcp/tcp-abs.cc /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -13640,6 +13679,7 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -13667,17 +13707,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from rap/utilities.h:71: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/fsm.o common/fsm.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from common/scheduler.h:40, from common/fsm.h:53, @@ -13702,8 +13731,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-abs.o tcp/tcp-abs.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ip.h:41, from tcp/tcp-abs.cc:51: @@ -13768,10 +13795,17 @@ tcp/tcp-abs.h:140:14: note: by 'void AbsDelAckSink::timeout()' 140 | void timeout(); | ^~~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from rap/utilities.h:71: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion/diffusion.o diffusion/diffusion.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion/diff_rate.o diffusion/diff_rate.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ip.h:41, from diffusion/diff_header.h:71, @@ -13796,6 +13830,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion/diff_rate.o diffusion/diff_rate.cc /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -13805,6 +13840,7 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ @@ -13933,6 +13969,35 @@ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion/diff_sink.o diffusion/diff_sink.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from ./common/agent.h:40, + from diffusion/diff_sink.h:57, + from diffusion/diff_sink.cc:52: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion/flooding.o diffusion/flooding.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from ./config.h:60, from ./common/ip.h:41, from diffusion/diff_header.h:71, from diffusion/diff_prob.cc:62: @@ -13973,6 +14038,24 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from diffusion/diffusion.h:71, + from diffusion/diff_sink.h:62: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from diffusion/diffusion.h:72: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ In file included from ./mac/phy.h:54, from ./common/node.h:57, from diffusion/diff_prob.cc:71: @@ -14010,51 +14093,6 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ -In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from ./common/agent.h:40, - from diffusion/diff_sink.h:57, - from diffusion/diff_sink.cc:52: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from diffusion/diffusion.h:71, - from diffusion/diff_sink.h:62: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from diffusion/diffusion.h:72: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ diffusion/diff_sink.cc: In member function 'virtual void SinkAgent::timeout(int)': diffusion/diff_sink.cc:156:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 156 | if (random_) @@ -14062,8 +14100,6 @@ diffusion/diff_sink.cc:159:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 159 | sink_timer_.resched(t); | ^~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion/flooding.o diffusion/flooding.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion/omni_mcast.o diffusion/omni_mcast.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, @@ -14090,8 +14126,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion/hash_table.o diffusion/hash_table.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -14146,27 +14180,8 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ -In file included from diffusion/hash_table.cc:50: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion/hash_table.o diffusion/hash_table.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ip.h:41, from diffusion/diff_header.h:71, @@ -14245,6 +14260,29 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ +In file included from diffusion/hash_table.cc:50: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion/routing_table.o diffusion/routing_table.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -14263,8 +14301,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion/routing_table.o diffusion/routing_table.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion/iflist.o diffusion/iflist.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, @@ -14289,6 +14325,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tfrc.o tcp/tfrc.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ip.h:41, from diffusion/diff_header.h:71, @@ -14330,6 +14368,15 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from diffusion/iflist.cc:54: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ In file included from ./mac/phy.h:54, from ./common/node.h:57, from diffusion/routing_table.cc:71: @@ -14367,17 +14414,6 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tfrc.o tcp/tfrc.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from diffusion/iflist.cc:54: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ diffusion/iflist.cc: In member function 'Out_List* Out_List::WhereToGo()': diffusion/iflist.cc:165:31: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 165 | if (cur_out == NULL && this != NULL) @@ -14422,6 +14458,7 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/ping.o apps/ping.cc tcp/tfrc.cc: In member function 'void TfrcAgent::nextpkt()': tcp/tfrc.cc:251:19: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 251 | } else @@ -14433,6 +14470,34 @@ tcp/tfrc.cc:296:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 296 | register short rtt_delta; | ^~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from ./config.h:60, + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from ./common/agent.h:40, + from apps/ping.h:64, + from apps/ping.cc:59: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -14487,11 +14552,6 @@ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ -In file included from ./tools/random.h:42, - from tcp/tfrc-sink.h:40: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -14500,6 +14560,11 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +In file included from ./tools/random.h:42, + from tcp/tfrc-sink.h:40: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ @@ -14548,17 +14613,15 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/ping.o apps/ping.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-rfc793edu.o tcp/tcp-rfc793edu.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/rio.o queue/rio.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/semantic-rio.o queue/semantic-rio.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from ./common/agent.h:40, - from apps/ping.h:64, - from apps/ping.cc:59: + from ./common/ip.h:41, + from tcp/tcp-rfc793edu.cc:41: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -14579,11 +14642,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/rio.o queue/rio.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from ./config.h:60, - from ./common/ip.h:41, - from tcp/tcp-rfc793edu.cc:41: +In file included from queue/rio.h:41, + from queue/semantic-rio.cc:9: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -14630,8 +14690,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/semantic-rio.o queue/semantic-rio.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -14650,35 +14708,6 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ -queue/rio.cc: In member function 'virtual void RIOQueue::enque(Packet*)': -queue/rio.cc:350:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 350 | register double in_qavg = edv_in_.v_ave; - | ^~~~~~~ -queue/rio.cc:468:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 468 | register double qavg = edv_.v_ave; - | ^~~~ -In file included from queue/rio.h:41, - from queue/semantic-rio.cc:9: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -14697,6 +14726,13 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ +queue/rio.cc: In member function 'virtual void RIOQueue::enque(Packet*)': +queue/rio.cc:350:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 350 | register double in_qavg = edv_in_.v_ave; + | ^~~~~~~ +queue/rio.cc:468:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 468 | register double qavg = edv_.v_ave; + | ^~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/tcp-sack-rh.o tcp/tcp-sack-rh.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tcp/scoreboard-rh.o tcp/scoreboard-rh.cc @@ -14726,7 +14762,9 @@ | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o plm/loss-monitor-plm.o plm/loss-monitor-plm.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from plm/loss-monitor-plm.cc:40: +In file included from ./config.h:60, + from ./common/packet.h:43, + from tcp/scoreboard-rh.cc:51: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -14747,25 +14785,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from tcp/tcp-sack-rh.cc:39: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -tcp/tcp-sack-rh.cc: In member function 'virtual void SackRHTcpAgent::send_much(int, int, int)': -tcp/tcp-sack-rh.cc:363:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 363 | register int found, npacket = 0; - | ^~~~~ -tcp/tcp-sack-rh.cc:363:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 363 | register int found, npacket = 0; - | ^~~~~~~ -In file included from ./config.h:60, - from ./common/packet.h:43, - from tcp/scoreboard-rh.cc:51: +In file included from plm/loss-monitor-plm.cc:40: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -14786,10 +14806,28 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from tcp/tcp-sack-rh.cc:39: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +tcp/tcp-sack-rh.cc: In member function 'virtual void SackRHTcpAgent::send_much(int, int, int)': +tcp/tcp-sack-rh.cc:363:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 363 | register int found, npacket = 0; + | ^~~~~ +tcp/tcp-sack-rh.cc:363:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 363 | register int found, npacket = 0; + | ^~~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o plm/cbr-traffic-PP.o plm/cbr-traffic-PP.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o linkstate/hdr-ls.o linkstate/hdr-ls.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mpls/classifier-addr-mpls.o mpls/classifier-addr-mpls.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from linkstate/hdr-ls.cc:64: @@ -14836,7 +14874,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mpls/classifier-addr-mpls.o mpls/classifier-addr-mpls.cc g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mpls/ldp.o mpls/ldp.cc /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] @@ -14847,7 +14884,6 @@ 115 | void init(); | ^~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from mpls/classifier-addr-mpls.cc:73: @@ -14871,6 +14907,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mpls/mpls-module.o mpls/mpls-module.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from mpls/ldp.cc:67: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -14893,7 +14931,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mpls/mpls-module.o mpls/mpls-module.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routing/rtmodule.o routing/rtmodule.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] @@ -14954,34 +14992,6 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -In file included from ./mac/ll.h:45, - from ./mac/mac.h:47: -./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] - 75 | virtual void set_table_size(int level, int nn); - | ^~~~~~~~~~~~~~ -In file included from ./routing/rtmodule.h:61, - from ./common/node.h:61: -./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' - 70 | void set_table_size(int nn); - | ^~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routing/rtmodule.o routing/rtmodule.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from routing/rtmodule.h:58, from routing/rtmodule.cc:50: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -15004,8 +15014,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-hier.o classifier/classifier-hier.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from routing/rtmodule.h:60: ./classifier/classifier.h: At global scope: ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] @@ -15043,6 +15051,50 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./mobile/energy-model.h:48, + from ./common/node.h:59: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +In file included from ./mac/ll.h:45, + from ./mac/mac.h:47: +./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] + 75 | virtual void set_table_size(int level, int nn); + | ^~~~~~~~~~~~~~ +In file included from ./routing/rtmodule.h:61, + from ./common/node.h:61: +./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' + 70 | void set_table_size(int nn); + | ^~~~~~~~~~~~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./mobile/energy-model.h:48, + from ./common/node.h:59: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o classifier/classifier-hier.o classifier/classifier-hier.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -15069,22 +15121,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routing/addr-params.o routing/addr-params.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o nix/hdr_nv.o nix/hdr_nv.cc @@ -15110,6 +15146,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o nix/classifier-nix.o nix/classifier-nix.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from nix/hdr_nv.cc:54: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -15132,12 +15170,13 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o nix/classifier-nix.o nix/classifier-nix.cc g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o nix/nixnode.o nix/nixnode.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routealgo/rnode.o routealgo/rnode.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routealgo/bfs.o routealgo/bfs.cc In file included from ./config.h:60, - from nix/nixnode.cc:54: + from nix/classifier-nix.cc:55: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -15158,8 +15197,9 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from nix/classifier-nix.cc:55: + from nix/nixnode.cc:54: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -15180,8 +15220,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routealgo/rnode.o routealgo/rnode.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from routealgo/rnode.cc:53: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -15204,29 +15242,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./nix/nixnode.h:9, - from nix/nixnode.cc:60: -./routealgo/rnode.h: At global scope: -./routealgo/rnode.h:38:23: warning: 'virtual nodeid_t RNode::GetNeighbor(Nix_t)' was hidden [-Woverloaded-virtual=] - 38 | virtual nodeid_t GetNeighbor(Nix_t);// Get neighbor from nix - | ^~~~~~~~~~~ -./nix/nixnode.h:44:21: note: by 'virtual nodeid_t NixNode::GetNeighbor(Nix_t, NixVec*)' - 44 | virtual nodeid_t GetNeighbor(Nix_t, NixVec*); // Get neighbor from nix - | ^~~~~~~~~~~ -In file included from nix/nixnode.h:9, - from nix/classifier-nix.h:64, - from nix/classifier-nix.cc:63: -./routealgo/rnode.h: At global scope: -./routealgo/rnode.h:38:23: warning: 'virtual nodeid_t RNode::GetNeighbor(Nix_t)' was hidden [-Woverloaded-virtual=] - 38 | virtual nodeid_t GetNeighbor(Nix_t);// Get neighbor from nix - | ^~~~~~~~~~~ -nix/nixnode.h:44:21: note: by 'virtual nodeid_t NixNode::GetNeighbor(Nix_t, NixVec*)' - 44 | virtual nodeid_t GetNeighbor(Nix_t, NixVec*); // Get neighbor from nix - | ^~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routealgo/bfs.o routealgo/bfs.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routealgo/rbitmap.o routealgo/rbitmap.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from routealgo/bfs.cc:54: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -15249,6 +15264,29 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +In file included from nix/nixnode.h:9, + from nix/classifier-nix.h:64, + from nix/classifier-nix.cc:63: +./routealgo/rnode.h: At global scope: +./routealgo/rnode.h:38:23: warning: 'virtual nodeid_t RNode::GetNeighbor(Nix_t)' was hidden [-Woverloaded-virtual=] + 38 | virtual nodeid_t GetNeighbor(Nix_t);// Get neighbor from nix + | ^~~~~~~~~~~ +nix/nixnode.h:44:21: note: by 'virtual nodeid_t NixNode::GetNeighbor(Nix_t, NixVec*)' + 44 | virtual nodeid_t GetNeighbor(Nix_t, NixVec*); // Get neighbor from nix + | ^~~~~~~~~~~ +In file included from ./nix/nixnode.h:9, + from nix/nixnode.cc:60: +./routealgo/rnode.h: At global scope: +./routealgo/rnode.h:38:23: warning: 'virtual nodeid_t RNode::GetNeighbor(Nix_t)' was hidden [-Woverloaded-virtual=] + 38 | virtual nodeid_t GetNeighbor(Nix_t);// Get neighbor from nix + | ^~~~~~~~~~~ +./nix/nixnode.h:44:21: note: by 'virtual nodeid_t NixNode::GetNeighbor(Nix_t, NixVec*)' + 44 | virtual nodeid_t GetNeighbor(Nix_t, NixVec*); // Get neighbor from nix + | ^~~~~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routealgo/rbitmap.o routealgo/rbitmap.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routealgo/rlookup.o routealgo/rlookup.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from routealgo/rbitmap.cc:52: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -15271,8 +15309,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o routealgo/rlookup.o routealgo/rlookup.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from routealgo/rlookup.cc:7: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -15321,6 +15357,8 @@ | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o nix/nixvec.o nix/nixvec.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o nix/nixroute.o nix/nixroute.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from nix/nixvec.cc:54: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -15343,10 +15381,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o nix/nixroute.o nix/nixroute.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffserv/dsred.o diffserv/dsred.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from nix/nixroute.cc:54: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -15369,6 +15403,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffserv/dsred.o diffserv/dsred.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./routing/rtmodule.h:60, from nix/nixroute.cc:57: ./classifier/classifier.h: At global scope: @@ -15381,6 +15417,8 @@ | ^~~~~~~~~~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffserv/dsredq.o diffserv/dsredq.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffserv/dsEdge.o diffserv/dsEdge.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ip.h:41, from diffserv/dsred.cc:38: @@ -15427,46 +15465,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./queue/red.h:64, - from diffserv/dsred.h:72, - from diffserv/dsred.cc:39: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from diffserv/dsred.cc:41: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffserv/dsEdge.o diffserv/dsEdge.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./queue/red.h:64, - from diffserv/dsred.h:72, - from diffserv/dsredq.cc:39: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from diffserv/dsredq.cc:40: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -15501,6 +15499,25 @@ 175 | virtual void trace(TracedVar*); | ^~~~~ In file included from ./trace/trace.h:44, + from ./queue/red.h:64, + from diffserv/dsred.h:72, + from diffserv/dsred.cc:39: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from diffserv/dsred.cc:41: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, from ./queue/red.h:64: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); @@ -15527,10 +15544,31 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./queue/red.h:64, + from diffserv/dsred.h:72, + from diffserv/dsredq.cc:39: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from diffserv/dsredq.cc:40: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffserv/dsCore.o diffserv/dsCore.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffserv/dsPolicy.o diffserv/dsPolicy.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffserv/ew.o diffserv/ew.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -15589,8 +15627,31 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffserv/ew.o diffserv/ew.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffserv/dewp.o diffserv/dewp.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from ./config.h:60, + from ./common/ip.h:41, + from diffserv/ew.cc:51: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -15631,9 +15692,10 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/red-pd.o queue/red-pd.cc In file included from ./config.h:60, from ./common/ip.h:41, - from diffserv/ew.cc:51: + from diffserv/dewp.cc:51: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -15654,7 +15716,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffserv/dewp.o diffserv/dewp.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] @@ -15684,8 +15745,13 @@ 371 | void init(int, int, int); | ^~~~ In file included from ./config.h:60, - from ./common/ip.h:41, - from diffserv/dewp.cc:51: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from queue/queue.h:40, + from queue/red.h:62, + from queue/red-pd.h:42, + from queue/red-pd.cc:41: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -15733,16 +15799,30 @@ diffserv/dewp.h:81:8: note: by 'void DEWPPolicy::init(double)' 81 | void init(double); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/red-pd.o queue/red-pd.cc +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from queue/red.h:64: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from ./tools/flowmon.h:51, + from queue/red-pd.h:43: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/pi.o queue/pi.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/vq.o queue/vq.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from queue/queue.h:40, - from queue/red.h:62, - from queue/red-pd.h:42, - from queue/red-pd.cc:41: + from queue/pi.cc:47: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -15763,27 +15843,18 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/rem.o queue/rem.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/gk.o queue/gk.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from queue/red.h:64: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ In file included from ./tools/random.h:42, - from ./tools/flowmon.h:51, - from queue/red-pd.h:43: + from queue/pi.cc:49: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/pi.o queue/pi.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/vq.o queue/vq.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/flags.h:44, @@ -15808,8 +15879,18 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from queue/pi.h:51, + from queue/pi.cc:52: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ In file included from ./config.h:60, - from queue/pi.cc:47: + from ./common/flags.h:44, + from queue/gk.cc:63: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -15830,33 +15911,9 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from queue/pi.cc:49: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from queue/pi.h:51, - from queue/pi.cc:52: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/rem.o queue/rem.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/gk.o queue/gk.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/rate-limit.o pushback/rate-limit.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/flags.h:44, - from queue/gk.cc:63: + from queue/rem.cc:48: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -15877,6 +15934,18 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from queue/rem.cc:50: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/rate-limit-strategy.o pushback/rate-limit-strategy.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -15904,6 +15973,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/ident-tree.o pushback/ident-tree.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./mac/phy.h:54, from ./common/node.h:57: ./common/bi-connector.h: At global scope: @@ -15933,7 +16004,9 @@ 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ In file included from ./config.h:60, - from queue/rem.cc:48: + from ./common/packet.h:43, + from pushback/rate-limit-strategy.h:41, + from pushback/rate-limit-strategy.cc:37: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -15954,15 +16027,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from queue/rem.cc:50: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ @@ -15979,48 +16043,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -In file included from ./mac/ll.h:45, - from ./mac/mac.h:47: -./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] - 75 | virtual void set_table_size(int level, int nn); - | ^~~~~~~~~~~~~~ -In file included from ./routing/rtmodule.h:61, - from ./common/node.h:61: -./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' - 70 | void set_table_size(int nn); - | ^~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/rate-limit-strategy.o pushback/rate-limit-strategy.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from ./config.h:60, - from ./common/packet.h:43, - from pushback/rate-limit-strategy.h:41, - from pushback/rate-limit-strategy.cc:37: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/ident-tree.o pushback/ident-tree.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/agg-spec.o pushback/agg-spec.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/logging-data-struct.o pushback/logging-data-struct.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./routing/address.h:38, from pushback/ident-tree.h:6, @@ -16045,6 +16067,37 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +In file included from ./mac/ll.h:45, + from ./mac/mac.h:47: +./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] + 75 | virtual void set_table_size(int level, int nn); + | ^~~~~~~~~~~~~~ +In file included from ./routing/rtmodule.h:61, + from ./common/node.h:61: +./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' + 70 | void set_table_size(int nn); + | ^~~~~~~~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/agg-spec.o pushback/agg-spec.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./mobile/energy-model.h:48, + from ./common/node.h:59, + from pushback/rate-limit.h:40, + from pushback/ident-tree.cc:38: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ In file included from ./config.h:60, from ./common/packet.h:43, from pushback/agg-spec.h:41, @@ -16069,6 +16122,19 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/logging-data-struct.o pushback/logging-data-struct.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/rate-estimator.o pushback/rate-estimator.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In constructor 'AggReturn::AggReturn(cluster*, double, int, int)', + inlined from 'AggReturn* PrefixTree::identifyAggregate(double, double)' at pushback/ident-tree.cc:185:70: +pushback/ident-tree.h:31:12: warning: 'requiredBottom' may be used uninitialized [-Wmaybe-uninitialized] + 31 | limit_ = bottom; + | ~~~~~~~^~~~~~~~ +pushback/ident-tree.cc: In member function 'AggReturn* PrefixTree::identifyAggregate(double, double)': +pushback/ident-tree.cc:170:10: note: 'requiredBottom' was declared here + 170 | double requiredBottom; + | ^~~~~~~~~~~~~~ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -16096,6 +16162,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/pushback-queue.o pushback/pushback-queue.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./mac/phy.h:54, from ./common/node.h:57: ./common/bi-connector.h: At global scope: @@ -16124,25 +16192,32 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59, - from pushback/rate-limit.h:40, - from pushback/ident-tree.cc:38: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ +In file included from ./config.h:60, + from ./common/packet.h:43, + from pushback/rate-estimator.h:4, + from pushback/rate-estimator.cc:1: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/pushback.o pushback/pushback.cc +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ @@ -16169,45 +16244,6 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/rate-estimator.o pushback/rate-estimator.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In constructor 'AggReturn::AggReturn(cluster*, double, int, int)', - inlined from 'AggReturn* PrefixTree::identifyAggregate(double, double)' at pushback/ident-tree.cc:185:70: -pushback/ident-tree.h:31:12: warning: 'requiredBottom' may be used uninitialized [-Wmaybe-uninitialized] - 31 | limit_ = bottom; - | ~~~~~~~^~~~~~~~ -pushback/ident-tree.cc: In member function 'AggReturn* PrefixTree::identifyAggregate(double, double)': -pushback/ident-tree.cc:170:10: note: 'requiredBottom' was declared here - 170 | double requiredBottom; - | ^~~~~~~~~~~~~~ -In file included from ./config.h:60, - from ./common/packet.h:43, - from pushback/rate-estimator.h:4, - from pushback/rate-estimator.cc:1: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/pushback-queue.o pushback/pushback-queue.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pushback/pushback.o pushback/pushback.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -16288,6 +16324,10 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/parentnode.o common/parentnode.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o trace/basetrace.o trace/basetrace.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -16297,16 +16337,6 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49, - from ./common/node.h:59, - from pushback/pushback.h:45, - from pushback/pushback-queue.cc:40: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ @@ -16333,6 +16363,16 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49, + from ./common/node.h:59, + from pushback/pushback.h:45, + from pushback/pushback-queue.cc:40: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ In file included from pushback/pushback.h:43: ./common/agent.h:85:22: warning: 'virtual void Agent::timeout(int)' was hidden [-Woverloaded-virtual=] 85 | virtual void timeout(int tno); @@ -16340,8 +16380,6 @@ pushback/pushback.h:89:8: note: by 'void PushbackAgent::timeout(PushbackEvent*)' 89 | void timeout(PushbackEvent * event); | ^~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/parentnode.o common/parentnode.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./routing/address.h:38, from common/parentnode.h:54, @@ -16377,12 +16415,8 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o trace/basetrace.o trace/basetrace.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/simulator.o common/simulator.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o asim/asim.o asim/asim.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -16418,6 +16452,8 @@ trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o asim/asim.o asim/asim.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from common/simulator.h:54, from common/simulator.cc:47: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -16469,6 +16505,24 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/scheduler-map.o common/scheduler-map.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./mobile/energy-model.h:48, + from common/node.h:59: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ In file included from ./config.h:60, from asim/asim.cc:47: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -16491,22 +16545,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from common/node.h:59: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ In file included from ./mac/ll.h:45, from ./mac/mac.h:47: ./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] @@ -16517,10 +16555,6 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/scheduler-map.o common/scheduler-map.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/splay-scheduler.o common/splay-scheduler.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from common/scheduler-map.cc:36: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -16543,6 +16577,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/splay-scheduler.o common/splay-scheduler.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o linkstate/ls.o linkstate/ls.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from common/splay-scheduler.cc:82: @@ -16566,14 +16604,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o linkstate/ls.o linkstate/ls.cc -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o linkstate/rtProtoLS.o linkstate/rtProtoLS.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pgm/classifier-pgm.o pgm/classifier-pgm.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from linkstate/rtProtoLS.cc:64: + from linkstate/ls.cc:64: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -16594,8 +16626,12 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o linkstate/rtProtoLS.o linkstate/rtProtoLS.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pgm/classifier-pgm.o pgm/classifier-pgm.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from linkstate/ls.cc:64: + from linkstate/rtProtoLS.cc:64: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -16640,6 +16676,8 @@ | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pgm/pgm-agent.o pgm/pgm-agent.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pgm/pgm-sender.o pgm/pgm-sender.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ pgm/pgm-agent.cc:486:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 486 | sprintf(wrk, "E "TIME_FORMAT" %d %d PGM %s "TIME_FORMAT, | ^ @@ -16671,86 +16709,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from pgm/pgm-agent.cc:73: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from pgm/pgm-agent.cc:74: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -In file included from pgm/pgm-agent.cc:70: -./common/agent.h:153:22: warning: 'virtual void Agent::trace_event(char*)' was hidden [-Woverloaded-virtual=] - 153 | virtual void trace_event(char *eventtype); - | ^~~~~~~~~~~ -pgm/pgm-agent.cc:307:8: note: by 'void PgmAgent::trace_event(char*, double)' - 307 | void trace_event(char *evType, double evTime); - | ^~~~~~~~~~~ -./common/agent.h:85:22: warning: 'virtual void Agent::timeout(int)' was hidden [-Woverloaded-virtual=] - 85 | virtual void timeout(int tno); - | ^~~~~~~ -pgm/pgm-agent.cc:285:16: note: by 'virtual void PgmAgent::timeout(int, void*)' - 285 | virtual void timeout(int type, void *data); - | ^~~~~~~ -In file included from /usr/include/c++/14/map:62, - from pgm/pgm-agent.cc:64: -/usr/include/c++/14/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {std::pair}; _Key = int; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': -/usr/include/c++/14/bits/stl_tree.h:2456:7: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' changed in GCC 7.1 - 2456 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/map:63: -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(const_iterator, _Args&& ...) [with _Args = {std::pair}; _Key = int; _Tp = RepairState; _Compare = std::less; _Alloc = std::allocator >]', - inlined from 'std::__enable_if_t<((bool)std::is_constructible, _Pair>::value), std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind >::other>::iterator, bool> > std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&) [with _Pair = std::pair; _Key = int; _Tp = RepairState; _Compare = std::less; _Alloc = std::allocator >]' at /usr/include/c++/14/bits/stl_map.h:859:27, - inlined from 'void PgmAgent::handle_ncf(Packet*)' at pgm/pgm-agent.cc:867:33: -/usr/include/c++/14/bits/stl_map.h:640:45: note: parameter passing for argument of type 'std::map::const_iterator' {aka 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator'} changed in GCC 7.1 - 640 | return _M_t._M_emplace_hint_unique(__pos, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ - 641 | std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(const_iterator, _Args&& ...) [with _Args = {std::pair}; _Key = int; _Tp = RepairState; _Compare = std::less; _Alloc = std::allocator >]', - inlined from 'std::__enable_if_t<((bool)std::is_constructible, _Pair>::value), std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind >::other>::iterator, bool> > std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&) [with _Pair = std::pair; _Key = int; _Tp = RepairState; _Compare = std::less; _Alloc = std::allocator >]' at /usr/include/c++/14/bits/stl_map.h:859:27, - inlined from 'void PgmAgent::handle_nak(Packet*)' at pgm/pgm-agent.cc:728:34: -/usr/include/c++/14/bits/stl_map.h:640:45: note: parameter passing for argument of type 'std::map::const_iterator' {aka 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator'} changed in GCC 7.1 - 640 | return _M_t._M_emplace_hint_unique(__pos, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ - 641 | std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/map:62, - from linkstate/ls.h:69, - from linkstate/ls.cc:67: -/usr/include/c++/14/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {std::pair&}; _Key = int; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': -/usr/include/c++/14/bits/stl_tree.h:2456:7: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' changed in GCC 7.1 - 2456 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/map:63: -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(const_iterator, _Args&& ...) [with _Args = {std::pair&}; _Key = int; _Tp = LsUnackPeer; _Compare = std::less; _Alloc = std::allocator >]', - inlined from 'std::__enable_if_t<((bool)std::is_constructible, _Pair>::value), std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind >::other>::iterator, bool> > std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&) [with _Pair = std::pair&; _Key = int; _Tp = LsUnackPeer; _Compare = std::less; _Alloc = std::allocator >]' at /usr/include/c++/14/bits/stl_map.h:859:27, - inlined from 'LsMap::iterator LsMap::insert(const Key&, const T&) [with Key = int; T = LsUnackPeer]' at linkstate/ls.h:133:42, - inlined from 'int LsRetransmissionManager::messageOut(int, const LsMessage&)' at linkstate/ls.cc:406:24: -/usr/include/c++/14/bits/stl_map.h:640:45: note: parameter passing for argument of type 'std::map, std::allocator > >::const_iterator' {aka 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator'} changed in GCC 7.1 - 640 | return _M_t._M_emplace_hint_unique(__pos, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ - 641 | std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(const_iterator, _Args&& ...) [with _Args = {std::pair&}; _Key = int; _Tp = LsUnackPeer; _Compare = std::less; _Alloc = std::allocator >]', - inlined from 'std::__enable_if_t<((bool)std::is_constructible, _Pair>::value), std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind >::other>::iterator, bool> > std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&) [with _Pair = std::pair&; _Key = int; _Tp = LsUnackPeer; _Compare = std::less; _Alloc = std::allocator >]' at /usr/include/c++/14/bits/stl_map.h:859:27, - inlined from 'LsMap::iterator LsMap::insert(const Key&, const T&) [with Key = int; T = LsUnackPeer]' at linkstate/ls.h:133:42, - inlined from 'void LsRetransmissionManager::initTimeout(LsDelayMap*)' at linkstate/ls.cc:385:9: -/usr/include/c++/14/bits/stl_map.h:640:45: note: parameter passing for argument of type 'std::map, std::allocator > >::const_iterator' {aka 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator'} changed in GCC 7.1 - 640 | return _M_t._M_emplace_hint_unique(__pos, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ - 641 | std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pgm/pgm-sender.o pgm/pgm-sender.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ pgm/pgm-sender.cc:342:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 342 | sprintf(wrk, "E "TIME_FORMAT" %d %d PGM %s "TIME_FORMAT, | ^ @@ -16787,6 +16745,35 @@ 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ In file included from ./tools/random.h:42, + from pgm/pgm-agent.cc:73: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from pgm/pgm-agent.cc:74: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +In file included from pgm/pgm-agent.cc:70: +./common/agent.h:153:22: warning: 'virtual void Agent::trace_event(char*)' was hidden [-Woverloaded-virtual=] + 153 | virtual void trace_event(char *eventtype); + | ^~~~~~~~~~~ +pgm/pgm-agent.cc:307:8: note: by 'void PgmAgent::trace_event(char*, double)' + 307 | void trace_event(char *evType, double evTime); + | ^~~~~~~~~~~ +./common/agent.h:85:22: warning: 'virtual void Agent::timeout(int)' was hidden [-Woverloaded-virtual=] + 85 | virtual void timeout(int tno); + | ^~~~~~~ +pgm/pgm-agent.cc:285:16: note: by 'virtual void PgmAgent::timeout(int, void*)' + 285 | virtual void timeout(int type, void *data); + | ^~~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, from pgm/pgm-sender.cc:74: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); @@ -16811,8 +16798,45 @@ pgm/pgm-sender.cc:167:16: note: by 'virtual void PgmSender::timeout(int, void*)' 167 | virtual void timeout(int type, void *data); | ^~~~~~~ +In file included from /usr/include/c++/14/map:62, + from pgm/pgm-sender.cc:65: +/usr/include/c++/14/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {std::pair}; _Key = int; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': +/usr/include/c++/14/bits/stl_tree.h:2456:7: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' changed in GCC 7.1 + 2456 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/map:63: +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(const_iterator, _Args&& ...) [with _Args = {std::pair}; _Key = int; _Tp = RdataItem; _Compare = std::less; _Alloc = std::allocator >]', + inlined from 'std::__enable_if_t<((bool)std::is_constructible, _Pair>::value), std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind >::other>::iterator, bool> > std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&) [with _Pair = std::pair; _Key = int; _Tp = RdataItem; _Compare = std::less; _Alloc = std::allocator >]' at /usr/include/c++/14/bits/stl_map.h:859:27, + inlined from 'virtual void PgmSender::handle_nak(Packet*)' at pgm/pgm-sender.cc:466:33: +/usr/include/c++/14/bits/stl_map.h:640:45: note: parameter passing for argument of type 'std::map::const_iterator' {aka 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator'} changed in GCC 7.1 + 640 | return _M_t._M_emplace_hint_unique(__pos, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ + 641 | std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o pgm/pgm-receiver.o pgm/pgm-receiver.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from /usr/include/c++/14/map:62, + from pgm/pgm-agent.cc:64: +/usr/include/c++/14/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {std::pair}; _Key = int; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': +/usr/include/c++/14/bits/stl_tree.h:2456:7: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' changed in GCC 7.1 + 2456 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/map:63: +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(const_iterator, _Args&& ...) [with _Args = {std::pair}; _Key = int; _Tp = RepairState; _Compare = std::less; _Alloc = std::allocator >]', + inlined from 'std::__enable_if_t<((bool)std::is_constructible, _Pair>::value), std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind >::other>::iterator, bool> > std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&) [with _Pair = std::pair; _Key = int; _Tp = RepairState; _Compare = std::less; _Alloc = std::allocator >]' at /usr/include/c++/14/bits/stl_map.h:859:27, + inlined from 'void PgmAgent::handle_ncf(Packet*)' at pgm/pgm-agent.cc:867:33: +/usr/include/c++/14/bits/stl_map.h:640:45: note: parameter passing for argument of type 'std::map::const_iterator' {aka 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator'} changed in GCC 7.1 + 640 | return _M_t._M_emplace_hint_unique(__pos, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ + 641 | std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/map:62, + from linkstate/ls.h:69, + from linkstate/ls.cc:67: +/usr/include/c++/14/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {std::pair&}; _Key = int; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': +/usr/include/c++/14/bits/stl_tree.h:2456:7: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' changed in GCC 7.1 + 2456 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgm/pgm-receiver.cc:356:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 356 | sprintf(wrk, "E "TIME_FORMAT" %d %d PGM %s "TIME_FORMAT, | ^ @@ -16822,6 +16846,18 @@ pgm/pgm-receiver.cc:364:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 364 | "E -t "TIME_FORMAT" -o PGM -e %s -s %d.%d -d %d.%d", | ^ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/rcvbuf.o mcast/rcvbuf.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from /usr/include/c++/14/map:63: +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(const_iterator, _Args&& ...) [with _Args = {std::pair&}; _Key = int; _Tp = LsUnackPeer; _Compare = std::less; _Alloc = std::allocator >]', + inlined from 'std::__enable_if_t<((bool)std::is_constructible, _Pair>::value), std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind >::other>::iterator, bool> > std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&) [with _Pair = std::pair&; _Key = int; _Tp = LsUnackPeer; _Compare = std::less; _Alloc = std::allocator >]' at /usr/include/c++/14/bits/stl_map.h:859:27, + inlined from 'LsMap::iterator LsMap::insert(const Key&, const T&) [with Key = int; T = LsUnackPeer]' at linkstate/ls.h:133:42, + inlined from 'int LsRetransmissionManager::messageOut(int, const LsMessage&)' at linkstate/ls.cc:406:24: +/usr/include/c++/14/bits/stl_map.h:640:45: note: parameter passing for argument of type 'std::map, std::allocator > >::const_iterator' {aka 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator'} changed in GCC 7.1 + 640 | return _M_t._M_emplace_hint_unique(__pos, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ + 641 | std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./config.h:60, from pgm/pgm-receiver.cc:58: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -16844,23 +16880,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/rcvbuf.o mcast/rcvbuf.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from /usr/include/c++/14/map:62, - from pgm/pgm-sender.cc:65: -/usr/include/c++/14/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {std::pair}; _Key = int; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': -/usr/include/c++/14/bits/stl_tree.h:2456:7: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' changed in GCC 7.1 - 2456 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/map:63: -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(const_iterator, _Args&& ...) [with _Args = {std::pair}; _Key = int; _Tp = RdataItem; _Compare = std::less; _Alloc = std::allocator >]', - inlined from 'std::__enable_if_t<((bool)std::is_constructible, _Pair>::value), std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind >::other>::iterator, bool> > std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&) [with _Pair = std::pair; _Key = int; _Tp = RdataItem; _Compare = std::less; _Alloc = std::allocator >]' at /usr/include/c++/14/bits/stl_map.h:859:27, - inlined from 'virtual void PgmSender::handle_nak(Packet*)' at pgm/pgm-sender.cc:466:33: -/usr/include/c++/14/bits/stl_map.h:640:45: note: parameter passing for argument of type 'std::map::const_iterator' {aka 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator'} changed in GCC 7.1 - 640 | return _M_t._M_emplace_hint_unique(__pos, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ - 641 | std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./config.h:60, from mcast/rcvbuf.cc:59: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -16883,6 +16902,25 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(const_iterator, _Args&& ...) [with _Args = {std::pair}; _Key = int; _Tp = RepairState; _Compare = std::less; _Alloc = std::allocator >]', + inlined from 'std::__enable_if_t<((bool)std::is_constructible, _Pair>::value), std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind >::other>::iterator, bool> > std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&) [with _Pair = std::pair; _Key = int; _Tp = RepairState; _Compare = std::less; _Alloc = std::allocator >]' at /usr/include/c++/14/bits/stl_map.h:859:27, + inlined from 'void PgmAgent::handle_nak(Packet*)' at pgm/pgm-agent.cc:728:34: +/usr/include/c++/14/bits/stl_map.h:640:45: note: parameter passing for argument of type 'std::map::const_iterator' {aka 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator'} changed in GCC 7.1 + 640 | return _M_t._M_emplace_hint_unique(__pos, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ + 641 | std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(const_iterator, _Args&& ...) [with _Args = {std::pair&}; _Key = int; _Tp = LsUnackPeer; _Compare = std::less; _Alloc = std::allocator >]', + inlined from 'std::__enable_if_t<((bool)std::is_constructible, _Pair>::value), std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind >::other>::iterator, bool> > std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&) [with _Pair = std::pair&; _Key = int; _Tp = LsUnackPeer; _Compare = std::less; _Alloc = std::allocator >]' at /usr/include/c++/14/bits/stl_map.h:859:27, + inlined from 'LsMap::iterator LsMap::insert(const Key&, const T&) [with Key = int; T = LsUnackPeer]' at linkstate/ls.h:133:42, + inlined from 'void LsRetransmissionManager::initTimeout(LsDelayMap*)' at linkstate/ls.cc:385:9: +/usr/include/c++/14/bits/stl_map.h:640:45: note: parameter passing for argument of type 'std::map, std::allocator > >::const_iterator' {aka 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator'} changed in GCC 7.1 + 640 | return _M_t._M_emplace_hint_unique(__pos, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ + 641 | std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/classifier-lms.o mcast/classifier-lms.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -16912,10 +16950,6 @@ pgm/pgm-receiver.cc:167:16: note: by 'virtual void PgmReceiver::timeout(int, void*)' 167 | virtual void timeout(int type, void *data); | ^~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/classifier-lms.o mcast/classifier-lms.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/lms-agent.o mcast/lms-agent.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from mcast/classifier-lms.cc:58: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -16938,6 +16972,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/lms-agent.o mcast/lms-agent.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/lms-receiver.o mcast/lms-receiver.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -16964,7 +17002,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/lms-receiver.o mcast/lms-receiver.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/lms-sender.o mcast/lms-sender.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] @@ -16975,8 +17013,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mcast/lms-sender.o mcast/lms-sender.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ @@ -17096,12 +17132,6 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ -./common/agent.h:85:22: warning: 'virtual void Agent::timeout(int)' was hidden [-Woverloaded-virtual=] - 85 | virtual void timeout(int tno); - | ^~~~~~~ -mcast/lms-receiver.cc:105:22: note: by 'virtual void LmsReceiver::timeout(int, int, int)' - 105 | virtual void timeout (int type, int lo, int hi); - | ^~~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -17111,6 +17141,12 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +./common/agent.h:85:22: warning: 'virtual void Agent::timeout(int)' was hidden [-Woverloaded-virtual=] + 85 | virtual void timeout(int tno); + | ^~~~~~~ +mcast/lms-receiver.cc:105:22: note: by 'virtual void LmsReceiver::timeout(int, int, int)' + 105 | virtual void timeout (int type, int lo, int hi); + | ^~~~~~~ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ @@ -17124,6 +17160,8 @@ | ^~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o queue/delayer.o queue/delayer.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o xcp/xcpq.o xcp/xcpq.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -17150,17 +17188,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from queue/delayer.h:38: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o xcp/xcpq.o xcp/xcpq.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -17189,8 +17216,19 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from queue/delayer.h:38: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o xcp/xcp.o xcp/xcp.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o xcp/xcp-end-sys.o xcp/xcp-end-sys.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -17200,8 +17238,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o xcp/xcp-end-sys.o xcp/xcp-end-sys.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from xcp/xcp.h:50, @@ -17226,6 +17262,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4csmaca.o wpan/p802_15_4csmaca.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/ip.h:41, from xcp/xcp-end-sys.cc:48: @@ -17259,8 +17297,6 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4csmaca.o wpan/p802_15_4csmaca.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from wpan/p802_15_4timer.h:52, @@ -17312,6 +17348,8 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4hlist.o wpan/p802_15_4hlist.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ wpan/p802_15_4csmaca.cc: In member function 'void CsmaCA802_15_4::newBeacon(char)': wpan/p802_15_4csmaca.cc:420:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 420 | if (canProceed(wtime)); @@ -17325,12 +17363,8 @@ wpan/p802_15_4csmaca.cc:428:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 428 | backoffT->start(wtime); | ^~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4hlist.o wpan/p802_15_4hlist.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4mac.o wpan/p802_15_4mac.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4nam.o wpan/p802_15_4nam.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from wpan/p802_15_4hlist.cc:49: @@ -17378,31 +17412,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./config.h:60, - from ./common/packet.h:43, - from wpan/p802_15_4pkt.h:52, - from wpan/p802_15_4mac.h:52, - from wpan/p802_15_4nam.cc:49: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -17414,40 +17423,15 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from wpan/p802_15_4def.h:52, - from wpan/p802_15_4const.h:52, - from wpan/p802_15_4pkt.h:53: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59, - from ./mac/phy.h:61, - from ./mac/channel.h:46, - from ./mobile/topography.h:44, - from ./mobile/propagation.h:47, - from ./mac/wireless-phy.h:45, - from wpan/p802_15_4phy.h:54, - from wpan/p802_15_4mac.h:53, - from wpan/p802_15_4mac.cc:50: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4nam.o wpan/p802_15_4nam.cc g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4phy.o wpan/p802_15_4phy.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4sscs.o wpan/p802_15_4sscs.cc /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./tools/random.h:42, from wpan/p802_15_4def.h:52, from wpan/p802_15_4const.h:52, @@ -17455,6 +17439,7 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ @@ -17467,13 +17452,39 @@ from ./mobile/propagation.h:47, from ./mac/wireless-phy.h:45, from wpan/p802_15_4phy.h:54, - from wpan/p802_15_4mac.h:53: + from wpan/p802_15_4mac.h:53, + from wpan/p802_15_4mac.cc:50: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ In file included from ./config.h:60, from ./common/packet.h:43, from wpan/p802_15_4pkt.h:52, + from wpan/p802_15_4mac.h:52, + from wpan/p802_15_4nam.cc:49: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +In file included from ./config.h:60, + from ./common/packet.h:43, + from wpan/p802_15_4pkt.h:52, from wpan/p802_15_4phy.cc:49: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] @@ -17495,35 +17506,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42, - from wpan/p802_15_4def.h:52, - from wpan/p802_15_4const.h:52, - from wpan/p802_15_4pkt.h:53: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59, - from ./mac/phy.h:61, - from ./mac/channel.h:46, - from ./mobile/topography.h:44, - from ./mobile/propagation.h:47, - from ./mac/wireless-phy.h:45, - from wpan/p802_15_4phy.h:54, - from wpan/p802_15_4phy.cc:50: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4sscs.o wpan/p802_15_4sscs.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./tools/random.h:41, from wpan/p802_15_4def.h:52, @@ -17557,6 +17539,44 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from wpan/p802_15_4def.h:52, + from wpan/p802_15_4const.h:52, + from wpan/p802_15_4pkt.h:53: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./mobile/energy-model.h:48, + from ./common/node.h:59, + from ./mac/phy.h:61, + from ./mac/channel.h:46, + from ./mobile/topography.h:44, + from ./mobile/propagation.h:47, + from ./mac/wireless-phy.h:45, + from wpan/p802_15_4phy.h:54, + from wpan/p802_15_4mac.h:53: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42, + from wpan/p802_15_4def.h:52, + from wpan/p802_15_4const.h:52, + from wpan/p802_15_4pkt.h:53: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ @@ -17583,6 +17603,22 @@ ./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' 70 | void set_table_size(int nn); | ^~~~~~~~~~~~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./mobile/energy-model.h:48, + from ./common/node.h:59, + from ./mac/phy.h:61, + from ./mac/channel.h:46, + from ./mobile/topography.h:44, + from ./mobile/propagation.h:47, + from ./mac/wireless-phy.h:45, + from wpan/p802_15_4phy.h:54, + from wpan/p802_15_4phy.cc:50: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ In file included from ./mac/phy.h:54: ./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] 57 | inline virtual void sendUp(Packet* p, Handler* h) @@ -17609,26 +17645,8 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -wpan/p802_15_4mac.cc: In member function 'double Mac802_15_4::getCAP(bool)': -wpan/p802_15_4mac.cc:4540:68: warning: 't_CAP' may be used uninitialized [-Wmaybe-uninitialized] - 4540 | double sSlotDuration,sSlotDuration2,sSlotDuration3,BI2,BI3,t_CAP,t_CAP2,t_CAP3; - | ^~~~~ -wpan/p802_15_4mac.cc:4655:17: warning: 't_CAP2' may be used uninitialized [-Wmaybe-uninitialized] - 4655 | if (t_CAP2 < now) - | ^~ -wpan/p802_15_4mac.cc:4540:74: note: 't_CAP2' was declared here - 4540 | double sSlotDuration,sSlotDuration2,sSlotDuration3,BI2,BI3,t_CAP,t_CAP2,t_CAP3; - | ^~~~~~ -wpan/p802_15_4mac.cc:4634:17: warning: 't_CAP3' may be used uninitialized [-Wmaybe-uninitialized] - 4634 | if (t_CAP3 >= now) - | ^~ -wpan/p802_15_4mac.cc:4540:81: note: 't_CAP3' was declared here - 4540 | double sSlotDuration,sSlotDuration2,sSlotDuration3,BI2,BI3,t_CAP,t_CAP2,t_CAP3; - | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4timer.o wpan/p802_15_4timer.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4trace.o wpan/p802_15_4trace.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/packet.h:43, from wpan/p802_15_4timer.cc:49: @@ -17652,29 +17670,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./config.h:60, - from ./common/packet.h:43, - from wpan/p802_15_4trace.cc:49: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4trace.o wpan/p802_15_4trace.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -17701,6 +17698,47 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ +In file included from ./config.h:60, + from ./common/packet.h:43, + from wpan/p802_15_4trace.cc:49: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +wpan/p802_15_4mac.cc: In member function 'double Mac802_15_4::getCAP(bool)': +wpan/p802_15_4mac.cc:4540:68: warning: 't_CAP' may be used uninitialized [-Wmaybe-uninitialized] + 4540 | double sSlotDuration,sSlotDuration2,sSlotDuration3,BI2,BI3,t_CAP,t_CAP2,t_CAP3; + | ^~~~~ +wpan/p802_15_4mac.cc:4655:17: warning: 't_CAP2' may be used uninitialized [-Wmaybe-uninitialized] + 4655 | if (t_CAP2 < now) + | ^~ +wpan/p802_15_4mac.cc:4540:74: note: 't_CAP2' was declared here + 4540 | double sSlotDuration,sSlotDuration2,sSlotDuration3,BI2,BI3,t_CAP,t_CAP2,t_CAP3; + | ^~~~~~ +wpan/p802_15_4mac.cc:4634:17: warning: 't_CAP3' may be used uninitialized [-Wmaybe-uninitialized] + 4634 | if (t_CAP3 >= now) + | ^~ +wpan/p802_15_4mac.cc:4540:81: note: 't_CAP3' was declared here + 4540 | double sSlotDuration,sSlotDuration2,sSlotDuration3,BI2,BI3,t_CAP,t_CAP2,t_CAP3; + | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4transac.o wpan/p802_15_4transac.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -17765,17 +17803,6 @@ ./mac/mac-timers.h:82:17: note: by 'void BackoffTimer::resume(double)' 82 | void resume(double difs); | ^~~~~~ -wpan/p802_15_4mac.cc: In member function 'void Mac802_15_4::mcps_data_request(UINT_8, UINT_16, IE3ADDR, UINT_8, UINT_16, IE3ADDR, UINT_8, Packet*, UINT_8, UINT_8, bool, PHYenum, MACenum)': -wpan/p802_15_4mac.cc:2766:49: warning: 'kpTime' may be used uninitialized [-Wmaybe-uninitialized] - 2766 | dataWaitT->start(kpTime); - | ~~~~~~~~~~~~~~~~^~~~~~~~ -wpan/p802_15_4mac.cc:2687:16: note: 'kpTime' was declared here - 2687 | double kpTime; - | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4transac.o wpan/p802_15_4transac.cc -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/pbc.o apps/pbc.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from wpan/p802_15_4transac.cc:49: @@ -17799,6 +17826,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/pbc.o apps/pbc.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/nr/nr.o diffusion3/lib/nr/nr.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -17810,11 +17841,16 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/nr/nr.o diffusion3/lib/nr/nr.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +wpan/p802_15_4mac.cc: In member function 'void Mac802_15_4::mcps_data_request(UINT_8, UINT_16, IE3ADDR, UINT_8, UINT_16, IE3ADDR, UINT_8, Packet*, UINT_8, UINT_8, bool, PHYenum, MACenum)': +wpan/p802_15_4mac.cc:2766:49: warning: 'kpTime' may be used uninitialized [-Wmaybe-uninitialized] + 2766 | dataWaitT->start(kpTime); + | ~~~~~~~~~~~~~~~~^~~~~~~~ +wpan/p802_15_4mac.cc:2687:16: note: 'kpTime' was declared here + 2687 | double kpTime; + | ^~~~~~ In file included from ./config.h:60, - from ./tools/random.h:41, - from apps/pbc.cc:55: + from diffusion3/lib/nr/nr.hh:48, + from diffusion3/lib/nr/nr.cc:47: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -17835,17 +17871,13 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./tools/random.h:42: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/dr.o diffusion3/lib/dr.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/diffusion/one_phase_pull.o diffusion3/filters/diffusion/one_phase_pull.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from diffusion3/lib/nr/nr.hh:48, - from diffusion3/lib/nr/nr.cc:47: + from ./tools/random.h:41, + from apps/pbc.cc:55: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -17866,10 +17898,14 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/dr.o diffusion3/lib/dr.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/diffusion/one_phase_pull.o diffusion3/filters/diffusion/one_phase_pull.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./tools/random.h:42: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ In file included from ./config.h:60, from diffusion3/lib/dr.hh:54, from diffusion3/lib/dr.cc:47: @@ -17916,6 +17952,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/diffusion/two_phase_pull.o diffusion3/filters/diffusion/two_phase_pull.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -17938,8 +17976,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/diffusion/two_phase_pull.o diffusion3/filters/diffusion/two_phase_pull.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -17964,6 +18000,14 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +In file included from ./common/agent.h:44, + from ./diffusion3/ns/diffagent.h:55: +./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] + 52 | virtual void recv(int nbytes); + | ^~~~ +diffusion3/filters/diffusion/one_phase_pull.hh:303:8: note: by 'void OnePhasePullFilter::recv(Message*, handle)' + 303 | void recv(Message *msg, handle h); + | ^~~~ In file included from ./config.h:60, from diffusion3/filters/diffusion/two_phase_pull.hh:47, from diffusion3/filters/diffusion/two_phase_pull.cc:43: @@ -17987,14 +18031,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./common/agent.h:44, - from ./diffusion3/ns/diffagent.h:55: -./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] - 52 | virtual void recv(int nbytes); - | ^~~~ -diffusion3/filters/diffusion/one_phase_pull.hh:303:8: note: by 'void OnePhasePullFilter::recv(Message*, handle)' - 303 | void recv(Message *msg, handle h); - | ^~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -18036,6 +18072,8 @@ | ^ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/diffapp.o diffusion3/lib/diffapp.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/ns/diffagent.o diffusion3/ns/diffagent.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from diffusion3/lib/diffapp.hh:58, from diffusion3/lib/diffapp.cc:44: @@ -18059,7 +18097,29 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/ns/diffagent.o diffusion3/ns/diffagent.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/ns/diffrtg.o diffusion3/ns/diffrtg.cc +In file included from diffusion3/ns/diffagent.h:54, + from diffusion3/ns/diffagent.cc:50: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] @@ -18084,30 +18144,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -In file included from diffusion3/ns/diffagent.h:54, - from diffusion3/ns/diffagent.cc:50: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/ns/diffrtg.o diffusion3/ns/diffrtg.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -18129,8 +18165,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/ns/difftimer.o diffusion3/ns/difftimer.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./diffusion3/filter_core/filter_core.hh:47, from diffusion3/ns/diffrtg.h:55, @@ -18155,6 +18189,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/ns/difftimer.o diffusion3/ns/difftimer.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filter_core/filter_core.o diffusion3/filter_core/filter_core.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from diffusion3/ns/difftimer.h:56, @@ -18184,9 +18222,7 @@ 175 | virtual void trace(TracedVar*); | ^~~~~ In file included from ./trace/trace.h:44, - from ./common/mobilenode.h:57, - from diffusion3/ns/diffagent.h:57, - from diffusion3/ns/difftimer.cc:52: + from diffusion3/ns/diffrtg.h:62: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ @@ -18197,7 +18233,9 @@ from ./common/node.h:59, from ./mac/channel.h:47, from ./mac/phy.h:60, - from ./common/mobilenode.h:59: + from ./common/mobilenode.h:59, + from diffusion3/ns/diffagent.h:57, + from diffusion3/ns/diffrtg.cc:54: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ @@ -18206,7 +18244,9 @@ 175 | virtual void trace(TracedVar*); | ^~~~~ In file included from ./trace/trace.h:44, - from diffusion3/ns/diffrtg.h:62: + from ./common/mobilenode.h:57, + from diffusion3/ns/diffagent.h:57, + from diffusion3/ns/difftimer.cc:52: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ @@ -18217,13 +18257,11 @@ from ./common/node.h:59, from ./mac/channel.h:47, from ./mac/phy.h:60, - from ./common/mobilenode.h:59, - from diffusion3/ns/diffagent.h:57, - from diffusion3/ns/diffrtg.cc:54: + from ./common/mobilenode.h:59: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filter_core/filter_core.o diffusion3/filter_core/filter_core.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filter_core/iolog.o diffusion3/filter_core/iolog.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from diffusion3/filter_core/filter_core.hh:47, @@ -18248,10 +18286,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filter_core/iolog.o diffusion3/filter_core/iolog.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filter_core/iostats.o diffusion3/filter_core/iostats.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from diffusion3/filter_core/iolog.hh:48, from diffusion3/filter_core/iolog.cc:46: @@ -18275,6 +18309,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filter_core/iostats.o diffusion3/filter_core/iostats.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/main/attrs.o diffusion3/lib/main/attrs.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -18285,29 +18323,6 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ -In file included from ./config.h:60, - from diffusion3/filter_core/iostats.hh:47, - from diffusion3/filter_core/iostats.cc:43: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ diffusion3/filter_core/iolog.cc: In member function 'virtual int* IOLog::recvPacket(int)': diffusion3/filter_core/iolog.cc:104:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type '__time64_t' {aka 'long long int'} [-Wformat=] 104 | "Diffusion Log: Time %ld.%06ld Node %d received broadcast %d bytes from node %d message %s\n", @@ -18350,10 +18365,29 @@ | ~~~~~~~~~ | | | __time64_t {aka long long int} -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/main/attrs.o diffusion3/lib/main/attrs.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/main/events.o diffusion3/lib/main/events.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from ./config.h:60, + from diffusion3/filter_core/iostats.hh:47, + from diffusion3/filter_core/iostats.cc:43: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ In file included from ./config.h:60, from diffusion3/lib/main/attrs.hh:47, from diffusion3/lib/main/attrs.cc:47: @@ -18377,6 +18411,15 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/main/events.o diffusion3/lib/main/events.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +diffusion3/lib/main/attrs.cc: In function 'NRAttrVec* UnpackAttrs(DiffPacket, int)': +diffusion3/lib/main/attrs.cc:308:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 308 | *(float *)¤t->val_)); + | ^~~~~~~~~~~~~~~~~~~~~~~ +diffusion3/lib/main/attrs.cc:315:47: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 315 | *(double *)¤t->val_)); + | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./config.h:60, from diffusion3/lib/main/events.hh:55, from diffusion3/lib/main/events.cc:46: @@ -18411,20 +18454,13 @@ | ~~~~~~~~~~~~~ | | | __time64_t {aka long long int} -diffusion3/lib/main/attrs.cc: In function 'NRAttrVec* UnpackAttrs(DiffPacket, int)': -diffusion3/lib/main/attrs.cc:308:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 308 | *(float *)¤t->val_)); - | ^~~~~~~~~~~~~~~~~~~~~~~ -diffusion3/lib/main/attrs.cc:315:47: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 315 | *(double *)¤t->val_)); - | ^~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/main/iodev.o diffusion3/lib/main/iodev.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/main/iohook.o diffusion3/lib/main/iohook.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from diffusion3/lib/main/iodev.hh:54, - from diffusion3/lib/main/iodev.cc:43: + from diffusion3/lib/main/iohook.hh:47, + from diffusion3/lib/main/iohook.cc:47: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -18446,8 +18482,8 @@ 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ In file included from ./config.h:60, - from diffusion3/lib/main/iohook.hh:47, - from diffusion3/lib/main/iohook.cc:47: + from diffusion3/lib/main/iodev.hh:54, + from diffusion3/lib/main/iodev.cc:43: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -18470,8 +18506,6 @@ | ^~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/main/timers.o diffusion3/lib/main/timers.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/main/message.o diffusion3/lib/main/message.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from diffusion3/lib/main/timers.hh:47, from diffusion3/lib/main/timers.cc:46: @@ -18495,6 +18529,14 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/main/message.o diffusion3/lib/main/message.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/main/tools.o diffusion3/lib/main/tools.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/gear_examples/gear_common.o diffusion3/apps/gear_examples/gear_common.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/gear_examples/gear_receiver.o diffusion3/apps/gear_examples/gear_receiver.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from diffusion3/lib/main/message.hh:65, from diffusion3/lib/main/message.cc:44: @@ -18518,12 +18560,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/lib/main/tools.o diffusion3/lib/main/tools.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/gear_examples/gear_common.o diffusion3/apps/gear_examples/gear_common.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/gear_examples/gear_receiver.o diffusion3/apps/gear_examples/gear_receiver.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from diffusion3/lib/main/tools.hh:59, from diffusion3/lib/main/tools.cc:45: @@ -18547,6 +18583,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/gear_examples/gear_sender.o diffusion3/apps/gear_examples/gear_sender.cc /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -18555,6 +18592,7 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ diffusion3/lib/main/tools.cc: In function 'void DiffPrintWithTime(int, const char*, ...)': diffusion3/lib/main/tools.cc:122:24: warning: format '%ld' expects argument of type 'long int', but argument 3 has type '__time64_t' {aka 'long long int'} [-Wformat=] 122 | fprintf(stderr, "%ld.%06ld : ", tv.tv_sec, (long int) tv.tv_usec); @@ -18563,8 +18601,8 @@ | long int __time64_t {aka long long int} | %lld In file included from ./config.h:60, - from diffusion3/apps/gear_examples/gear_common.hh:47, - from diffusion3/apps/gear_examples/gear_common.cc:43: + from diffusion3/apps/gear_examples/gear_receiver.hh:47, + from diffusion3/apps/gear_examples/gear_receiver.cc:43: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -18586,8 +18624,8 @@ 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ In file included from ./config.h:60, - from diffusion3/apps/gear_examples/gear_receiver.hh:47, - from diffusion3/apps/gear_examples/gear_receiver.cc:43: + from diffusion3/apps/gear_examples/gear_common.hh:47, + from diffusion3/apps/gear_examples/gear_common.cc:43: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -18608,7 +18646,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/gear_examples/gear_sender.o diffusion3/apps/gear_examples/gear_sender.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/rmst_examples/rmst_sink.o diffusion3/apps/rmst_examples/rmst_sink.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from diffusion3/apps/gear_examples/gear_sender.hh:47, @@ -18633,6 +18671,29 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +In file included from ./config.h:60, + from diffusion3/apps/rmst_examples/rmst_sink.hh:48, + from diffusion3/apps/rmst_examples/rmst_sink.cc:43: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -18642,7 +18703,8 @@ from ./diffusion3/ns/diffagent.h:57, from ./diffusion3/lib/dr.hh:69, from ./diffusion3/lib/diffapp.hh:63, - from diffusion3/apps/gear_examples/gear_common.hh:50: + from diffusion3/apps/gear_examples/gear_common.hh:50, + from diffusion3/apps/gear_examples/gear_receiver.hh:50: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ @@ -18666,8 +18728,7 @@ from ./diffusion3/ns/diffagent.h:57, from ./diffusion3/lib/dr.hh:69, from ./diffusion3/lib/diffapp.hh:63, - from diffusion3/apps/gear_examples/gear_common.hh:50, - from diffusion3/apps/gear_examples/gear_receiver.hh:50: + from diffusion3/apps/gear_examples/gear_common.hh:50: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ @@ -18690,8 +18751,6 @@ diffusion3/apps/gear_examples/gear_receiver.hh:62:8: note: by 'void GearReceiverApp::recv(NRAttrVec*, NR::handle)' 62 | void recv(NRAttrVec *data, NR::handle my_handle); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/rmst_examples/rmst_sink.o diffusion3/apps/rmst_examples/rmst_sink.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -18709,6 +18768,7 @@ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/rmst_examples/rmst_source.o diffusion3/apps/rmst_examples/rmst_source.cc In file included from ./mobile/energy-model.h:49, from ./common/node.h:59, from ./mac/channel.h:47, @@ -18717,29 +18777,7 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -In file included from ./config.h:60, - from diffusion3/apps/rmst_examples/rmst_sink.hh:48, - from diffusion3/apps/rmst_examples/rmst_sink.cc:43: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./common/agent.h:44, from ./diffusion3/ns/diffagent.h:55: ./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] @@ -18754,8 +18792,6 @@ diffusion3/apps/gear_examples/gear_sender.hh:72:8: note: by 'void GearSenderApp::send()' 72 | void send(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/rmst_examples/rmst_source.o diffusion3/apps/rmst_examples/rmst_source.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -18780,6 +18816,14 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +In file included from ./common/agent.h:44, + from ./diffusion3/ns/diffagent.h:55: +./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] + 52 | virtual void recv(int nbytes); + | ^~~~ +diffusion3/apps/rmst_examples/rmst_sink.hh:76:8: note: by 'void RmstSink::recv(void*, int)' + 76 | void recv(void *blob, int size); + | ^~~~ In file included from ./config.h:60, from diffusion3/apps/rmst_examples/rmst_source.hh:47, from diffusion3/apps/rmst_examples/rmst_source.cc:43: @@ -18803,17 +18847,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./common/agent.h:44, - from ./diffusion3/ns/diffagent.h:55: -./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] - 52 | virtual void recv(int nbytes); - | ^~~~ -diffusion3/apps/rmst_examples/rmst_sink.hh:76:8: note: by 'void RmstSink::recv(void*, int)' - 76 | void recv(void *blob, int size); - | ^~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/ping/1pp_ping_sender.o diffusion3/apps/ping/1pp_ping_sender.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/ping/1pp_ping_receiver.o diffusion3/apps/ping/1pp_ping_receiver.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from diffusion3/apps/ping/1pp_ping_sender.hh:47, from diffusion3/apps/ping/1pp_ping_sender.cc:44: @@ -18837,6 +18874,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/ping/2pp_ping_sender.o diffusion3/apps/ping/2pp_ping_sender.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] @@ -18862,6 +18900,29 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +In file included from ./config.h:60, + from diffusion3/apps/ping/1pp_ping_receiver.hh:47, + from diffusion3/apps/ping/1pp_ping_receiver.cc:43: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ In file included from ./common/agent.h:44, from ./diffusion3/ns/diffagent.h:55: ./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] @@ -18877,8 +18938,8 @@ 78 | void send(); | ^~~~ In file included from ./config.h:60, - from diffusion3/apps/ping/1pp_ping_receiver.hh:47, - from diffusion3/apps/ping/1pp_ping_receiver.cc:43: + from diffusion3/apps/ping/2pp_ping_sender.hh:47, + from diffusion3/apps/ping/2pp_ping_sender.cc:43: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -18924,6 +18985,15 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +diffusion3/apps/rmst_examples/rmst_source.cc: In member function 'void RmstSource::sendBlob()': +diffusion3/apps/rmst_examples/rmst_source.cc:273:10: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] + 273 | delete blob; + | ^~~~ +In member function 'char* RmstSource::createBlob(int)', + inlined from 'void RmstSource::sendBlob()' at diffusion3/apps/rmst_examples/rmst_source.cc:267:20: +diffusion3/apps/rmst_examples/rmst_source.cc:254:31: note: returned from 'void* operator new [](std::size_t)' + 254 | char *tmpPtr = new char[2500]; + | ^ In file included from ./common/agent.h:44, from ./diffusion3/ns/diffagent.h:55: ./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] @@ -18938,15 +19008,6 @@ diffusion3/apps/ping/1pp_ping_sender.hh:72:8: note: by 'void OPPPingSenderApp::send()' 72 | void send(); | ^~~~ -diffusion3/apps/rmst_examples/rmst_source.cc: In member function 'void RmstSource::sendBlob()': -diffusion3/apps/rmst_examples/rmst_source.cc:273:10: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] - 273 | delete blob; - | ^~~~ -In member function 'char* RmstSource::createBlob(int)', - inlined from 'void RmstSource::sendBlob()' at diffusion3/apps/rmst_examples/rmst_source.cc:267:20: -diffusion3/apps/rmst_examples/rmst_source.cc:254:31: note: returned from 'void* operator new [](std::size_t)' - 254 | char *tmpPtr = new char[2500]; - | ^ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -18972,8 +19033,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/ping/2pp_ping_sender.o diffusion3/apps/ping/2pp_ping_sender.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./common/agent.h:44, from ./diffusion3/ns/diffagent.h:55: ./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] @@ -18982,9 +19041,50 @@ diffusion3/apps/ping/1pp_ping_receiver.hh:63:8: note: by 'void OPPPingReceiverApp::recv(NRAttrVec*, NR::handle)' 63 | void recv(NRAttrVec *data, NR::handle my_handle); | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/ping/2pp_ping_receiver.o diffusion3/apps/ping/2pp_ping_receiver.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./common/mobilenode.h:57, + from ./diffusion3/ns/diffagent.h:57, + from ./diffusion3/lib/dr.hh:69, + from ./diffusion3/lib/diffapp.hh:63, + from diffusion3/apps/ping/ping.hh:50, + from diffusion3/apps/ping/2pp_ping_sender.hh:50: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49, + from ./common/node.h:59, + from ./mac/channel.h:47, + from ./mac/phy.h:60, + from ./common/mobilenode.h:59: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +In file included from ./common/agent.h:44, + from ./diffusion3/ns/diffagent.h:55: +./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] + 52 | virtual void recv(int nbytes); + | ^~~~ +diffusion3/apps/ping/2pp_ping_sender.hh:83:8: note: by 'void TPPPingSenderApp::recv(NRAttrVec*, NR::handle)' + 83 | void recv(NRAttrVec *data, NR::handle my_handle); + | ^~~~ +./apps/app.h:51:22: warning: 'virtual void Application::send(int)' was hidden [-Woverloaded-virtual=] + 51 | virtual void send(int nbytes); + | ^~~~ +diffusion3/apps/ping/2pp_ping_sender.hh:72:8: note: by 'void TPPPingSenderApp::send()' + 72 | void send(); + | ^~~~ In file included from ./config.h:60, - from diffusion3/apps/ping/2pp_ping_sender.hh:47, - from diffusion3/apps/ping/2pp_ping_sender.cc:43: + from diffusion3/apps/ping/2pp_ping_receiver.hh:47, + from diffusion3/apps/ping/2pp_ping_receiver.cc:43: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -19005,13 +19105,36 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/ping/2pp_ping_receiver.o diffusion3/apps/ping/2pp_ping_receiver.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/ping/ping_common.o diffusion3/apps/ping/ping_common.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/ping/push_receiver.o diffusion3/apps/ping/push_receiver.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from diffusion3/apps/ping/2pp_ping_receiver.hh:47, - from diffusion3/apps/ping/2pp_ping_receiver.cc:43: + from diffusion3/apps/ping/push_receiver.hh:47, + from diffusion3/apps/ping/push_receiver.cc:43: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +In file included from ./config.h:60, + from diffusion3/apps/ping/ping.hh:47, + from diffusion3/apps/ping/ping_common.cc:43: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -19032,6 +19155,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/ping/push_sender.o diffusion3/apps/ping/push_sender.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -19042,7 +19167,7 @@ from ./diffusion3/lib/dr.hh:69, from ./diffusion3/lib/diffapp.hh:63, from diffusion3/apps/ping/ping.hh:50, - from diffusion3/apps/ping/2pp_ping_sender.hh:50: + from diffusion3/apps/ping/2pp_ping_receiver.hh:50: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ @@ -19057,9 +19182,17 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +In file included from ./common/agent.h:44, + from ./diffusion3/ns/diffagent.h:55: +./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] + 52 | virtual void recv(int nbytes); + | ^~~~ +diffusion3/apps/ping/2pp_ping_receiver.hh:63:8: note: by 'void TPPPingReceiverApp::recv(NRAttrVec*, NR::handle)' + 63 | void recv(NRAttrVec *data, NR::handle my_handle); + | ^~~~ In file included from ./config.h:60, - from diffusion3/apps/ping/ping.hh:47, - from diffusion3/apps/ping/ping_common.cc:43: + from diffusion3/apps/ping/push_sender.hh:47, + from diffusion3/apps/ping/push_sender.cc:43: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -19080,20 +19213,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -In file included from ./common/agent.h:44, - from ./diffusion3/ns/diffagent.h:55: -./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] - 52 | virtual void recv(int nbytes); - | ^~~~ -diffusion3/apps/ping/2pp_ping_sender.hh:83:8: note: by 'void TPPPingSenderApp::recv(NRAttrVec*, NR::handle)' - 83 | void recv(NRAttrVec *data, NR::handle my_handle); - | ^~~~ -./apps/app.h:51:22: warning: 'virtual void Application::send(int)' was hidden [-Woverloaded-virtual=] - 51 | virtual void send(int nbytes); - | ^~~~ -diffusion3/apps/ping/2pp_ping_sender.hh:72:8: note: by 'void TPPPingSenderApp::send()' - 72 | void send(); - | ^~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -19104,7 +19223,31 @@ from ./diffusion3/lib/dr.hh:69, from ./diffusion3/lib/diffapp.hh:63, from diffusion3/apps/ping/ping.hh:50, - from diffusion3/apps/ping/2pp_ping_receiver.hh:50: + from diffusion3/apps/ping/push_receiver.hh:50: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49, + from ./common/node.h:59, + from ./mac/channel.h:47, + from ./mac/phy.h:60, + from ./common/mobilenode.h:59: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./common/mobilenode.h:57, + from ./diffusion3/ns/diffagent.h:57, + from ./diffusion3/lib/dr.hh:69, + from ./diffusion3/lib/diffapp.hh:63, + from diffusion3/apps/ping/ping.hh:50: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ @@ -19124,9 +19267,13 @@ ./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] 52 | virtual void recv(int nbytes); | ^~~~ -diffusion3/apps/ping/2pp_ping_receiver.hh:63:8: note: by 'void TPPPingReceiverApp::recv(NRAttrVec*, NR::handle)' +diffusion3/apps/ping/push_receiver.hh:63:8: note: by 'void PushReceiverApp::recv(NRAttrVec*, NR::handle)' 63 | void recv(NRAttrVec *data, NR::handle my_handle); | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/gear/gear_attr.o diffusion3/filters/gear/gear_attr.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/gear/gear.o diffusion3/filters/gear/gear.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -19136,7 +19283,8 @@ from ./diffusion3/ns/diffagent.h:57, from ./diffusion3/lib/dr.hh:69, from ./diffusion3/lib/diffapp.hh:63, - from diffusion3/apps/ping/ping.hh:50: + from diffusion3/apps/ping/ping.hh:50, + from diffusion3/apps/ping/push_sender.hh:50: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ @@ -19151,38 +19299,9 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/ping/push_receiver.o diffusion3/apps/ping/push_receiver.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/apps/ping/push_sender.o diffusion3/apps/ping/push_sender.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from diffusion3/apps/ping/push_receiver.hh:47, - from diffusion3/apps/ping/push_receiver.cc:43: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/gear/gear_attr.o diffusion3/filters/gear/gear_attr.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from ./config.h:60, - from diffusion3/apps/ping/push_sender.hh:47, - from diffusion3/apps/ping/push_sender.cc:43: + from diffusion3/filters/gear/gear_attr.hh:48, + from diffusion3/filters/gear/gear_attr.cc:44: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -19203,9 +19322,17 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +In file included from ./common/agent.h:44, + from ./diffusion3/ns/diffagent.h:55: +./apps/app.h:51:22: warning: 'virtual void Application::send(int)' was hidden [-Woverloaded-virtual=] + 51 | virtual void send(int nbytes); + | ^~~~ +diffusion3/apps/ping/push_sender.hh:71:8: note: by 'void PushSenderApp::send()' + 71 | void send(); + | ^~~~ In file included from ./config.h:60, - from diffusion3/filters/gear/gear_attr.hh:48, - from diffusion3/filters/gear/gear_attr.cc:44: + from diffusion3/filters/gear/gear.hh:48, + from diffusion3/filters/gear/gear.cc:44: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -19226,50 +19353,15 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/gear/gear_tools.o diffusion3/filters/gear/gear_tools.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ In file included from ./trace/trace.h:44, from ./common/mobilenode.h:57, - from ./diffusion3/ns/diffagent.h:57, - from ./diffusion3/lib/dr.hh:69, - from ./diffusion3/lib/diffapp.hh:63, - from diffusion3/apps/ping/ping.hh:50, - from diffusion3/apps/ping/push_receiver.hh:50: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49, - from ./common/node.h:59, - from ./mac/channel.h:47, - from ./mac/phy.h:60, - from ./common/mobilenode.h:59: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -In file included from ./common/agent.h:44, - from ./diffusion3/ns/diffagent.h:55: -./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] - 52 | virtual void recv(int nbytes); - | ^~~~ -diffusion3/apps/ping/push_receiver.hh:63:8: note: by 'void PushReceiverApp::recv(NRAttrVec*, NR::handle)' - 63 | void recv(NRAttrVec *data, NR::handle my_handle); - | ^~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./common/mobilenode.h:57, - from ./diffusion3/ns/diffagent.h:57, - from ./diffusion3/lib/dr.hh:69, - from ./diffusion3/lib/diffapp.hh:63, - from diffusion3/apps/ping/ping.hh:50, - from diffusion3/apps/ping/push_sender.hh:50: + from diffusion3/filters/gear/gear.hh:62: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ @@ -19284,14 +19376,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -In file included from ./common/agent.h:44, - from ./diffusion3/ns/diffagent.h:55: -./apps/app.h:51:22: warning: 'virtual void Application::send(int)' was hidden [-Woverloaded-virtual=] - 51 | virtual void send(int nbytes); - | ^~~~ -diffusion3/apps/ping/push_sender.hh:71:8: note: by 'void PushSenderApp::send()' - 71 | void send(); - | ^~~~ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -19316,15 +19400,10 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/gear/gear.o diffusion3/filters/gear/gear.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/gear/gear_tools.o diffusion3/filters/gear/gear_tools.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/misc/log.o diffusion3/filters/misc/log.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from diffusion3/filters/gear/gear.hh:48, - from diffusion3/filters/gear/gear.cc:44: + from ./diffusion3/lib/diffapp.hh:58, + from diffusion3/filters/gear/gear_tools.hh:48, + from diffusion3/filters/gear/gear_tools.cc:44: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -19345,6 +19424,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/misc/log.o diffusion3/filters/misc/log.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/misc/srcrt.o diffusion3/filters/misc/srcrt.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from diffusion3/filters/misc/log.hh:47, from diffusion3/filters/misc/log.cc:43: @@ -19374,7 +19457,9 @@ | ^~~~~ In file included from ./trace/trace.h:44, from ./common/mobilenode.h:57, - from diffusion3/filters/gear/gear.hh:62: + from ./diffusion3/ns/diffagent.h:57, + from ./diffusion3/lib/dr.hh:69, + from ./diffusion3/lib/diffapp.hh:63: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ @@ -19389,10 +19474,44 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +In file included from ./routing/rtmodule.h:60, + from ./common/node.h:61: +./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] + 75 | virtual void set_table_size(int level, int nn); + | ^~~~~~~~~~~~~~ +In file included from ./routing/rtmodule.h:61: +./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' + 70 | void set_table_size(int nn); + | ^~~~~~~~~~~~~~ +In file included from ./mac/phy.h:54: +./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 57 | inline virtual void sendUp(Packet* p, Handler* h) + | ^~~~~~ +In file included from ./mac/phy.h:62: +./mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' + 179 | virtual void sendUp(Packet *p); + | ^~~~~~ +./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 55 | virtual void sendDown(Packet* p, Handler* h) + | ^~~~~~~~ +./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' + 178 | virtual void sendDown(Packet* p); + | ^~~~~~~~ +./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 57 | inline virtual void sendUp(Packet* p, Handler* h) + | ^~~~~~ +./mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' + 79 | virtual int sendUp(Packet *p)=0; + | ^~~~~~ +./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] + 55 | virtual void sendDown(Packet* p, Handler* h) + | ^~~~~~~~ +./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' + 77 | virtual void sendDown(Packet *p)=0; + | ^~~~~~~~ In file included from ./config.h:60, - from ./diffusion3/lib/diffapp.hh:58, - from diffusion3/filters/gear/gear_tools.hh:48, - from diffusion3/filters/gear/gear_tools.cc:44: + from diffusion3/filters/misc/srcrt.hh:47, + from diffusion3/filters/misc/srcrt.cc:43: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -19413,6 +19532,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/misc/tag.o diffusion3/filters/misc/tag.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); @@ -19420,8 +19541,7 @@ In file included from ./trace/trace.h:44, from ./common/mobilenode.h:57, from ./diffusion3/ns/diffagent.h:57, - from ./diffusion3/lib/dr.hh:69, - from ./diffusion3/lib/diffapp.hh:63: + from diffusion3/filters/misc/srcrt.hh:51: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ @@ -19460,41 +19580,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -In file included from ./routing/rtmodule.h:60, - from ./common/node.h:61: -./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] - 75 | virtual void set_table_size(int level, int nn); - | ^~~~~~~~~~~~~~ -In file included from ./routing/rtmodule.h:61: -./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' - 70 | void set_table_size(int nn); - | ^~~~~~~~~~~~~~ -In file included from ./mac/phy.h:54: -./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 57 | inline virtual void sendUp(Packet* p, Handler* h) - | ^~~~~~ -In file included from ./mac/phy.h:62: -./mac/mac.h:179:22: note: by 'virtual void Mac::sendUp(Packet*)' - 179 | virtual void sendUp(Packet *p); - | ^~~~~~ -./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 55 | virtual void sendDown(Packet* p, Handler* h) - | ^~~~~~~~ -./mac/mac.h:178:22: note: by 'virtual void Mac::sendDown(Packet*)' - 178 | virtual void sendDown(Packet* p); - | ^~~~~~~~ -./common/bi-connector.h:57:29: warning: 'virtual void BiConnector::sendUp(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 57 | inline virtual void sendUp(Packet* p, Handler* h) - | ^~~~~~ -./mac/phy.h:79:21: note: by 'virtual int Phy::sendUp(Packet*)' - 79 | virtual int sendUp(Packet *p)=0; - | ^~~~~~ -./common/bi-connector.h:55:22: warning: 'virtual void BiConnector::sendDown(Packet*, Handler*)' was hidden [-Woverloaded-virtual=] - 55 | virtual void sendDown(Packet* p, Handler* h) - | ^~~~~~~~ -./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' - 77 | virtual void sendDown(Packet *p)=0; - | ^~~~~~~~ In file included from ./common/agent.h:44, from ./diffusion3/ns/diffagent.h:55: ./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] @@ -19503,13 +19588,9 @@ diffusion3/filters/misc/log.hh:74:8: note: by 'void LogFilter::recv(Message*, handle)' 74 | void recv(Message *msg, handle h); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/misc/srcrt.o diffusion3/filters/misc/srcrt.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/misc/tag.o diffusion3/filters/misc/tag.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from diffusion3/filters/misc/srcrt.hh:47, - from diffusion3/filters/misc/srcrt.cc:43: + from diffusion3/filters/misc/tag.hh:48, + from diffusion3/filters/misc/tag.cc:43: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -19530,9 +19611,13 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/rmst/rmst.o diffusion3/filters/rmst/rmst.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/rmst/rmst_filter.o diffusion3/filters/rmst/rmst_filter.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from diffusion3/filters/misc/tag.hh:48, - from diffusion3/filters/misc/tag.cc:43: + from diffusion3/filters/rmst/rmst.hh:49, + from diffusion3/filters/rmst/rmst.cc:44: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -19560,28 +19645,6 @@ In file included from ./trace/trace.h:44, from ./common/mobilenode.h:57, from ./diffusion3/ns/diffagent.h:57, - from diffusion3/filters/misc/srcrt.hh:51: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49, - from ./common/node.h:59, - from ./mac/channel.h:47, - from ./mac/phy.h:60, - from ./common/mobilenode.h:59: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./common/mobilenode.h:57, - from ./diffusion3/ns/diffagent.h:57, from ./diffusion3/lib/dr.hh:69, from ./diffusion3/lib/diffapp.hh:63, from diffusion3/filters/misc/tag.hh:51: @@ -19607,13 +19670,12 @@ diffusion3/filters/misc/tag.hh:76:8: note: by 'void TagFilter::recv(Message*, handle)' 76 | void recv(Message *msg, handle h); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/rmst/rmst.o diffusion3/filters/rmst/rmst.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o diffusion3/filters/rmst/rmst_filter.o diffusion3/filters/rmst/rmst_filter.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o delaybox/delaybox.o delaybox/delaybox.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from diffusion3/filters/rmst/rmst.hh:49, - from diffusion3/filters/rmst/rmst.cc:44: + from ./diffusion3/lib/diffapp.hh:58, + from diffusion3/filters/rmst/rmst_filter.hh:51, + from diffusion3/filters/rmst/rmst_filter.cc:43: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -19634,8 +19696,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o delaybox/delaybox.o delaybox/delaybox.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from delaybox/delaybox.cc:88: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] @@ -19657,6 +19717,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o packmime/packmime_HTTP.o packmime/packmime_HTTP.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./mac/phy.h:54, from ./common/node.h:57, from delaybox/delaybox.h:43, @@ -19687,84 +19749,56 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -In file included from ./config.h:60, - from ./diffusion3/lib/diffapp.hh:58, - from diffusion3/filters/rmst/rmst_filter.hh:51, - from diffusion3/filters/rmst/rmst_filter.cc:43: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59: + from ./common/mobilenode.h:57, + from ./diffusion3/ns/diffagent.h:57, + from ./diffusion3/lib/dr.hh:69, + from ./diffusion3/lib/diffapp.hh:63: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ -In file included from ./mobile/energy-model.h:49: +In file included from ./mobile/energy-model.h:49, + from ./common/node.h:59, + from ./mac/channel.h:47, + from ./mac/phy.h:60, + from ./common/mobilenode.h:59: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -In file included from delaybox/delaybox.h:42: -./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] - 75 | virtual void set_table_size(int level, int nn); - | ^~~~~~~~~~~~~~ -In file included from ./routing/rtmodule.h:61, - from ./common/node.h:61: -./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' - 70 | void set_table_size(int nn); - | ^~~~~~~~~~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o packmime/packmime_HTTP_rng.o packmime/packmime_HTTP_rng.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] 175 | virtual void trace(TracedVar*); | ^~~~~ In file included from ./trace/trace.h:44, - from ./common/mobilenode.h:57, - from ./diffusion3/ns/diffagent.h:57, - from ./diffusion3/lib/dr.hh:69, - from ./diffusion3/lib/diffapp.hh:63: + from ./mobile/energy-model.h:48, + from ./common/node.h:59: ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { | ^~~~ -In file included from ./mobile/energy-model.h:49, - from ./common/node.h:59, - from ./mac/channel.h:47, - from ./mac/phy.h:60, - from ./common/mobilenode.h:59: +In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o packmime/packmime_HTTP.o packmime/packmime_HTTP.cc -delaybox/delaybox.cc: In member function 'void DelayBoxQueue::dumplist()': -delaybox/delaybox.cc:946:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 946 | register pktinfo* p = head_; - | ^ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from delaybox/delaybox.h:42: +./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] + 75 | virtual void set_table_size(int level, int nn); + | ^~~~~~~~~~~~~~ +In file included from ./routing/rtmodule.h:61, + from ./common/node.h:61: +./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' + 70 | void set_table_size(int nn); + | ^~~~~~~~~~~~~~ In file included from ./common/agent.h:44, from ./diffusion3/ns/diffagent.h:55: ./apps/app.h:52:22: warning: 'virtual void Application::recv(int)' was hidden [-Woverloaded-virtual=] @@ -19794,6 +19828,10 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +delaybox/delaybox.cc: In member function 'void DelayBoxQueue::dumplist()': +delaybox/delaybox.cc:946:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 946 | register pktinfo* p = head_; + | ^ /usr/include/tclcl/tclcl.h: At global scope: /usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { @@ -19814,6 +19852,38 @@ ./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' 90 | virtual void trace(); | ^~~~~ +In file included from ./config.h:60, + from ./tools/rng.h:72, + from packmime/packmime_HTTP_rng.cc:45: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h: At global scope: +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o packmime/packmime_OL.o packmime/packmime_OL.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from /usr/include/stdio.h:970, from /usr/include/tcl/tcl.h:125: In function 'int sprintf(char*, const char*, ...)', @@ -19881,60 +19951,6 @@ delaybox/delaybox.cc:972:27: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 972 | void packet_string (char* str, hdr_tcp *tcph, hdr_ip* iph, int size) | ~~~~~~^~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o packmime/packmime_HTTP_rng.o packmime/packmime_HTTP_rng.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -diffusion3/filters/rmst/rmst_filter.cc: In member function 'bool RmstFilter::processMessage(Message*)': -diffusion3/filters/rmst/rmst_filter.cc:260:22: warning: 'rmst_ptr' may be used uninitialized [-Wmaybe-uninitialized] - 260 | if(rmst_ptr->reinf_) - | ~~~~~~~~~~^~~~~~ -diffusion3/filters/rmst/rmst_filter.cc:127:9: note: 'rmst_ptr' was declared here - 127 | Rmst *rmst_ptr; - | ^~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algobase.h:64, - from /usr/include/c++/14/bits/stl_tree.h:63, - from /usr/include/c++/14/map:62, - from diffusion3/filters/rmst/rmst_filter.hh:49: -In constructor 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = long long int&; _U2 = _ExpLog&; typename std::enable_if<(std::_PCC::_MoveConstructiblePair<_U1, _U2>() && std::_PCC::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type = true; _T1 = const long long int; _T2 = _ExpLog]', - inlined from 'bool RmstFilter::processMessage(Message*)' at diffusion3/filters/rmst/rmst_filter.cc:231:66: -/usr/include/c++/14/bits/stl_pair.h:882:42: warning: 'rmst_no' may be used uninitialized [-Wmaybe-uninitialized] - 882 | : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -diffusion3/filters/rmst/rmst_filter.cc: In member function 'bool RmstFilter::processMessage(Message*)': -diffusion3/filters/rmst/rmst_filter.cc:122:7: note: 'rmst_no' was declared here - 122 | int rmst_no; - | ^~~~~~~ -In file included from ./config.h:60, - from ./tools/rng.h:72, - from packmime/packmime_HTTP_rng.cc:45: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h: At global scope: -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o packmime/packmime_OL.o packmime/packmime_OL.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from packmime/packmime_OL.h:53, from packmime/packmime_OL.cc:56: @@ -19968,9 +19984,27 @@ 115 | void init(); | ^~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o packmime/packmime_OL_ranvar.o packmime/packmime_OL_ranvar.cc -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o packmime/packmime_ranvar.o packmime/packmime_ranvar.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +diffusion3/filters/rmst/rmst_filter.cc: In member function 'bool RmstFilter::processMessage(Message*)': +diffusion3/filters/rmst/rmst_filter.cc:260:22: warning: 'rmst_ptr' may be used uninitialized [-Wmaybe-uninitialized] + 260 | if(rmst_ptr->reinf_) + | ~~~~~~~~~~^~~~~~ +diffusion3/filters/rmst/rmst_filter.cc:127:9: note: 'rmst_ptr' was declared here + 127 | Rmst *rmst_ptr; + | ^~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algobase.h:64, + from /usr/include/c++/14/bits/stl_tree.h:63, + from /usr/include/c++/14/map:62, + from diffusion3/filters/rmst/rmst_filter.hh:49: +In constructor 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = long long int&; _U2 = _ExpLog&; typename std::enable_if<(std::_PCC::_MoveConstructiblePair<_U1, _U2>() && std::_PCC::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type = true; _T1 = const long long int; _T2 = _ExpLog]', + inlined from 'bool RmstFilter::processMessage(Message*)' at diffusion3/filters/rmst/rmst_filter.cc:231:66: +/usr/include/c++/14/bits/stl_pair.h:882:42: warning: 'rmst_no' may be used uninitialized [-Wmaybe-uninitialized] + 882 | : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +diffusion3/filters/rmst/rmst_filter.cc: In member function 'bool RmstFilter::processMessage(Message*)': +diffusion3/filters/rmst/rmst_filter.cc:122:7: note: 'rmst_no' was declared here + 122 | int rmst_no; + | ^~~~~~~ In file included from ./config.h:60, from ./tools/random.h:41, from ./tools/ranvar.h:52, @@ -20005,6 +20039,17 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o packmime/packmime_ranvar.o packmime/packmime_ranvar.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +packmime/packmime_OL_ranvar.cc: In member function 'void PackMimeOLPacketSizeRandomVariable::read_dist()': +packmime/packmime_OL_ranvar.cc:385:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 385 | fscanf(fp, "%d\n", &n_size_dist); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +packmime/packmime_OL_ranvar.cc:390:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 390 | fscanf(fp, "%d %d %lf\n", &size_dist_left[n-1], + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 391 | &size_dist_right[n-1], &size_prob[n-1]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./config.h:60, from ./tools/random.h:41, from ./tools/ranvar.h:52, @@ -20038,15 +20083,6 @@ ./tools/rng.h:115:14: note: by 'void RNG::init()' 115 | void init(); | ^~~~ -packmime/packmime_OL_ranvar.cc: In member function 'void PackMimeOLPacketSizeRandomVariable::read_dist()': -packmime/packmime_OL_ranvar.cc:385:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 385 | fscanf(fp, "%d\n", &n_size_dist); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -packmime/packmime_OL_ranvar.cc:390:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 390 | fscanf(fp, "%d %d %lf\n", &size_dist_left[n-1], - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 391 | &size_dist_right[n-1], &size_prob[n-1]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tmix/tmix.o tmix/tmix.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tmix/tmixAgent.o tmix/tmixAgent.cc @@ -20211,6 +20247,18 @@ | ^~~~~~~~~~~~~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o tmix/tmix_delaybox.o tmix/tmix_delaybox.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +rm -f gen/version.c +/bin/tclsh8.6 bin/string2c.tcl version_string < VERSION > gen/version.c +/bin/tclsh8.6 bin/tcl-expand.tcl tcl/lib/ns-lib.tcl tcl/lib/ns-diffusion.tcl tcl/delaybox/delaybox.tcl tcl/packmime/packmime.tcl tcl/tmix/tmix.tcl tcl/tmix/tmix_delaybox.tcl | /usr/bin/tcl2c++ et_ns_lib > gen/ns_tcl.cc +tmix/tmix.cc: In member function 'ConnVector* Tmix::read_one_cvec_v1()': +tmix/tmix.cc:626:26: warning: the address of 'Tmix::line' will never be NULL [-Waddress] + 626 | if (line == NULL || line[0] == '#' || !strcmp(line,"\n")) { + | ^ +tmix/tmix.h:355:14: note: 'Tmix::line' declared here + 355 | char line[CVEC_LINE_MAX]; + | ^~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/ptypes2tcl.o common/ptypes2tcl.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from tmix/tmix_delaybox.cc:39: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] @@ -20263,42 +20311,37 @@ ./mac/phy.h:77:22: note: by 'virtual void Phy::sendDown(Packet*)' 77 | virtual void sendDown(Packet *p)=0; | ^~~~~~~~ -tmix/tmix.cc: In member function 'ConnVector* Tmix::read_one_cvec_v1()': -tmix/tmix.cc:626:26: warning: the address of 'Tmix::line' will never be NULL [-Waddress] - 626 | if (line == NULL || line[0] == '#' || !strcmp(line,"\n")) { - | ^ -tmix/tmix.h:355:14: note: 'Tmix::line' declared here - 355 | char line[CVEC_LINE_MAX]; - | ^~~~ -/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] - 175 | virtual void trace(TracedVar*); - | ^~~~~ -In file included from ./trace/trace.h:44, - from ./mobile/energy-model.h:48, - from ./common/node.h:59: -./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' - 90 | virtual void trace(); - | ^~~~~ -/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] - 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { - | ^~~~ -In file included from ./mobile/energy-model.h:49: -./tools/rng.h:115:14: note: by 'void RNG::init()' - 115 | void init(); - | ^~~~ -In file included from ./delaybox/delaybox.h:42: -./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] - 75 | virtual void set_table_size(int level, int nn); - | ^~~~~~~~~~~~~~ -In file included from ./routing/rtmodule.h:61, - from ./common/node.h:61: -./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' - 70 | void set_table_size(int nn); - | ^~~~~~~~~~~~~~ +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/win32.o common/win32.c +common/win32.c:601:19: warning: 'ISO_C_forbids_an_empty_source_file' defined but not used [-Wunused-const-variable=] + 601 | static const char ISO_C_forbids_an_empty_source_file; /* don't know why ... */ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tmix/tmix.cc: In member function 'ConnVector* Tmix::read_one_cvec()': tmix/tmix.cc:565:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 565 | fgets(local_line, CVEC_LINE_MAX, cvfp_); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./config.h:60, + from common/packet.h:43, + from common/ptypes2tcl.cc:3: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ tmix/tmix.cc: In member function 'ConnVector* Tmix::read_one_cvec_v2()': tmix/tmix.cc:954:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 954 | fscanf (cvfp_, "%*[^\n]\n"); @@ -20332,44 +20375,33 @@ tmix/tmix.cc:1023:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1023 | fscanf (cvfp_, "%*[^\n]\n"); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ -rm -f gen/version.c -/bin/tclsh8.6 bin/string2c.tcl version_string < VERSION > gen/version.c -/bin/tclsh8.6 bin/tcl-expand.tcl tcl/lib/ns-lib.tcl tcl/lib/ns-diffusion.tcl tcl/delaybox/delaybox.tcl tcl/packmime/packmime.tcl tcl/tmix/tmix.tcl tcl/tmix/tmix_delaybox.tcl | /usr/bin/tcl2c++ et_ns_lib > gen/ns_tcl.cc -tmix/tmix_delaybox.cc: In member function 'void Tmix_DelayBoxClassifier::create_flow_table(const char*, const char*, FILE*)': -tmix/tmix_delaybox.cc:161:19: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 161 | fgets (cvec, 100, fp); - | ~~~~~~^~~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/ptypes2tcl.o common/ptypes2tcl.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/tclAppInit.o common/tclAppInit.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from ./config.h:60, - from common/packet.h:43, - from common/ptypes2tcl.cc:3: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -tmix/tmix_delaybox.cc:186:79: warning: 'delay' may be used uninitialized [-Wmaybe-uninitialized] - 186 | flow = new DelayBoxFlow(delay/2, fwdloss, linkspd, q,timer); - | ^ -tmix/tmix_delaybox.cc:152:12: note: 'delay' was declared here - 152 | double delay, fwdloss, revloss, linkspd; - | ^~~~~ +/usr/include/tclcl/tclcl.h:175:22: warning: 'virtual void TclObject::trace(TracedVar*)' was hidden [-Woverloaded-virtual=] + 175 | virtual void trace(TracedVar*); + | ^~~~~ +In file included from ./trace/trace.h:44, + from ./mobile/energy-model.h:48, + from ./common/node.h:59: +./trace/basetrace.h:90:22: note: by 'virtual void EventTrace::trace()' + 90 | virtual void trace(); + | ^~~~~ +/usr/include/tclcl/tclcl.h:196:21: warning: 'virtual int TclObject::init(int, const char* const*)' was hidden [-Woverloaded-virtual=] + 196 | virtual int init(int /*argc*/, const char*const* /*argv*/) { + | ^~~~ +In file included from ./mobile/energy-model.h:49: +./tools/rng.h:115:14: note: by 'void RNG::init()' + 115 | void init(); + | ^~~~ +In file included from ./delaybox/delaybox.h:42: +./classifier/classifier.h:75:22: warning: 'virtual void Classifier::set_table_size(int, int)' was hidden [-Woverloaded-virtual=] + 75 | virtual void set_table_size(int level, int nn); + | ^~~~~~~~~~~~~~ +In file included from ./routing/rtmodule.h:61, + from ./common/node.h:61: +./classifier/classifier-hash.h:70:14: note: by 'void HashClassifier::set_table_size(int)' + 70 | void set_table_size(int nn); + | ^~~~~~~~~~~~~~ common/ptypes2tcl.cc: In function 'int main()': common/ptypes2tcl.cc:65:44: warning: '%s' directive writing up to 511 bytes into a region of size 502 [-Wformat-overflow=] 49 | return charbuf; @@ -20391,30 +20423,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In member function 'void ConnVector::set_acc_mss(int)', - inlined from 'ConnVector* Tmix::read_one_cvec_v2()' at tmix/tmix.cc:990:20: -tmix/tmix.h:164:26: warning: 'cv' may be used uninitialized [-Wmaybe-uninitialized] - 164 | acc_mss_ = mss; - | ~~~~~~~~~^~~~~ -tmix/tmix.cc: In member function 'ConnVector* Tmix::read_one_cvec_v2()': -tmix/tmix.cc:943:21: note: 'cv' was declared here - 943 | ConnVector* cv; - | ^~ -In member function 'long unsigned int ADU::get_size()', - inlined from 'ConnVector* Tmix::read_one_cvec_v2()' at tmix/tmix.cc:1028:19: -tmix/tmix.h:99:49: warning: 'adu' may be used uninitialized [-Wmaybe-uninitialized] - 99 | inline unsigned long get_size() {return size_;} - | ^~~~~ -tmix/tmix.cc: In member function 'ConnVector* Tmix::read_one_cvec_v2()': -tmix/tmix.cc:944:14: note: 'adu' was declared here - 944 | ADU* adu; - | ^~~ -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/win32.o common/win32.c -common/win32.c:601:19: warning: 'ISO_C_forbids_an_empty_source_file' defined but not used [-Wunused-const-variable=] - 601 | static const char ISO_C_forbids_an_empty_source_file; /* don't know why ... */ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/tclAppInit.o common/tclAppInit.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from common/tclAppInit.cc:17: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -20437,6 +20445,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/main-monolithic.o common/main-monolithic.cc In file included from common/tclAppInit.cc:25: ./tools/mem-trace.h: In member function 'void MemTrace::diff(char*)': ./tools/mem-trace.h:119:54: warning: format '%ld' expects argument of type 'long int', but argument 4 has type '__time64_t' {aka 'long long int'} [-Wformat=] @@ -20451,12 +20460,15 @@ | | | long int | %lld -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/main-monolithic.o common/main-monolithic.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/net-ip.o emulate/net-ip.cc -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/net.o emulate/net.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/net.o emulate/net.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +tmix/tmix_delaybox.cc: In member function 'void Tmix_DelayBoxClassifier::create_flow_table(const char*, const char*, FILE*)': +tmix/tmix_delaybox.cc:161:19: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 161 | fgets (cvec, 100, fp); + | ~~~~~~^~~~~~~~~~~~~~~ In file included from ./config.h:60, from emulate/net-ip.cc:63: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -20479,11 +20491,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/tap.o emulate/tap.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -emulate/tap.cc:186:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 186 | TDEBUG5("%f: Tap(%s): DEFERRED PACKET %f secs, uid: "UID_PRINTF_FORMAT"\n", - | ^ In file included from emulate/net.h:43, from emulate/net.cc:58: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -20506,6 +20513,39 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +tmix/tmix_delaybox.cc:186:79: warning: 'delay' may be used uninitialized [-Wmaybe-uninitialized] + 186 | flow = new DelayBoxFlow(delay/2, fwdloss, linkspd, q,timer); + | ^ +tmix/tmix_delaybox.cc:152:12: note: 'delay' was declared here + 152 | double delay, fwdloss, revloss, linkspd; + | ^~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/tap.o emulate/tap.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/ether.o emulate/ether.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In member function 'void ConnVector::set_acc_mss(int)', + inlined from 'ConnVector* Tmix::read_one_cvec_v2()' at tmix/tmix.cc:990:20: +tmix/tmix.h:164:26: warning: 'cv' may be used uninitialized [-Wmaybe-uninitialized] + 164 | acc_mss_ = mss; + | ~~~~~~~~~^~~~~ +tmix/tmix.cc: In member function 'ConnVector* Tmix::read_one_cvec_v2()': +tmix/tmix.cc:943:21: note: 'cv' was declared here + 943 | ConnVector* cv; + | ^~ +In member function 'long unsigned int ADU::get_size()', + inlined from 'ConnVector* Tmix::read_one_cvec_v2()' at tmix/tmix.cc:1028:19: +tmix/tmix.h:99:49: warning: 'adu' may be used uninitialized [-Wmaybe-uninitialized] + 99 | inline unsigned long get_size() {return size_;} + | ^~~~~ +tmix/tmix.cc: In member function 'ConnVector* Tmix::read_one_cvec_v2()': +tmix/tmix.cc:944:14: note: 'adu' was declared here + 944 | ADU* adu; + | ^~~ +emulate/tap.cc:186:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 186 | TDEBUG5("%f: Tap(%s): DEFERRED PACKET %f secs, uid: "UID_PRINTF_FORMAT"\n", + | ^ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/internet.o emulate/internet.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from emulate/tap.h:40, from emulate/tap.cc:39: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -20528,8 +20568,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/ether.o emulate/ether.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from emulate/ether.cc:48: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -20556,7 +20594,7 @@ emulate/ether.cc:71:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 71 | register char *cp; | ^~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/internet.o emulate/internet.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/ping_responder.o emulate/ping_responder.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, @@ -20591,12 +20629,8 @@ emulate/internet.cc:24:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 24 | register int sum = 0; | ^~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/ping_responder.o emulate/ping_responder.cc g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/arp.o emulate/arp.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/icmp.o emulate/icmp.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -20623,6 +20657,8 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/icmp.o emulate/icmp.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -20647,6 +20683,7 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/net-pcap.o emulate/net-pcap.cc In file included from ./config.h:60, from ./common/scheduler.h:40, from ./common/object.h:40, @@ -20673,18 +20710,11 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/net-pcap.o emulate/net-pcap.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/nat.o emulate/nat.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/iptap.o emulate/iptap.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from ./common/scheduler.h:40, - from ./common/object.h:40, - from ./common/connector.h:40, - from ./common/agent.h:40, - from emulate/nat.cc:51: + from emulate/net-pcap.cc:70: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -20705,8 +20735,26 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +emulate/net-pcap.cc: In member function 'const char* PcapLiveNetwork::autodevname()': +emulate/net-pcap.cc:578:36: warning: 'char* pcap_lookupdev(char*)' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] + 578 | if ((dname = pcap_lookupdev(errbuf_)) == NULL) { + | ~~~~~~~~~~~~~~^~~~~~~~~ +In file included from emulate/net-pcap.cc:64: +/usr/include/pcap/pcap.h:444:18: note: declared here + 444 | PCAP_API char *pcap_lookupdev(char *); + | ^~~~~~~~~~~~~~ +emulate/net-pcap.cc: In member function 'int PcapLiveNetwork::devtonaddr(const char*, NetworkAddress&)': +emulate/net-pcap.cc:597:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 597 | register int fd; + | ^~ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/iptap.o emulate/iptap.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, - from emulate/net-pcap.cc:70: + from ./common/scheduler.h:40, + from ./common/object.h:40, + from ./common/connector.h:40, + from ./common/agent.h:40, + from emulate/nat.cc:51: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 88 | inline void result(const char* p) { tcl_->result = (char*)p; } @@ -20750,18 +20798,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -emulate/net-pcap.cc: In member function 'const char* PcapLiveNetwork::autodevname()': -emulate/net-pcap.cc:578:36: warning: 'char* pcap_lookupdev(char*)' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] - 578 | if ((dname = pcap_lookupdev(errbuf_)) == NULL) { - | ~~~~~~~~~~~~~~^~~~~~~~~ -In file included from emulate/net-pcap.cc:64: -/usr/include/pcap/pcap.h:444:18: note: declared here - 444 | PCAP_API char *pcap_lookupdev(char *); - | ^~~~~~~~~~~~~~ -emulate/net-pcap.cc: In member function 'int PcapLiveNetwork::devtonaddr(const char*, NetworkAddress&)': -emulate/net-pcap.cc:597:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 597 | register int fd; - | ^~ emulate/iptap.cc: In member function 'short unsigned int IPTapAgent::in_cksum(short unsigned int*, int)': emulate/iptap.cc:94:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register int sum = 0; @@ -20793,13 +20829,13 @@ 598 | ifreq ifr; | ^~~ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/tcptap.o emulate/tcptap.cc -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/inet.o emulate/inet.c cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/inet.o emulate/inet.c g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o common/tkAppInit.o common/tkAppInit.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ emulate/inet.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 18 | static const char rcsid[] = | ^~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from emulate/tap.h:40, from emulate/tcptap.h:39, from emulate/tcptap.cc:39: @@ -20837,6 +20873,7 @@ emulate/tcptap.cc:158:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 158 | register int nleft = len; | ^~~~~ +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o gen/version.o gen/version.c In file included from ./config.h:60, from common/tkAppInit.cc:24: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -20874,9 +20911,9 @@ | | | long int | %lld -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o gen/version.o gen/version.c g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o gen/ns_tcl.o gen/ns_tcl.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -o common/ptypes2tcl common/ptypes2tcl.o In file included from gen/ns_tcl.cc:22768: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] @@ -20898,18 +20935,13 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -o common/ptypes2tcl common/ptypes2tcl.o -../../../tools/rng.cc: In constructor 'RNG::RNG(const char*)': -../../../tools/rng.cc:856:26: warning: array subscript 100 is above array bounds of 'char [100]' [-Warray-bounds=] - 856 | name_[100] = 0; - | ~~~~~~~~~^ -In file included from ../../../tools/rng.cc:71: -../../../tools/rng.h:333:14: note: while referencing 'RNG::name_' - 333 | char name_[100]; - | ^~~~~ +g++ -c -Dstand_alone -DSTL_NAMESPACE=@STL_NAMESPACE@ -DCPP_NAMESPACE=std -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -o setdest.o setdest.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ ./common/ptypes2tcl > gen/ptypes.cc g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o gen/ptypes.o gen/ptypes.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -Dstand_alone -DSTL_NAMESPACE=@STL_NAMESPACE@ -DCPP_NAMESPACE=std -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -o calcdest.o calcdest.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ./config.h:60, from gen/ptypes.cc:167: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': @@ -20932,10 +20964,16 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -Dstand_alone -DSTL_NAMESPACE=@STL_NAMESPACE@ -DCPP_NAMESPACE=std -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -o setdest.o setdest.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -Dstand_alone -DSTL_NAMESPACE=@STL_NAMESPACE@ -DCPP_NAMESPACE=std -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -o calcdest.o calcdest.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -o ns tcp/linux/tcp_naivereno.o tcp/linux/src/tcp_cong.o tcp/linux/src/tcp_highspeed.o tcp/linux/src/tcp_bic.o tcp/linux/src/tcp_htcp.o tcp/linux/src/tcp_scalable.o tcp/linux/src/tcp_cubic.o tcp/linux/src/tcp_westwood.o tcp/linux/src/tcp_vegas.o tcp/linux/src/tcp_hybla.o tcp/linux/src/tcp_illinois.o tcp/linux/src/tcp_yeah.o tcp/linux/src/tcp_veno.o tcp/linux/src/tcp_compound.o tcp/linux/src/tcp_lp.o tcp/linux/ns-linux-c.o tcp/linux/ns-linux-param.o tools/random.o tools/rng.o tools/ranvar.o common/misc.o common/timer-handler.o common/scheduler.o common/object.o common/packet.o common/ip.o routing/route.o common/connector.o common/ttl.o trace/trace.o trace/trace-ip.o classifier/classifier.o classifier/classifier-addr.o classifier/classifier-hash.o classifier/classifier-virtual.o classifier/classifier-mcast.o classifier/classifier-bst.o classifier/classifier-mpath.o mcast/replicator.o classifier/classifier-mac.o classifier/classifier-qs.o classifier/classifier-port.o src_rtg/classifier-sr.o src_rtg/sragent.o src_rtg/hdr_src.o adc/ump.o qs/qsagent.o qs/hdr_qs.o apps/app.o apps/telnet.o tcp/tcplib-telnet.o tools/trafgen.o trace/traffictrace.o tools/pareto.o tools/expoo.o tools/cbr_traffic.o adc/tbf.o adc/resv.o adc/sa.o tcp/saack.o tools/measuremod.o adc/estimator.o adc/adc.o adc/ms-adc.o adc/timewindow-est.o adc/acto-adc.o adc/pointsample-est.o adc/salink.o adc/actp-adc.o adc/hb-adc.o adc/expavg-est.o adc/param-adc.o adc/null-estimator.o adc/adaptive-receiver.o apps/vatrcvr.o adc/consrcvr.o common/agent.o common/message.o apps/udp.o common/session-rtp.o apps/rtp.o tcp/rtcp.o common/ivs.o common/messpass.o common/tp.o common/tpm.o apps/worm.o tcp/tcp.o tcp/tcp-sink.o tcp/tcp-reno.o tcp/tcp-newreno.o tcp/tcp-vegas.o tcp/tcp-rbp.o tcp/tcp-full.o tcp/rq.o baytcp/tcp-full-bay.o baytcp/ftpc.o baytcp/ftps.o tcp/scoreboard.o tcp/scoreboard-rq.o tcp/tcp-sack1.o tcp/tcp-fack.o tcp/scoreboard1.o tcp/tcp-linux.o tcp/linux/ns-linux-util.o tcp/tcp-asym.o tcp/tcp-asym-sink.o tcp/tcp-fs.o tcp/tcp-asym-fs.o tcp/tcp-int.o tcp/chost.o tcp/tcp-session.o tcp/nilist.o sctp/sctp.o apps/sctp_app1.o sctp/sctp-timestamp.o sctp/sctp-hbAfterRto.o sctp/sctp-multipleFastRtx.o sctp/sctp-mfrHbAfterRto.o sctp/sctp-mfrTimestamp.o sctp/sctp-cmt.o sctp/sctpDebug.o dccp/dccp_sb.o dccp/dccp_opt.o dccp/dccp_ackv.o dccp/dccp_packets.o dccp/dccp.o dccp/dccp_tcplike.o dccp/dccp_tfrc.o tools/integrator.o tools/queue-monitor.o tools/flowmon.o tools/loss-monitor.o queue/queue.o queue/drop-tail.o adc/simple-intserv-sched.o queue/red.o queue/semantic-packetqueue.o queue/semantic-red.o tcp/ack-recons.o queue/sfq.o queue/fq.o queue/drr.o queue/srr.o queue/cbq.o queue/jobs.o queue/marker.o queue/demarker.o link/hackloss.o queue/errmodel.o queue/fec.o link/delay.o tcp/snoop.o gaf/gaf.o link/dynalink.o routing/rtProtoDV.o common/net-interface.o mcast/ctrMcast.o mcast/mcast_ctrl.o mcast/srm.o common/sessionhelper.o queue/delaymodel.o mcast/srm-ssm.o mcast/srm-topo.o routing/alloc-address.o routing/address.o lib/int.Vec.o lib/int.RVec.o lib/dmalloc_support.o webcache/http.o webcache/tcp-simple.o webcache/pagepool.o webcache/inval-agent.o webcache/tcpapp.o webcache/http-aux.o webcache/mcache.o webcache/webtraf.o webcache/webserver.o webcache/logweb.o empweb/empweb.o empweb/empftp.o realaudio/realaudio.o mac/lanRouter.o classifier/filter.o common/pkt-counter.o common/Decapsulator.o common/Encapsulator.o common/encap.o mac/channel.o mac/mac.o mac/ll.o mac/mac-802_11.o mac/mac-802_11Ext.o mac/mac-802_3.o mac/mac-tdma.o mac/smac.o mobile/mip.o mobile/mip-reg.o mobile/gridkeeper.o mobile/propagation.o mobile/tworayground.o mobile/nakagami.o mobile/antenna.o mobile/omni-antenna.o mobile/shadowing.o mobile/shadowing-vis.o mobile/dumb-agent.o common/bi-connector.o common/node.o common/mobilenode.o mac/arp.o mobile/god.o mobile/dem.o mobile/topography.o mobile/modulation.o queue/priqueue.o queue/dsr-priqueue.o mac/phy.o mac/wired-phy.o mac/wireless-phy.o mac/wireless-phyExt.o mac/mac-timers.o trace/cmu-trace.o mac/varp.o mac/mac-simple.o satellite/sat-hdlc.o dsdv/dsdv.o dsdv/rtable.o queue/rtqueue.o routing/rttable.o imep/imep.o imep/dest_queue.o imep/imep_api.o imep/imep_rt.o imep/rxmit_queue.o imep/imep_timers.o imep/imep_util.o imep/imep_io.o tora/tora.o tora/tora_api.o tora/tora_dest.o tora/tora_io.o tora/tora_logs.o tora/tora_neighbor.o dsr/dsragent.o dsr/hdr_sr.o dsr/mobicache.o dsr/path.o dsr/requesttable.o dsr/routecache.o dsr/add_sr.o dsr/dsr_proto.o dsr/flowstruct.o dsr/linkcache.o dsr/simplecache.o dsr/sr_forwarder.o aodv/aodv_logs.o aodv/aodv.o aodv/aodv_rtable.o aodv/aodv_rqueue.o aomdv/aomdv_logs.o aomdv/aomdv.o aomdv/aomdv_rtable.o aomdv/aomdv_rqueue.o puma/puma.o mdart/mdart_adp.o mdart/mdart_dht.o mdart/mdart_ndp.o mdart/mdart_neighbor.o mdart/mdart_queue.o mdart/mdart_table.o mdart/mdart.o common/ns-process.o satellite/satgeometry.o satellite/sathandoff.o satellite/satlink.o satellite/satnode.o satellite/satposition.o satellite/satroute.o satellite/sattrace.o rap/raplist.o rap/rap.o rap/media-app.o rap/utilities.o common/fsm.o tcp/tcp-abs.o diffusion/diffusion.o diffusion/diff_rate.o diffusion/diff_prob.o diffusion/diff_sink.o diffusion/flooding.o diffusion/omni_mcast.o diffusion/hash_table.o diffusion/routing_table.o diffusion/iflist.o tcp/tfrc.o tcp/tfrc-sink.o mobile/energy-model.o apps/ping.o tcp/tcp-rfc793edu.o queue/rio.o queue/semantic-rio.o tcp/tcp-sack-rh.o tcp/scoreboard-rh.o plm/loss-monitor-plm.o plm/cbr-traffic-PP.o linkstate/hdr-ls.o mpls/classifier-addr-mpls.o mpls/ldp.o mpls/mpls-module.o routing/rtmodule.o classifier/classifier-hier.o routing/addr-params.o nix/hdr_nv.o nix/classifier-nix.o nix/nixnode.o routealgo/rnode.o routealgo/bfs.o routealgo/rbitmap.o routealgo/rlookup.o routealgo/routealgo.o nix/nixvec.o nix/nixroute.o diffserv/dsred.o diffserv/dsredq.o diffserv/dsEdge.o diffserv/dsCore.o diffserv/dsPolicy.o diffserv/ew.o diffserv/dewp.o queue/red-pd.o queue/pi.o queue/vq.o queue/rem.o queue/gk.o pushback/rate-limit.o pushback/rate-limit-strategy.o pushback/ident-tree.o pushback/agg-spec.o pushback/logging-data-struct.o pushback/rate-estimator.o pushback/pushback-queue.o pushback/pushback.o common/parentnode.o trace/basetrace.o common/simulator.o asim/asim.o common/scheduler-map.o common/splay-scheduler.o linkstate/ls.o linkstate/rtProtoLS.o pgm/classifier-pgm.o pgm/pgm-agent.o pgm/pgm-sender.o pgm/pgm-receiver.o mcast/rcvbuf.o mcast/classifier-lms.o mcast/lms-agent.o mcast/lms-receiver.o mcast/lms-sender.o queue/delayer.o xcp/xcpq.o xcp/xcp.o xcp/xcp-end-sys.o wpan/p802_15_4csmaca.o wpan/p802_15_4fail.o wpan/p802_15_4hlist.o wpan/p802_15_4mac.o wpan/p802_15_4nam.o wpan/p802_15_4phy.o wpan/p802_15_4sscs.o wpan/p802_15_4timer.o wpan/p802_15_4trace.o wpan/p802_15_4transac.o apps/pbc.o diffusion3/lib/nr/nr.o diffusion3/lib/dr.o diffusion3/filters/diffusion/one_phase_pull.o diffusion3/filters/diffusion/two_phase_pull.o diffusion3/lib/diffapp.o diffusion3/ns/diffagent.o diffusion3/ns/diffrtg.o diffusion3/ns/difftimer.o diffusion3/filter_core/filter_core.o diffusion3/filter_core/iolog.o diffusion3/filter_core/iostats.o diffusion3/lib/main/attrs.o diffusion3/lib/main/events.o diffusion3/lib/main/iodev.o diffusion3/lib/main/iohook.o diffusion3/lib/main/timers.o diffusion3/lib/main/message.o diffusion3/lib/main/tools.o diffusion3/apps/gear_examples/gear_common.o diffusion3/apps/gear_examples/gear_receiver.o diffusion3/apps/gear_examples/gear_sender.o diffusion3/apps/rmst_examples/rmst_sink.o diffusion3/apps/rmst_examples/rmst_source.o diffusion3/apps/ping/1pp_ping_sender.o diffusion3/apps/ping/1pp_ping_receiver.o diffusion3/apps/ping/2pp_ping_sender.o diffusion3/apps/ping/2pp_ping_receiver.o diffusion3/apps/ping/ping_common.o diffusion3/apps/ping/push_receiver.o diffusion3/apps/ping/push_sender.o diffusion3/filters/gear/gear_attr.o diffusion3/filters/gear/gear.o diffusion3/filters/gear/gear_tools.o diffusion3/filters/misc/log.o diffusion3/filters/misc/srcrt.o diffusion3/filters/misc/tag.o diffusion3/filters/rmst/rmst.o diffusion3/filters/rmst/rmst_filter.o delaybox/delaybox.o packmime/packmime_HTTP.o packmime/packmime_HTTP_rng.o packmime/packmime_OL.o packmime/packmime_OL_ranvar.o packmime/packmime_ranvar.o tmix/tmix.o tmix/tmixAgent.o tmix/tmix_delaybox.o gen/version.o gen/ns_tcl.o gen/ptypes.o common/win32.o common/tclAppInit.o common/main-monolithic.o -L/usr/lib/arm-linux-gnueabihf -ltclcl -L/usr/lib/arm-linux-gnueabihf -lotcl -L/usr/lib/arm-linux-gnueabihf -ltk8.6 -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -L/usr/lib/arm-linux-gnueabihf -lXext -lX11 -lpcap -ldl -lm -lm +../../../tools/rng.cc: In constructor 'RNG::RNG(const char*)': +../../../tools/rng.cc:856:26: warning: array subscript 100 is above array bounds of 'char [100]' [-Warray-bounds=] + 856 | name_[100] = 0; + | ~~~~~~~~~^ +In file included from ../../../tools/rng.cc:71: +../../../tools/rng.h:333:14: note: while referencing 'RNG::name_' + 333 | char name_[100]; + | ^~~~~ +g++ -Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -o nse tcp/linux/tcp_naivereno.o tcp/linux/src/tcp_cong.o tcp/linux/src/tcp_highspeed.o tcp/linux/src/tcp_bic.o tcp/linux/src/tcp_htcp.o tcp/linux/src/tcp_scalable.o tcp/linux/src/tcp_cubic.o tcp/linux/src/tcp_westwood.o tcp/linux/src/tcp_vegas.o tcp/linux/src/tcp_hybla.o tcp/linux/src/tcp_illinois.o tcp/linux/src/tcp_yeah.o tcp/linux/src/tcp_veno.o tcp/linux/src/tcp_compound.o tcp/linux/src/tcp_lp.o tcp/linux/ns-linux-c.o tcp/linux/ns-linux-param.o tools/random.o tools/rng.o tools/ranvar.o common/misc.o common/timer-handler.o common/scheduler.o common/object.o common/packet.o common/ip.o routing/route.o common/connector.o common/ttl.o trace/trace.o trace/trace-ip.o classifier/classifier.o classifier/classifier-addr.o classifier/classifier-hash.o classifier/classifier-virtual.o classifier/classifier-mcast.o classifier/classifier-bst.o classifier/classifier-mpath.o mcast/replicator.o classifier/classifier-mac.o classifier/classifier-qs.o classifier/classifier-port.o src_rtg/classifier-sr.o src_rtg/sragent.o src_rtg/hdr_src.o adc/ump.o qs/qsagent.o qs/hdr_qs.o apps/app.o apps/telnet.o tcp/tcplib-telnet.o tools/trafgen.o trace/traffictrace.o tools/pareto.o tools/expoo.o tools/cbr_traffic.o adc/tbf.o adc/resv.o adc/sa.o tcp/saack.o tools/measuremod.o adc/estimator.o adc/adc.o adc/ms-adc.o adc/timewindow-est.o adc/acto-adc.o adc/pointsample-est.o adc/salink.o adc/actp-adc.o adc/hb-adc.o adc/expavg-est.o adc/param-adc.o adc/null-estimator.o adc/adaptive-receiver.o apps/vatrcvr.o adc/consrcvr.o common/agent.o common/message.o apps/udp.o common/session-rtp.o apps/rtp.o tcp/rtcp.o common/ivs.o common/messpass.o common/tp.o common/tpm.o apps/worm.o tcp/tcp.o tcp/tcp-sink.o tcp/tcp-reno.o tcp/tcp-newreno.o tcp/tcp-vegas.o tcp/tcp-rbp.o tcp/tcp-full.o tcp/rq.o baytcp/tcp-full-bay.o baytcp/ftpc.o baytcp/ftps.o tcp/scoreboard.o tcp/scoreboard-rq.o tcp/tcp-sack1.o tcp/tcp-fack.o tcp/scoreboard1.o tcp/tcp-linux.o tcp/linux/ns-linux-util.o tcp/tcp-asym.o tcp/tcp-asym-sink.o tcp/tcp-fs.o tcp/tcp-asym-fs.o tcp/tcp-int.o tcp/chost.o tcp/tcp-session.o tcp/nilist.o sctp/sctp.o apps/sctp_app1.o sctp/sctp-timestamp.o sctp/sctp-hbAfterRto.o sctp/sctp-multipleFastRtx.o sctp/sctp-mfrHbAfterRto.o sctp/sctp-mfrTimestamp.o sctp/sctp-cmt.o sctp/sctpDebug.o dccp/dccp_sb.o dccp/dccp_opt.o dccp/dccp_ackv.o dccp/dccp_packets.o dccp/dccp.o dccp/dccp_tcplike.o dccp/dccp_tfrc.o tools/integrator.o tools/queue-monitor.o tools/flowmon.o tools/loss-monitor.o queue/queue.o queue/drop-tail.o adc/simple-intserv-sched.o queue/red.o queue/semantic-packetqueue.o queue/semantic-red.o tcp/ack-recons.o queue/sfq.o queue/fq.o queue/drr.o queue/srr.o queue/cbq.o queue/jobs.o queue/marker.o queue/demarker.o link/hackloss.o queue/errmodel.o queue/fec.o link/delay.o tcp/snoop.o gaf/gaf.o link/dynalink.o routing/rtProtoDV.o common/net-interface.o mcast/ctrMcast.o mcast/mcast_ctrl.o mcast/srm.o common/sessionhelper.o queue/delaymodel.o mcast/srm-ssm.o mcast/srm-topo.o routing/alloc-address.o routing/address.o lib/int.Vec.o lib/int.RVec.o lib/dmalloc_support.o webcache/http.o webcache/tcp-simple.o webcache/pagepool.o webcache/inval-agent.o webcache/tcpapp.o webcache/http-aux.o webcache/mcache.o webcache/webtraf.o webcache/webserver.o webcache/logweb.o empweb/empweb.o empweb/empftp.o realaudio/realaudio.o mac/lanRouter.o classifier/filter.o common/pkt-counter.o common/Decapsulator.o common/Encapsulator.o common/encap.o mac/channel.o mac/mac.o mac/ll.o mac/mac-802_11.o mac/mac-802_11Ext.o mac/mac-802_3.o mac/mac-tdma.o mac/smac.o mobile/mip.o mobile/mip-reg.o mobile/gridkeeper.o mobile/propagation.o mobile/tworayground.o mobile/nakagami.o mobile/antenna.o mobile/omni-antenna.o mobile/shadowing.o mobile/shadowing-vis.o mobile/dumb-agent.o common/bi-connector.o common/node.o common/mobilenode.o mac/arp.o mobile/god.o mobile/dem.o mobile/topography.o mobile/modulation.o queue/priqueue.o queue/dsr-priqueue.o mac/phy.o mac/wired-phy.o mac/wireless-phy.o mac/wireless-phyExt.o mac/mac-timers.o trace/cmu-trace.o mac/varp.o mac/mac-simple.o satellite/sat-hdlc.o dsdv/dsdv.o dsdv/rtable.o queue/rtqueue.o routing/rttable.o imep/imep.o imep/dest_queue.o imep/imep_api.o imep/imep_rt.o imep/rxmit_queue.o imep/imep_timers.o imep/imep_util.o imep/imep_io.o tora/tora.o tora/tora_api.o tora/tora_dest.o tora/tora_io.o tora/tora_logs.o tora/tora_neighbor.o dsr/dsragent.o dsr/hdr_sr.o dsr/mobicache.o dsr/path.o dsr/requesttable.o dsr/routecache.o dsr/add_sr.o dsr/dsr_proto.o dsr/flowstruct.o dsr/linkcache.o dsr/simplecache.o dsr/sr_forwarder.o aodv/aodv_logs.o aodv/aodv.o aodv/aodv_rtable.o aodv/aodv_rqueue.o aomdv/aomdv_logs.o aomdv/aomdv.o aomdv/aomdv_rtable.o aomdv/aomdv_rqueue.o puma/puma.o mdart/mdart_adp.o mdart/mdart_dht.o mdart/mdart_ndp.o mdart/mdart_neighbor.o mdart/mdart_queue.o mdart/mdart_table.o mdart/mdart.o common/ns-process.o satellite/satgeometry.o satellite/sathandoff.o satellite/satlink.o satellite/satnode.o satellite/satposition.o satellite/satroute.o satellite/sattrace.o rap/raplist.o rap/rap.o rap/media-app.o rap/utilities.o common/fsm.o tcp/tcp-abs.o diffusion/diffusion.o diffusion/diff_rate.o diffusion/diff_prob.o diffusion/diff_sink.o diffusion/flooding.o diffusion/omni_mcast.o diffusion/hash_table.o diffusion/routing_table.o diffusion/iflist.o tcp/tfrc.o tcp/tfrc-sink.o mobile/energy-model.o apps/ping.o tcp/tcp-rfc793edu.o queue/rio.o queue/semantic-rio.o tcp/tcp-sack-rh.o tcp/scoreboard-rh.o plm/loss-monitor-plm.o plm/cbr-traffic-PP.o linkstate/hdr-ls.o mpls/classifier-addr-mpls.o mpls/ldp.o mpls/mpls-module.o routing/rtmodule.o classifier/classifier-hier.o routing/addr-params.o nix/hdr_nv.o nix/classifier-nix.o nix/nixnode.o routealgo/rnode.o routealgo/bfs.o routealgo/rbitmap.o routealgo/rlookup.o routealgo/routealgo.o nix/nixvec.o nix/nixroute.o diffserv/dsred.o diffserv/dsredq.o diffserv/dsEdge.o diffserv/dsCore.o diffserv/dsPolicy.o diffserv/ew.o diffserv/dewp.o queue/red-pd.o queue/pi.o queue/vq.o queue/rem.o queue/gk.o pushback/rate-limit.o pushback/rate-limit-strategy.o pushback/ident-tree.o pushback/agg-spec.o pushback/logging-data-struct.o pushback/rate-estimator.o pushback/pushback-queue.o pushback/pushback.o common/parentnode.o trace/basetrace.o common/simulator.o asim/asim.o common/scheduler-map.o common/splay-scheduler.o linkstate/ls.o linkstate/rtProtoLS.o pgm/classifier-pgm.o pgm/pgm-agent.o pgm/pgm-sender.o pgm/pgm-receiver.o mcast/rcvbuf.o mcast/classifier-lms.o mcast/lms-agent.o mcast/lms-receiver.o mcast/lms-sender.o queue/delayer.o xcp/xcpq.o xcp/xcp.o xcp/xcp-end-sys.o wpan/p802_15_4csmaca.o wpan/p802_15_4fail.o wpan/p802_15_4hlist.o wpan/p802_15_4mac.o wpan/p802_15_4nam.o wpan/p802_15_4phy.o wpan/p802_15_4sscs.o wpan/p802_15_4timer.o wpan/p802_15_4trace.o wpan/p802_15_4transac.o apps/pbc.o diffusion3/lib/nr/nr.o diffusion3/lib/dr.o diffusion3/filters/diffusion/one_phase_pull.o diffusion3/filters/diffusion/two_phase_pull.o diffusion3/lib/diffapp.o diffusion3/ns/diffagent.o diffusion3/ns/diffrtg.o diffusion3/ns/difftimer.o diffusion3/filter_core/filter_core.o diffusion3/filter_core/iolog.o diffusion3/filter_core/iostats.o diffusion3/lib/main/attrs.o diffusion3/lib/main/events.o diffusion3/lib/main/iodev.o diffusion3/lib/main/iohook.o diffusion3/lib/main/timers.o diffusion3/lib/main/message.o diffusion3/lib/main/tools.o diffusion3/apps/gear_examples/gear_common.o diffusion3/apps/gear_examples/gear_receiver.o diffusion3/apps/gear_examples/gear_sender.o diffusion3/apps/rmst_examples/rmst_sink.o diffusion3/apps/rmst_examples/rmst_source.o diffusion3/apps/ping/1pp_ping_sender.o diffusion3/apps/ping/1pp_ping_receiver.o diffusion3/apps/ping/2pp_ping_sender.o diffusion3/apps/ping/2pp_ping_receiver.o diffusion3/apps/ping/ping_common.o diffusion3/apps/ping/push_receiver.o diffusion3/apps/ping/push_sender.o diffusion3/filters/gear/gear_attr.o diffusion3/filters/gear/gear.o diffusion3/filters/gear/gear_tools.o diffusion3/filters/misc/log.o diffusion3/filters/misc/srcrt.o diffusion3/filters/misc/tag.o diffusion3/filters/rmst/rmst.o diffusion3/filters/rmst/rmst_filter.o delaybox/delaybox.o packmime/packmime_HTTP.o packmime/packmime_HTTP_rng.o packmime/packmime_OL.o packmime/packmime_OL_ranvar.o packmime/packmime_ranvar.o tmix/tmix.o tmix/tmixAgent.o tmix/tmix_delaybox.o gen/version.o gen/ns_tcl.o gen/ptypes.o common/win32.o common/tclAppInit.o common/main-monolithic.o emulate/net-ip.o emulate/net.o emulate/tap.o emulate/ether.o emulate/internet.o emulate/ping_responder.o emulate/arp.o emulate/icmp.o emulate/net-pcap.o emulate/nat.o emulate/iptap.o emulate/tcptap.o emulate/inet.o -L/usr/lib/arm-linux-gnueabihf -ltclcl -L/usr/lib/arm-linux-gnueabihf -lotcl -L/usr/lib/arm-linux-gnueabihf -ltk8.6 -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -L/usr/lib/arm-linux-gnueabihf -lXext -lX11 -lpcap -ldl -lm -lm calcdest.cc: In function 'void OpenAndReadHeader(char*, char*)': calcdest.cc:163:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 163 | fgets(buf, sizeof(buf), in_file); @@ -20944,12 +20982,11 @@ calcdest.cc:185:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 185 | fgets(buf, sizeof(buf), in_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -o ns tcp/linux/tcp_naivereno.o tcp/linux/src/tcp_cong.o tcp/linux/src/tcp_highspeed.o tcp/linux/src/tcp_bic.o tcp/linux/src/tcp_htcp.o tcp/linux/src/tcp_scalable.o tcp/linux/src/tcp_cubic.o tcp/linux/src/tcp_westwood.o tcp/linux/src/tcp_vegas.o tcp/linux/src/tcp_hybla.o tcp/linux/src/tcp_illinois.o tcp/linux/src/tcp_yeah.o tcp/linux/src/tcp_veno.o tcp/linux/src/tcp_compound.o tcp/linux/src/tcp_lp.o tcp/linux/ns-linux-c.o tcp/linux/ns-linux-param.o tools/random.o tools/rng.o tools/ranvar.o common/misc.o common/timer-handler.o common/scheduler.o common/object.o common/packet.o common/ip.o routing/route.o common/connector.o common/ttl.o trace/trace.o trace/trace-ip.o classifier/classifier.o classifier/classifier-addr.o classifier/classifier-hash.o classifier/classifier-virtual.o classifier/classifier-mcast.o classifier/classifier-bst.o classifier/classifier-mpath.o mcast/replicator.o classifier/classifier-mac.o classifier/classifier-qs.o classifier/classifier-port.o src_rtg/classifier-sr.o src_rtg/sragent.o src_rtg/hdr_src.o adc/ump.o qs/qsagent.o qs/hdr_qs.o apps/app.o apps/telnet.o tcp/tcplib-telnet.o tools/trafgen.o trace/traffictrace.o tools/pareto.o tools/expoo.o tools/cbr_traffic.o adc/tbf.o adc/resv.o adc/sa.o tcp/saack.o tools/measuremod.o adc/estimator.o adc/adc.o adc/ms-adc.o adc/timewindow-est.o adc/acto-adc.o adc/pointsample-est.o adc/salink.o adc/actp-adc.o adc/hb-adc.o adc/expavg-est.o adc/param-adc.o adc/null-estimator.o adc/adaptive-receiver.o apps/vatrcvr.o adc/consrcvr.o common/agent.o common/message.o apps/udp.o common/session-rtp.o apps/rtp.o tcp/rtcp.o common/ivs.o common/messpass.o common/tp.o common/tpm.o apps/worm.o tcp/tcp.o tcp/tcp-sink.o tcp/tcp-reno.o tcp/tcp-newreno.o tcp/tcp-vegas.o tcp/tcp-rbp.o tcp/tcp-full.o tcp/rq.o baytcp/tcp-full-bay.o baytcp/ftpc.o baytcp/ftps.o tcp/scoreboard.o tcp/scoreboard-rq.o tcp/tcp-sack1.o tcp/tcp-fack.o tcp/scoreboard1.o tcp/tcp-linux.o tcp/linux/ns-linux-util.o tcp/tcp-asym.o tcp/tcp-asym-sink.o tcp/tcp-fs.o tcp/tcp-asym-fs.o tcp/tcp-int.o tcp/chost.o tcp/tcp-session.o tcp/nilist.o sctp/sctp.o apps/sctp_app1.o sctp/sctp-timestamp.o sctp/sctp-hbAfterRto.o sctp/sctp-multipleFastRtx.o sctp/sctp-mfrHbAfterRto.o sctp/sctp-mfrTimestamp.o sctp/sctp-cmt.o sctp/sctpDebug.o dccp/dccp_sb.o dccp/dccp_opt.o dccp/dccp_ackv.o dccp/dccp_packets.o dccp/dccp.o dccp/dccp_tcplike.o dccp/dccp_tfrc.o tools/integrator.o tools/queue-monitor.o tools/flowmon.o tools/loss-monitor.o queue/queue.o queue/drop-tail.o adc/simple-intserv-sched.o queue/red.o queue/semantic-packetqueue.o queue/semantic-red.o tcp/ack-recons.o queue/sfq.o queue/fq.o queue/drr.o queue/srr.o queue/cbq.o queue/jobs.o queue/marker.o queue/demarker.o link/hackloss.o queue/errmodel.o queue/fec.o link/delay.o tcp/snoop.o gaf/gaf.o link/dynalink.o routing/rtProtoDV.o common/net-interface.o mcast/ctrMcast.o mcast/mcast_ctrl.o mcast/srm.o common/sessionhelper.o queue/delaymodel.o mcast/srm-ssm.o mcast/srm-topo.o routing/alloc-address.o routing/address.o lib/int.Vec.o lib/int.RVec.o lib/dmalloc_support.o webcache/http.o webcache/tcp-simple.o webcache/pagepool.o webcache/inval-agent.o webcache/tcpapp.o webcache/http-aux.o webcache/mcache.o webcache/webtraf.o webcache/webserver.o webcache/logweb.o empweb/empweb.o empweb/empftp.o realaudio/realaudio.o mac/lanRouter.o classifier/filter.o common/pkt-counter.o common/Decapsulator.o common/Encapsulator.o common/encap.o mac/channel.o mac/mac.o mac/ll.o mac/mac-802_11.o mac/mac-802_11Ext.o mac/mac-802_3.o mac/mac-tdma.o mac/smac.o mobile/mip.o mobile/mip-reg.o mobile/gridkeeper.o mobile/propagation.o mobile/tworayground.o mobile/nakagami.o mobile/antenna.o mobile/omni-antenna.o mobile/shadowing.o mobile/shadowing-vis.o mobile/dumb-agent.o common/bi-connector.o common/node.o common/mobilenode.o mac/arp.o mobile/god.o mobile/dem.o mobile/topography.o mobile/modulation.o queue/priqueue.o queue/dsr-priqueue.o mac/phy.o mac/wired-phy.o mac/wireless-phy.o mac/wireless-phyExt.o mac/mac-timers.o trace/cmu-trace.o mac/varp.o mac/mac-simple.o satellite/sat-hdlc.o dsdv/dsdv.o dsdv/rtable.o queue/rtqueue.o routing/rttable.o imep/imep.o imep/dest_queue.o imep/imep_api.o imep/imep_rt.o imep/rxmit_queue.o imep/imep_timers.o imep/imep_util.o imep/imep_io.o tora/tora.o tora/tora_api.o tora/tora_dest.o tora/tora_io.o tora/tora_logs.o tora/tora_neighbor.o dsr/dsragent.o dsr/hdr_sr.o dsr/mobicache.o dsr/path.o dsr/requesttable.o dsr/routecache.o dsr/add_sr.o dsr/dsr_proto.o dsr/flowstruct.o dsr/linkcache.o dsr/simplecache.o dsr/sr_forwarder.o aodv/aodv_logs.o aodv/aodv.o aodv/aodv_rtable.o aodv/aodv_rqueue.o aomdv/aomdv_logs.o aomdv/aomdv.o aomdv/aomdv_rtable.o aomdv/aomdv_rqueue.o puma/puma.o mdart/mdart_adp.o mdart/mdart_dht.o mdart/mdart_ndp.o mdart/mdart_neighbor.o mdart/mdart_queue.o mdart/mdart_table.o mdart/mdart.o common/ns-process.o satellite/satgeometry.o satellite/sathandoff.o satellite/satlink.o satellite/satnode.o satellite/satposition.o satellite/satroute.o satellite/sattrace.o rap/raplist.o rap/rap.o rap/media-app.o rap/utilities.o common/fsm.o tcp/tcp-abs.o diffusion/diffusion.o diffusion/diff_rate.o diffusion/diff_prob.o diffusion/diff_sink.o diffusion/flooding.o diffusion/omni_mcast.o diffusion/hash_table.o diffusion/routing_table.o diffusion/iflist.o tcp/tfrc.o tcp/tfrc-sink.o mobile/energy-model.o apps/ping.o tcp/tcp-rfc793edu.o queue/rio.o queue/semantic-rio.o tcp/tcp-sack-rh.o tcp/scoreboard-rh.o plm/loss-monitor-plm.o plm/cbr-traffic-PP.o linkstate/hdr-ls.o mpls/classifier-addr-mpls.o mpls/ldp.o mpls/mpls-module.o routing/rtmodule.o classifier/classifier-hier.o routing/addr-params.o nix/hdr_nv.o nix/classifier-nix.o nix/nixnode.o routealgo/rnode.o routealgo/bfs.o routealgo/rbitmap.o routealgo/rlookup.o routealgo/routealgo.o nix/nixvec.o nix/nixroute.o diffserv/dsred.o diffserv/dsredq.o diffserv/dsEdge.o diffserv/dsCore.o diffserv/dsPolicy.o diffserv/ew.o diffserv/dewp.o queue/red-pd.o queue/pi.o queue/vq.o queue/rem.o queue/gk.o pushback/rate-limit.o pushback/rate-limit-strategy.o pushback/ident-tree.o pushback/agg-spec.o pushback/logging-data-struct.o pushback/rate-estimator.o pushback/pushback-queue.o pushback/pushback.o common/parentnode.o trace/basetrace.o common/simulator.o asim/asim.o common/scheduler-map.o common/splay-scheduler.o linkstate/ls.o linkstate/rtProtoLS.o pgm/classifier-pgm.o pgm/pgm-agent.o pgm/pgm-sender.o pgm/pgm-receiver.o mcast/rcvbuf.o mcast/classifier-lms.o mcast/lms-agent.o mcast/lms-receiver.o mcast/lms-sender.o queue/delayer.o xcp/xcpq.o xcp/xcp.o xcp/xcp-end-sys.o wpan/p802_15_4csmaca.o wpan/p802_15_4fail.o wpan/p802_15_4hlist.o wpan/p802_15_4mac.o wpan/p802_15_4nam.o wpan/p802_15_4phy.o wpan/p802_15_4sscs.o wpan/p802_15_4timer.o wpan/p802_15_4trace.o wpan/p802_15_4transac.o apps/pbc.o diffusion3/lib/nr/nr.o diffusion3/lib/dr.o diffusion3/filters/diffusion/one_phase_pull.o diffusion3/filters/diffusion/two_phase_pull.o diffusion3/lib/diffapp.o diffusion3/ns/diffagent.o diffusion3/ns/diffrtg.o diffusion3/ns/difftimer.o diffusion3/filter_core/filter_core.o diffusion3/filter_core/iolog.o diffusion3/filter_core/iostats.o diffusion3/lib/main/attrs.o diffusion3/lib/main/events.o diffusion3/lib/main/iodev.o diffusion3/lib/main/iohook.o diffusion3/lib/main/timers.o diffusion3/lib/main/message.o diffusion3/lib/main/tools.o diffusion3/apps/gear_examples/gear_common.o diffusion3/apps/gear_examples/gear_receiver.o diffusion3/apps/gear_examples/gear_sender.o diffusion3/apps/rmst_examples/rmst_sink.o diffusion3/apps/rmst_examples/rmst_source.o diffusion3/apps/ping/1pp_ping_sender.o diffusion3/apps/ping/1pp_ping_receiver.o diffusion3/apps/ping/2pp_ping_sender.o diffusion3/apps/ping/2pp_ping_receiver.o diffusion3/apps/ping/ping_common.o diffusion3/apps/ping/push_receiver.o diffusion3/apps/ping/push_sender.o diffusion3/filters/gear/gear_attr.o diffusion3/filters/gear/gear.o diffusion3/filters/gear/gear_tools.o diffusion3/filters/misc/log.o diffusion3/filters/misc/srcrt.o diffusion3/filters/misc/tag.o diffusion3/filters/rmst/rmst.o diffusion3/filters/rmst/rmst_filter.o delaybox/delaybox.o packmime/packmime_HTTP.o packmime/packmime_HTTP_rng.o packmime/packmime_OL.o packmime/packmime_OL_ranvar.o packmime/packmime_ranvar.o tmix/tmix.o tmix/tmixAgent.o tmix/tmix_delaybox.o gen/version.o gen/ns_tcl.o gen/ptypes.o common/win32.o common/tclAppInit.o common/main-monolithic.o -L/usr/lib/arm-linux-gnueabihf -ltclcl -L/usr/lib/arm-linux-gnueabihf -lotcl -L/usr/lib/arm-linux-gnueabihf -ltk8.6 -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -L/usr/lib/arm-linux-gnueabihf -lXext -lX11 -lpcap -ldl -lm -lm g++ -o setdest setdest.o rng.o -Dstand_alone -DSTL_NAMESPACE=@STL_NAMESPACE@ -DCPP_NAMESPACE=std -Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT \ -lpcap -ldl -lm -lm -g++ -Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -o nse tcp/linux/tcp_naivereno.o tcp/linux/src/tcp_cong.o tcp/linux/src/tcp_highspeed.o tcp/linux/src/tcp_bic.o tcp/linux/src/tcp_htcp.o tcp/linux/src/tcp_scalable.o tcp/linux/src/tcp_cubic.o tcp/linux/src/tcp_westwood.o tcp/linux/src/tcp_vegas.o tcp/linux/src/tcp_hybla.o tcp/linux/src/tcp_illinois.o tcp/linux/src/tcp_yeah.o tcp/linux/src/tcp_veno.o tcp/linux/src/tcp_compound.o tcp/linux/src/tcp_lp.o tcp/linux/ns-linux-c.o tcp/linux/ns-linux-param.o tools/random.o tools/rng.o tools/ranvar.o common/misc.o common/timer-handler.o common/scheduler.o common/object.o common/packet.o common/ip.o routing/route.o common/connector.o common/ttl.o trace/trace.o trace/trace-ip.o classifier/classifier.o classifier/classifier-addr.o classifier/classifier-hash.o classifier/classifier-virtual.o classifier/classifier-mcast.o classifier/classifier-bst.o classifier/classifier-mpath.o mcast/replicator.o classifier/classifier-mac.o classifier/classifier-qs.o classifier/classifier-port.o src_rtg/classifier-sr.o src_rtg/sragent.o src_rtg/hdr_src.o adc/ump.o qs/qsagent.o qs/hdr_qs.o apps/app.o apps/telnet.o tcp/tcplib-telnet.o tools/trafgen.o trace/traffictrace.o tools/pareto.o tools/expoo.o tools/cbr_traffic.o adc/tbf.o adc/resv.o adc/sa.o tcp/saack.o tools/measuremod.o adc/estimator.o adc/adc.o adc/ms-adc.o adc/timewindow-est.o adc/acto-adc.o adc/pointsample-est.o adc/salink.o adc/actp-adc.o adc/hb-adc.o adc/expavg-est.o adc/param-adc.o adc/null-estimator.o adc/adaptive-receiver.o apps/vatrcvr.o adc/consrcvr.o common/agent.o common/message.o apps/udp.o common/session-rtp.o apps/rtp.o tcp/rtcp.o common/ivs.o common/messpass.o common/tp.o common/tpm.o apps/worm.o tcp/tcp.o tcp/tcp-sink.o tcp/tcp-reno.o tcp/tcp-newreno.o tcp/tcp-vegas.o tcp/tcp-rbp.o tcp/tcp-full.o tcp/rq.o baytcp/tcp-full-bay.o baytcp/ftpc.o baytcp/ftps.o tcp/scoreboard.o tcp/scoreboard-rq.o tcp/tcp-sack1.o tcp/tcp-fack.o tcp/scoreboard1.o tcp/tcp-linux.o tcp/linux/ns-linux-util.o tcp/tcp-asym.o tcp/tcp-asym-sink.o tcp/tcp-fs.o tcp/tcp-asym-fs.o tcp/tcp-int.o tcp/chost.o tcp/tcp-session.o tcp/nilist.o sctp/sctp.o apps/sctp_app1.o sctp/sctp-timestamp.o sctp/sctp-hbAfterRto.o sctp/sctp-multipleFastRtx.o sctp/sctp-mfrHbAfterRto.o sctp/sctp-mfrTimestamp.o sctp/sctp-cmt.o sctp/sctpDebug.o dccp/dccp_sb.o dccp/dccp_opt.o dccp/dccp_ackv.o dccp/dccp_packets.o dccp/dccp.o dccp/dccp_tcplike.o dccp/dccp_tfrc.o tools/integrator.o tools/queue-monitor.o tools/flowmon.o tools/loss-monitor.o queue/queue.o queue/drop-tail.o adc/simple-intserv-sched.o queue/red.o queue/semantic-packetqueue.o queue/semantic-red.o tcp/ack-recons.o queue/sfq.o queue/fq.o queue/drr.o queue/srr.o queue/cbq.o queue/jobs.o queue/marker.o queue/demarker.o link/hackloss.o queue/errmodel.o queue/fec.o link/delay.o tcp/snoop.o gaf/gaf.o link/dynalink.o routing/rtProtoDV.o common/net-interface.o mcast/ctrMcast.o mcast/mcast_ctrl.o mcast/srm.o common/sessionhelper.o queue/delaymodel.o mcast/srm-ssm.o mcast/srm-topo.o routing/alloc-address.o routing/address.o lib/int.Vec.o lib/int.RVec.o lib/dmalloc_support.o webcache/http.o webcache/tcp-simple.o webcache/pagepool.o webcache/inval-agent.o webcache/tcpapp.o webcache/http-aux.o webcache/mcache.o webcache/webtraf.o webcache/webserver.o webcache/logweb.o empweb/empweb.o empweb/empftp.o realaudio/realaudio.o mac/lanRouter.o classifier/filter.o common/pkt-counter.o common/Decapsulator.o common/Encapsulator.o common/encap.o mac/channel.o mac/mac.o mac/ll.o mac/mac-802_11.o mac/mac-802_11Ext.o mac/mac-802_3.o mac/mac-tdma.o mac/smac.o mobile/mip.o mobile/mip-reg.o mobile/gridkeeper.o mobile/propagation.o mobile/tworayground.o mobile/nakagami.o mobile/antenna.o mobile/omni-antenna.o mobile/shadowing.o mobile/shadowing-vis.o mobile/dumb-agent.o common/bi-connector.o common/node.o common/mobilenode.o mac/arp.o mobile/god.o mobile/dem.o mobile/topography.o mobile/modulation.o queue/priqueue.o queue/dsr-priqueue.o mac/phy.o mac/wired-phy.o mac/wireless-phy.o mac/wireless-phyExt.o mac/mac-timers.o trace/cmu-trace.o mac/varp.o mac/mac-simple.o satellite/sat-hdlc.o dsdv/dsdv.o dsdv/rtable.o queue/rtqueue.o routing/rttable.o imep/imep.o imep/dest_queue.o imep/imep_api.o imep/imep_rt.o imep/rxmit_queue.o imep/imep_timers.o imep/imep_util.o imep/imep_io.o tora/tora.o tora/tora_api.o tora/tora_dest.o tora/tora_io.o tora/tora_logs.o tora/tora_neighbor.o dsr/dsragent.o dsr/hdr_sr.o dsr/mobicache.o dsr/path.o dsr/requesttable.o dsr/routecache.o dsr/add_sr.o dsr/dsr_proto.o dsr/flowstruct.o dsr/linkcache.o dsr/simplecache.o dsr/sr_forwarder.o aodv/aodv_logs.o aodv/aodv.o aodv/aodv_rtable.o aodv/aodv_rqueue.o aomdv/aomdv_logs.o aomdv/aomdv.o aomdv/aomdv_rtable.o aomdv/aomdv_rqueue.o puma/puma.o mdart/mdart_adp.o mdart/mdart_dht.o mdart/mdart_ndp.o mdart/mdart_neighbor.o mdart/mdart_queue.o mdart/mdart_table.o mdart/mdart.o common/ns-process.o satellite/satgeometry.o satellite/sathandoff.o satellite/satlink.o satellite/satnode.o satellite/satposition.o satellite/satroute.o satellite/sattrace.o rap/raplist.o rap/rap.o rap/media-app.o rap/utilities.o common/fsm.o tcp/tcp-abs.o diffusion/diffusion.o diffusion/diff_rate.o diffusion/diff_prob.o diffusion/diff_sink.o diffusion/flooding.o diffusion/omni_mcast.o diffusion/hash_table.o diffusion/routing_table.o diffusion/iflist.o tcp/tfrc.o tcp/tfrc-sink.o mobile/energy-model.o apps/ping.o tcp/tcp-rfc793edu.o queue/rio.o queue/semantic-rio.o tcp/tcp-sack-rh.o tcp/scoreboard-rh.o plm/loss-monitor-plm.o plm/cbr-traffic-PP.o linkstate/hdr-ls.o mpls/classifier-addr-mpls.o mpls/ldp.o mpls/mpls-module.o routing/rtmodule.o classifier/classifier-hier.o routing/addr-params.o nix/hdr_nv.o nix/classifier-nix.o nix/nixnode.o routealgo/rnode.o routealgo/bfs.o routealgo/rbitmap.o routealgo/rlookup.o routealgo/routealgo.o nix/nixvec.o nix/nixroute.o diffserv/dsred.o diffserv/dsredq.o diffserv/dsEdge.o diffserv/dsCore.o diffserv/dsPolicy.o diffserv/ew.o diffserv/dewp.o queue/red-pd.o queue/pi.o queue/vq.o queue/rem.o queue/gk.o pushback/rate-limit.o pushback/rate-limit-strategy.o pushback/ident-tree.o pushback/agg-spec.o pushback/logging-data-struct.o pushback/rate-estimator.o pushback/pushback-queue.o pushback/pushback.o common/parentnode.o trace/basetrace.o common/simulator.o asim/asim.o common/scheduler-map.o common/splay-scheduler.o linkstate/ls.o linkstate/rtProtoLS.o pgm/classifier-pgm.o pgm/pgm-agent.o pgm/pgm-sender.o pgm/pgm-receiver.o mcast/rcvbuf.o mcast/classifier-lms.o mcast/lms-agent.o mcast/lms-receiver.o mcast/lms-sender.o queue/delayer.o xcp/xcpq.o xcp/xcp.o xcp/xcp-end-sys.o wpan/p802_15_4csmaca.o wpan/p802_15_4fail.o wpan/p802_15_4hlist.o wpan/p802_15_4mac.o wpan/p802_15_4nam.o wpan/p802_15_4phy.o wpan/p802_15_4sscs.o wpan/p802_15_4timer.o wpan/p802_15_4trace.o wpan/p802_15_4transac.o apps/pbc.o diffusion3/lib/nr/nr.o diffusion3/lib/dr.o diffusion3/filters/diffusion/one_phase_pull.o diffusion3/filters/diffusion/two_phase_pull.o diffusion3/lib/diffapp.o diffusion3/ns/diffagent.o diffusion3/ns/diffrtg.o diffusion3/ns/difftimer.o diffusion3/filter_core/filter_core.o diffusion3/filter_core/iolog.o diffusion3/filter_core/iostats.o diffusion3/lib/main/attrs.o diffusion3/lib/main/events.o diffusion3/lib/main/iodev.o diffusion3/lib/main/iohook.o diffusion3/lib/main/timers.o diffusion3/lib/main/message.o diffusion3/lib/main/tools.o diffusion3/apps/gear_examples/gear_common.o diffusion3/apps/gear_examples/gear_receiver.o diffusion3/apps/gear_examples/gear_sender.o diffusion3/apps/rmst_examples/rmst_sink.o diffusion3/apps/rmst_examples/rmst_source.o diffusion3/apps/ping/1pp_ping_sender.o diffusion3/apps/ping/1pp_ping_receiver.o diffusion3/apps/ping/2pp_ping_sender.o diffusion3/apps/ping/2pp_ping_receiver.o diffusion3/apps/ping/ping_common.o diffusion3/apps/ping/push_receiver.o diffusion3/apps/ping/push_sender.o diffusion3/filters/gear/gear_attr.o diffusion3/filters/gear/gear.o diffusion3/filters/gear/gear_tools.o diffusion3/filters/misc/log.o diffusion3/filters/misc/srcrt.o diffusion3/filters/misc/tag.o diffusion3/filters/rmst/rmst.o diffusion3/filters/rmst/rmst_filter.o delaybox/delaybox.o packmime/packmime_HTTP.o packmime/packmime_HTTP_rng.o packmime/packmime_OL.o packmime/packmime_OL_ranvar.o packmime/packmime_ranvar.o tmix/tmix.o tmix/tmixAgent.o tmix/tmix_delaybox.o gen/version.o gen/ns_tcl.o gen/ptypes.o common/win32.o common/tclAppInit.o common/main-monolithic.o emulate/net-ip.o emulate/net.o emulate/tap.o emulate/ether.o emulate/internet.o emulate/ping_responder.o emulate/arp.o emulate/icmp.o emulate/net-pcap.o emulate/nat.o emulate/iptap.o emulate/tcptap.o emulate/inet.o -L/usr/lib/arm-linux-gnueabihf -ltclcl -L/usr/lib/arm-linux-gnueabihf -lotcl -L/usr/lib/arm-linux-gnueabihf -ltk8.6 -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -L/usr/lib/arm-linux-gnueabihf -lXext -lX11 -lpcap -ldl -lm -lm g++ -o calcdest calcdest.o rng.o -Dstand_alone -DSTL_NAMESPACE=@STL_NAMESPACE@ -DCPP_NAMESPACE=std -Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT \ -lpcap -ldl -lm -lm +g++ -Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -o nstk tcp/linux/tcp_naivereno.o tcp/linux/src/tcp_cong.o tcp/linux/src/tcp_highspeed.o tcp/linux/src/tcp_bic.o tcp/linux/src/tcp_htcp.o tcp/linux/src/tcp_scalable.o tcp/linux/src/tcp_cubic.o tcp/linux/src/tcp_westwood.o tcp/linux/src/tcp_vegas.o tcp/linux/src/tcp_hybla.o tcp/linux/src/tcp_illinois.o tcp/linux/src/tcp_yeah.o tcp/linux/src/tcp_veno.o tcp/linux/src/tcp_compound.o tcp/linux/src/tcp_lp.o tcp/linux/ns-linux-c.o tcp/linux/ns-linux-param.o tools/random.o tools/rng.o tools/ranvar.o common/misc.o common/timer-handler.o common/scheduler.o common/object.o common/packet.o common/ip.o routing/route.o common/connector.o common/ttl.o trace/trace.o trace/trace-ip.o classifier/classifier.o classifier/classifier-addr.o classifier/classifier-hash.o classifier/classifier-virtual.o classifier/classifier-mcast.o classifier/classifier-bst.o classifier/classifier-mpath.o mcast/replicator.o classifier/classifier-mac.o classifier/classifier-qs.o classifier/classifier-port.o src_rtg/classifier-sr.o src_rtg/sragent.o src_rtg/hdr_src.o adc/ump.o qs/qsagent.o qs/hdr_qs.o apps/app.o apps/telnet.o tcp/tcplib-telnet.o tools/trafgen.o trace/traffictrace.o tools/pareto.o tools/expoo.o tools/cbr_traffic.o adc/tbf.o adc/resv.o adc/sa.o tcp/saack.o tools/measuremod.o adc/estimator.o adc/adc.o adc/ms-adc.o adc/timewindow-est.o adc/acto-adc.o adc/pointsample-est.o adc/salink.o adc/actp-adc.o adc/hb-adc.o adc/expavg-est.o adc/param-adc.o adc/null-estimator.o adc/adaptive-receiver.o apps/vatrcvr.o adc/consrcvr.o common/agent.o common/message.o apps/udp.o common/session-rtp.o apps/rtp.o tcp/rtcp.o common/ivs.o common/messpass.o common/tp.o common/tpm.o apps/worm.o tcp/tcp.o tcp/tcp-sink.o tcp/tcp-reno.o tcp/tcp-newreno.o tcp/tcp-vegas.o tcp/tcp-rbp.o tcp/tcp-full.o tcp/rq.o baytcp/tcp-full-bay.o baytcp/ftpc.o baytcp/ftps.o tcp/scoreboard.o tcp/scoreboard-rq.o tcp/tcp-sack1.o tcp/tcp-fack.o tcp/scoreboard1.o tcp/tcp-linux.o tcp/linux/ns-linux-util.o tcp/tcp-asym.o tcp/tcp-asym-sink.o tcp/tcp-fs.o tcp/tcp-asym-fs.o tcp/tcp-int.o tcp/chost.o tcp/tcp-session.o tcp/nilist.o sctp/sctp.o apps/sctp_app1.o sctp/sctp-timestamp.o sctp/sctp-hbAfterRto.o sctp/sctp-multipleFastRtx.o sctp/sctp-mfrHbAfterRto.o sctp/sctp-mfrTimestamp.o sctp/sctp-cmt.o sctp/sctpDebug.o dccp/dccp_sb.o dccp/dccp_opt.o dccp/dccp_ackv.o dccp/dccp_packets.o dccp/dccp.o dccp/dccp_tcplike.o dccp/dccp_tfrc.o tools/integrator.o tools/queue-monitor.o tools/flowmon.o tools/loss-monitor.o queue/queue.o queue/drop-tail.o adc/simple-intserv-sched.o queue/red.o queue/semantic-packetqueue.o queue/semantic-red.o tcp/ack-recons.o queue/sfq.o queue/fq.o queue/drr.o queue/srr.o queue/cbq.o queue/jobs.o queue/marker.o queue/demarker.o link/hackloss.o queue/errmodel.o queue/fec.o link/delay.o tcp/snoop.o gaf/gaf.o link/dynalink.o routing/rtProtoDV.o common/net-interface.o mcast/ctrMcast.o mcast/mcast_ctrl.o mcast/srm.o common/sessionhelper.o queue/delaymodel.o mcast/srm-ssm.o mcast/srm-topo.o routing/alloc-address.o routing/address.o lib/int.Vec.o lib/int.RVec.o lib/dmalloc_support.o webcache/http.o webcache/tcp-simple.o webcache/pagepool.o webcache/inval-agent.o webcache/tcpapp.o webcache/http-aux.o webcache/mcache.o webcache/webtraf.o webcache/webserver.o webcache/logweb.o empweb/empweb.o empweb/empftp.o realaudio/realaudio.o mac/lanRouter.o classifier/filter.o common/pkt-counter.o common/Decapsulator.o common/Encapsulator.o common/encap.o mac/channel.o mac/mac.o mac/ll.o mac/mac-802_11.o mac/mac-802_11Ext.o mac/mac-802_3.o mac/mac-tdma.o mac/smac.o mobile/mip.o mobile/mip-reg.o mobile/gridkeeper.o mobile/propagation.o mobile/tworayground.o mobile/nakagami.o mobile/antenna.o mobile/omni-antenna.o mobile/shadowing.o mobile/shadowing-vis.o mobile/dumb-agent.o common/bi-connector.o common/node.o common/mobilenode.o mac/arp.o mobile/god.o mobile/dem.o mobile/topography.o mobile/modulation.o queue/priqueue.o queue/dsr-priqueue.o mac/phy.o mac/wired-phy.o mac/wireless-phy.o mac/wireless-phyExt.o mac/mac-timers.o trace/cmu-trace.o mac/varp.o mac/mac-simple.o satellite/sat-hdlc.o dsdv/dsdv.o dsdv/rtable.o queue/rtqueue.o routing/rttable.o imep/imep.o imep/dest_queue.o imep/imep_api.o imep/imep_rt.o imep/rxmit_queue.o imep/imep_timers.o imep/imep_util.o imep/imep_io.o tora/tora.o tora/tora_api.o tora/tora_dest.o tora/tora_io.o tora/tora_logs.o tora/tora_neighbor.o dsr/dsragent.o dsr/hdr_sr.o dsr/mobicache.o dsr/path.o dsr/requesttable.o dsr/routecache.o dsr/add_sr.o dsr/dsr_proto.o dsr/flowstruct.o dsr/linkcache.o dsr/simplecache.o dsr/sr_forwarder.o aodv/aodv_logs.o aodv/aodv.o aodv/aodv_rtable.o aodv/aodv_rqueue.o aomdv/aomdv_logs.o aomdv/aomdv.o aomdv/aomdv_rtable.o aomdv/aomdv_rqueue.o puma/puma.o mdart/mdart_adp.o mdart/mdart_dht.o mdart/mdart_ndp.o mdart/mdart_neighbor.o mdart/mdart_queue.o mdart/mdart_table.o mdart/mdart.o common/ns-process.o satellite/satgeometry.o satellite/sathandoff.o satellite/satlink.o satellite/satnode.o satellite/satposition.o satellite/satroute.o satellite/sattrace.o rap/raplist.o rap/rap.o rap/media-app.o rap/utilities.o common/fsm.o tcp/tcp-abs.o diffusion/diffusion.o diffusion/diff_rate.o diffusion/diff_prob.o diffusion/diff_sink.o diffusion/flooding.o diffusion/omni_mcast.o diffusion/hash_table.o diffusion/routing_table.o diffusion/iflist.o tcp/tfrc.o tcp/tfrc-sink.o mobile/energy-model.o apps/ping.o tcp/tcp-rfc793edu.o queue/rio.o queue/semantic-rio.o tcp/tcp-sack-rh.o tcp/scoreboard-rh.o plm/loss-monitor-plm.o plm/cbr-traffic-PP.o linkstate/hdr-ls.o mpls/classifier-addr-mpls.o mpls/ldp.o mpls/mpls-module.o routing/rtmodule.o classifier/classifier-hier.o routing/addr-params.o nix/hdr_nv.o nix/classifier-nix.o nix/nixnode.o routealgo/rnode.o routealgo/bfs.o routealgo/rbitmap.o routealgo/rlookup.o routealgo/routealgo.o nix/nixvec.o nix/nixroute.o diffserv/dsred.o diffserv/dsredq.o diffserv/dsEdge.o diffserv/dsCore.o diffserv/dsPolicy.o diffserv/ew.o diffserv/dewp.o queue/red-pd.o queue/pi.o queue/vq.o queue/rem.o queue/gk.o pushback/rate-limit.o pushback/rate-limit-strategy.o pushback/ident-tree.o pushback/agg-spec.o pushback/logging-data-struct.o pushback/rate-estimator.o pushback/pushback-queue.o pushback/pushback.o common/parentnode.o trace/basetrace.o common/simulator.o asim/asim.o common/scheduler-map.o common/splay-scheduler.o linkstate/ls.o linkstate/rtProtoLS.o pgm/classifier-pgm.o pgm/pgm-agent.o pgm/pgm-sender.o pgm/pgm-receiver.o mcast/rcvbuf.o mcast/classifier-lms.o mcast/lms-agent.o mcast/lms-receiver.o mcast/lms-sender.o queue/delayer.o xcp/xcpq.o xcp/xcp.o xcp/xcp-end-sys.o wpan/p802_15_4csmaca.o wpan/p802_15_4fail.o wpan/p802_15_4hlist.o wpan/p802_15_4mac.o wpan/p802_15_4nam.o wpan/p802_15_4phy.o wpan/p802_15_4sscs.o wpan/p802_15_4timer.o wpan/p802_15_4trace.o wpan/p802_15_4transac.o apps/pbc.o diffusion3/lib/nr/nr.o diffusion3/lib/dr.o diffusion3/filters/diffusion/one_phase_pull.o diffusion3/filters/diffusion/two_phase_pull.o diffusion3/lib/diffapp.o diffusion3/ns/diffagent.o diffusion3/ns/diffrtg.o diffusion3/ns/difftimer.o diffusion3/filter_core/filter_core.o diffusion3/filter_core/iolog.o diffusion3/filter_core/iostats.o diffusion3/lib/main/attrs.o diffusion3/lib/main/events.o diffusion3/lib/main/iodev.o diffusion3/lib/main/iohook.o diffusion3/lib/main/timers.o diffusion3/lib/main/message.o diffusion3/lib/main/tools.o diffusion3/apps/gear_examples/gear_common.o diffusion3/apps/gear_examples/gear_receiver.o diffusion3/apps/gear_examples/gear_sender.o diffusion3/apps/rmst_examples/rmst_sink.o diffusion3/apps/rmst_examples/rmst_source.o diffusion3/apps/ping/1pp_ping_sender.o diffusion3/apps/ping/1pp_ping_receiver.o diffusion3/apps/ping/2pp_ping_sender.o diffusion3/apps/ping/2pp_ping_receiver.o diffusion3/apps/ping/ping_common.o diffusion3/apps/ping/push_receiver.o diffusion3/apps/ping/push_sender.o diffusion3/filters/gear/gear_attr.o diffusion3/filters/gear/gear.o diffusion3/filters/gear/gear_tools.o diffusion3/filters/misc/log.o diffusion3/filters/misc/srcrt.o diffusion3/filters/misc/tag.o diffusion3/filters/rmst/rmst.o diffusion3/filters/rmst/rmst_filter.o delaybox/delaybox.o packmime/packmime_HTTP.o packmime/packmime_HTTP_rng.o packmime/packmime_OL.o packmime/packmime_OL_ranvar.o packmime/packmime_ranvar.o tmix/tmix.o tmix/tmixAgent.o tmix/tmix_delaybox.o gen/version.o gen/ns_tcl.o gen/ptypes.o common/win32.o common/tkAppInit.o -L/usr/lib/arm-linux-gnueabihf -ltclcl -L/usr/lib/arm-linux-gnueabihf -lotcl -L/usr/lib/arm-linux-gnueabihf -ltk8.6 -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -L/usr/lib/arm-linux-gnueabihf -lXext -lX11 -lpcap -ldl -lm -lm make[2]: Leaving directory '/build/reproducible-path/ns2-2.35+dfsg/indep-utils/cmu-scen-gen/setdest' make[2]: Entering directory '/build/reproducible-path/ns2-2.35+dfsg/indep-utils/webtrace-conv/dec' g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -o proxytrace.o proxytrace.cc @@ -20960,6 +20997,8 @@ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -o my-endian.o my-endian.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -o proxytrace2any.o proxytrace2any.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ my-endian.cc: In function 'u_4bytes rotate4(u_4bytes)': my-endian.cc:17:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 17 | ((u_2bytes*)&Out)[0] = swap2(((u_2bytes*)&In)[1]); @@ -20967,7 +21006,7 @@ my-endian.cc:18:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 18 | ((u_2bytes*)&Out)[1] = swap2(((u_2bytes*)&In)[0]); | ~^~~~~~~~~~~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -o proxytrace2any.o proxytrace2any.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -o tr-stat.o tr-stat.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ proxytrace2any.cc: In function 'int main(int, char**)': proxytrace2any.cc:79:40: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] @@ -20989,8 +21028,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -o tr-stat.o tr-stat.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -o dec-tr-stat proxytrace.o formsquid.o formtxt.o my-endian.o proxytrace2any.o tr-stat.o -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -lpcap -ldl -lm make[2]: Leaving directory '/build/reproducible-path/ns2-2.35+dfsg/indep-utils/webtrace-conv/dec' make[2]: Entering directory '/build/reproducible-path/ns2-2.35+dfsg/indep-utils/webtrace-conv/epa' @@ -21020,39 +21057,15 @@ tr-stat.cc:192:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 192 | fgets(buf, 1024, stdin); | ~~~~~^~~~~~~~~~~~~~~~~~ -g++ -Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -o nstk tcp/linux/tcp_naivereno.o tcp/linux/src/tcp_cong.o tcp/linux/src/tcp_highspeed.o tcp/linux/src/tcp_bic.o tcp/linux/src/tcp_htcp.o tcp/linux/src/tcp_scalable.o tcp/linux/src/tcp_cubic.o tcp/linux/src/tcp_westwood.o tcp/linux/src/tcp_vegas.o tcp/linux/src/tcp_hybla.o tcp/linux/src/tcp_illinois.o tcp/linux/src/tcp_yeah.o tcp/linux/src/tcp_veno.o tcp/linux/src/tcp_compound.o tcp/linux/src/tcp_lp.o tcp/linux/ns-linux-c.o tcp/linux/ns-linux-param.o tools/random.o tools/rng.o tools/ranvar.o common/misc.o common/timer-handler.o common/scheduler.o common/object.o common/packet.o common/ip.o routing/route.o common/connector.o common/ttl.o trace/trace.o trace/trace-ip.o classifier/classifier.o classifier/classifier-addr.o classifier/classifier-hash.o classifier/classifier-virtual.o classifier/classifier-mcast.o classifier/classifier-bst.o classifier/classifier-mpath.o mcast/replicator.o classifier/classifier-mac.o classifier/classifier-qs.o classifier/classifier-port.o src_rtg/classifier-sr.o src_rtg/sragent.o src_rtg/hdr_src.o adc/ump.o qs/qsagent.o qs/hdr_qs.o apps/app.o apps/telnet.o tcp/tcplib-telnet.o tools/trafgen.o trace/traffictrace.o tools/pareto.o tools/expoo.o tools/cbr_traffic.o adc/tbf.o adc/resv.o adc/sa.o tcp/saack.o tools/measuremod.o adc/estimator.o adc/adc.o adc/ms-adc.o adc/timewindow-est.o adc/acto-adc.o adc/pointsample-est.o adc/salink.o adc/actp-adc.o adc/hb-adc.o adc/expavg-est.o adc/param-adc.o adc/null-estimator.o adc/adaptive-receiver.o apps/vatrcvr.o adc/consrcvr.o common/agent.o common/message.o apps/udp.o common/session-rtp.o apps/rtp.o tcp/rtcp.o common/ivs.o common/messpass.o common/tp.o common/tpm.o apps/worm.o tcp/tcp.o tcp/tcp-sink.o tcp/tcp-reno.o tcp/tcp-newreno.o tcp/tcp-vegas.o tcp/tcp-rbp.o tcp/tcp-full.o tcp/rq.o baytcp/tcp-full-bay.o baytcp/ftpc.o baytcp/ftps.o tcp/scoreboard.o tcp/scoreboard-rq.o tcp/tcp-sack1.o tcp/tcp-fack.o tcp/scoreboard1.o tcp/tcp-linux.o tcp/linux/ns-linux-util.o tcp/tcp-asym.o tcp/tcp-asym-sink.o tcp/tcp-fs.o tcp/tcp-asym-fs.o tcp/tcp-int.o tcp/chost.o tcp/tcp-session.o tcp/nilist.o sctp/sctp.o apps/sctp_app1.o sctp/sctp-timestamp.o sctp/sctp-hbAfterRto.o sctp/sctp-multipleFastRtx.o sctp/sctp-mfrHbAfterRto.o sctp/sctp-mfrTimestamp.o sctp/sctp-cmt.o sctp/sctpDebug.o dccp/dccp_sb.o dccp/dccp_opt.o dccp/dccp_ackv.o dccp/dccp_packets.o dccp/dccp.o dccp/dccp_tcplike.o dccp/dccp_tfrc.o tools/integrator.o tools/queue-monitor.o tools/flowmon.o tools/loss-monitor.o queue/queue.o queue/drop-tail.o adc/simple-intserv-sched.o queue/red.o queue/semantic-packetqueue.o queue/semantic-red.o tcp/ack-recons.o queue/sfq.o queue/fq.o queue/drr.o queue/srr.o queue/cbq.o queue/jobs.o queue/marker.o queue/demarker.o link/hackloss.o queue/errmodel.o queue/fec.o link/delay.o tcp/snoop.o gaf/gaf.o link/dynalink.o routing/rtProtoDV.o common/net-interface.o mcast/ctrMcast.o mcast/mcast_ctrl.o mcast/srm.o common/sessionhelper.o queue/delaymodel.o mcast/srm-ssm.o mcast/srm-topo.o routing/alloc-address.o routing/address.o lib/int.Vec.o lib/int.RVec.o lib/dmalloc_support.o webcache/http.o webcache/tcp-simple.o webcache/pagepool.o webcache/inval-agent.o webcache/tcpapp.o webcache/http-aux.o webcache/mcache.o webcache/webtraf.o webcache/webserver.o webcache/logweb.o empweb/empweb.o empweb/empftp.o realaudio/realaudio.o mac/lanRouter.o classifier/filter.o common/pkt-counter.o common/Decapsulator.o common/Encapsulator.o common/encap.o mac/channel.o mac/mac.o mac/ll.o mac/mac-802_11.o mac/mac-802_11Ext.o mac/mac-802_3.o mac/mac-tdma.o mac/smac.o mobile/mip.o mobile/mip-reg.o mobile/gridkeeper.o mobile/propagation.o mobile/tworayground.o mobile/nakagami.o mobile/antenna.o mobile/omni-antenna.o mobile/shadowing.o mobile/shadowing-vis.o mobile/dumb-agent.o common/bi-connector.o common/node.o common/mobilenode.o mac/arp.o mobile/god.o mobile/dem.o mobile/topography.o mobile/modulation.o queue/priqueue.o queue/dsr-priqueue.o mac/phy.o mac/wired-phy.o mac/wireless-phy.o mac/wireless-phyExt.o mac/mac-timers.o trace/cmu-trace.o mac/varp.o mac/mac-simple.o satellite/sat-hdlc.o dsdv/dsdv.o dsdv/rtable.o queue/rtqueue.o routing/rttable.o imep/imep.o imep/dest_queue.o imep/imep_api.o imep/imep_rt.o imep/rxmit_queue.o imep/imep_timers.o imep/imep_util.o imep/imep_io.o tora/tora.o tora/tora_api.o tora/tora_dest.o tora/tora_io.o tora/tora_logs.o tora/tora_neighbor.o dsr/dsragent.o dsr/hdr_sr.o dsr/mobicache.o dsr/path.o dsr/requesttable.o dsr/routecache.o dsr/add_sr.o dsr/dsr_proto.o dsr/flowstruct.o dsr/linkcache.o dsr/simplecache.o dsr/sr_forwarder.o aodv/aodv_logs.o aodv/aodv.o aodv/aodv_rtable.o aodv/aodv_rqueue.o aomdv/aomdv_logs.o aomdv/aomdv.o aomdv/aomdv_rtable.o aomdv/aomdv_rqueue.o puma/puma.o mdart/mdart_adp.o mdart/mdart_dht.o mdart/mdart_ndp.o mdart/mdart_neighbor.o mdart/mdart_queue.o mdart/mdart_table.o mdart/mdart.o common/ns-process.o satellite/satgeometry.o satellite/sathandoff.o satellite/satlink.o satellite/satnode.o satellite/satposition.o satellite/satroute.o satellite/sattrace.o rap/raplist.o rap/rap.o rap/media-app.o rap/utilities.o common/fsm.o tcp/tcp-abs.o diffusion/diffusion.o diffusion/diff_rate.o diffusion/diff_prob.o diffusion/diff_sink.o diffusion/flooding.o diffusion/omni_mcast.o diffusion/hash_table.o diffusion/routing_table.o diffusion/iflist.o tcp/tfrc.o tcp/tfrc-sink.o mobile/energy-model.o apps/ping.o tcp/tcp-rfc793edu.o queue/rio.o queue/semantic-rio.o tcp/tcp-sack-rh.o tcp/scoreboard-rh.o plm/loss-monitor-plm.o plm/cbr-traffic-PP.o linkstate/hdr-ls.o mpls/classifier-addr-mpls.o mpls/ldp.o mpls/mpls-module.o routing/rtmodule.o classifier/classifier-hier.o routing/addr-params.o nix/hdr_nv.o nix/classifier-nix.o nix/nixnode.o routealgo/rnode.o routealgo/bfs.o routealgo/rbitmap.o routealgo/rlookup.o routealgo/routealgo.o nix/nixvec.o nix/nixroute.o diffserv/dsred.o diffserv/dsredq.o diffserv/dsEdge.o diffserv/dsCore.o diffserv/dsPolicy.o diffserv/ew.o diffserv/dewp.o queue/red-pd.o queue/pi.o queue/vq.o queue/rem.o queue/gk.o pushback/rate-limit.o pushback/rate-limit-strategy.o pushback/ident-tree.o pushback/agg-spec.o pushback/logging-data-struct.o pushback/rate-estimator.o pushback/pushback-queue.o pushback/pushback.o common/parentnode.o trace/basetrace.o common/simulator.o asim/asim.o common/scheduler-map.o common/splay-scheduler.o linkstate/ls.o linkstate/rtProtoLS.o pgm/classifier-pgm.o pgm/pgm-agent.o pgm/pgm-sender.o pgm/pgm-receiver.o mcast/rcvbuf.o mcast/classifier-lms.o mcast/lms-agent.o mcast/lms-receiver.o mcast/lms-sender.o queue/delayer.o xcp/xcpq.o xcp/xcp.o xcp/xcp-end-sys.o wpan/p802_15_4csmaca.o wpan/p802_15_4fail.o wpan/p802_15_4hlist.o wpan/p802_15_4mac.o wpan/p802_15_4nam.o wpan/p802_15_4phy.o wpan/p802_15_4sscs.o wpan/p802_15_4timer.o wpan/p802_15_4trace.o wpan/p802_15_4transac.o apps/pbc.o diffusion3/lib/nr/nr.o diffusion3/lib/dr.o diffusion3/filters/diffusion/one_phase_pull.o diffusion3/filters/diffusion/two_phase_pull.o diffusion3/lib/diffapp.o diffusion3/ns/diffagent.o diffusion3/ns/diffrtg.o diffusion3/ns/difftimer.o diffusion3/filter_core/filter_core.o diffusion3/filter_core/iolog.o diffusion3/filter_core/iostats.o diffusion3/lib/main/attrs.o diffusion3/lib/main/events.o diffusion3/lib/main/iodev.o diffusion3/lib/main/iohook.o diffusion3/lib/main/timers.o diffusion3/lib/main/message.o diffusion3/lib/main/tools.o diffusion3/apps/gear_examples/gear_common.o diffusion3/apps/gear_examples/gear_receiver.o diffusion3/apps/gear_examples/gear_sender.o diffusion3/apps/rmst_examples/rmst_sink.o diffusion3/apps/rmst_examples/rmst_source.o diffusion3/apps/ping/1pp_ping_sender.o diffusion3/apps/ping/1pp_ping_receiver.o diffusion3/apps/ping/2pp_ping_sender.o diffusion3/apps/ping/2pp_ping_receiver.o diffusion3/apps/ping/ping_common.o diffusion3/apps/ping/push_receiver.o diffusion3/apps/ping/push_sender.o diffusion3/filters/gear/gear_attr.o diffusion3/filters/gear/gear.o diffusion3/filters/gear/gear_tools.o diffusion3/filters/misc/log.o diffusion3/filters/misc/srcrt.o diffusion3/filters/misc/tag.o diffusion3/filters/rmst/rmst.o diffusion3/filters/rmst/rmst_filter.o delaybox/delaybox.o packmime/packmime_HTTP.o packmime/packmime_HTTP_rng.o packmime/packmime_OL.o packmime/packmime_OL_ranvar.o packmime/packmime_ranvar.o tmix/tmix.o tmix/tmixAgent.o tmix/tmix_delaybox.o gen/version.o gen/ns_tcl.o gen/ptypes.o common/win32.o common/tkAppInit.o -L/usr/lib/arm-linux-gnueabihf -ltclcl -L/usr/lib/arm-linux-gnueabihf -lotcl -L/usr/lib/arm-linux-gnueabihf -ltk8.6 -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -L/usr/lib/arm-linux-gnueabihf -lXext -lX11 -lpcap -ldl -lm -lm g++ -o epa-tr-stat -Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap tr-stat.o -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -lpcap -ldl -lm make[2]: Leaving directory '/build/reproducible-path/ns2-2.35+dfsg/indep-utils/webtrace-conv/epa' make[2]: Entering directory '/build/reproducible-path/ns2-2.35+dfsg/indep-utils/webtrace-conv/nlanr' g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -I. -I../../.. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -o tr-stat.o tr-stat.cc -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -I. -I../../.. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -o logparse.o logparse.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -I. -I../../.. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -o logparse.o logparse.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In file included from ../../../config.h:60, from logparse.h:7, - from logparse.cc:8: -/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -In file included from /usr/include/tclcl/tclcl.h:42: -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] - 88 | inline void result(const char* p) { tcl_->result = (char*)p; } - | ^~~~~~ -/usr/include/tcl/tcl.h:513:11: note: declared here - 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); - | ^~~~~~ -In file included from ../../../config.h:60, - from logparse.h:7, from tr-stat.cc:24: /usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': /usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] @@ -21093,11 +21106,36 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ +In file included from ../../../config.h:60, + from logparse.h:7, + from logparse.cc:8: +/usr/include/tclcl/tclcl.h: In member function 'void Tcl::result(const char*)': +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +In file included from /usr/include/tclcl/tclcl.h:42: +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ +/usr/include/tclcl/tclcl.h:88:51: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] + 88 | inline void result(const char* p) { tcl_->result = (char*)p; } + | ^~~~~~ +/usr/include/tcl/tcl.h:513:11: note: declared here + 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); + | ^~~~~~ g++ -Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -o nlanr-tr-stat tr-stat.o logparse.o -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -lpcap -ldl -lm make[2]: Leaving directory '/build/reproducible-path/ns2-2.35+dfsg/indep-utils/webtrace-conv/nlanr' make[2]: Entering directory '/build/reproducible-path/ns2-2.35+dfsg/indep-utils/webtrace-conv/ucb' g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -o tr-stat.o tr-stat.cc g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -o logparse.o logparse.cc +g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -o utils.o utils.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ tr-stat.cc: In function 'int main(int, char**)': @@ -21120,8 +21158,6 @@ /usr/include/tcl/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ -g++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I/usr/include/pcap -o utils.o utils.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ns2-2.35+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-write-strings -DUSE_INTERP_RESULT -DCPP_NAMESPACE=std -o ucb-tr-stat tr-stat.o logparse.o utils.o -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -lpcap -ldl -lm make[2]: Leaving directory '/build/reproducible-path/ns2-2.35+dfsg/indep-utils/webtrace-conv/ucb' make[1]: Leaving directory '/build/reproducible-path/ns2-2.35+dfsg' @@ -21129,11 +21165,11 @@ make[1]: Entering directory '/build/reproducible-path/ns2-2.35+dfsg' #it takes too long time. dh_auto_test - make -j3 test "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + make -j4 test "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[2]: Entering directory '/build/reproducible-path/ns2-2.35+dfsg' ./validate (Validation can take 1-30 hours to run.) -Sun Apr 13 00:53:46 -12 2025 +Mon Apr 14 03:48:42 +14 2025 *** ./test-all-simple Tests: tahoe1 tahoe1Bytes tahoe1RED tahoe1REDbytes tahoe2 tahoe3 tahoe3RED tahoe4 no_bug bug reno1 reno renoA reno2 reno3 reno4 reno4a reno5 reno5_nobug telnet delayed phase phase1 phase2 timers manyflows stats statsECN stats1 stats1Bytes stats1a stats1aBytes statsHeaders stats2 stats3 stats4 statsTFRC Running test tahoe1: @@ -21475,8 +21511,8 @@ aggregate per-link total_packets 265 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 00:54:36 -12 2025 -Sun Apr 13 00:54:38 -12 2025 +Mon Apr 14 03:49:27 +14 2025 +Mon Apr 14 03:49:29 +14 2025 *** ./test-all-tcp Tests: ecn timers timersA timersAfix timersA1 timersA2 timersA3 timers1 timers2 timers3 timers4 timers5 timers_backoffs stats1 quiescent_100ms quiescentB quiescentB_qoption underutilized_100ms underutilized_100ms_control underutilized_100ms_control_Q underutilized_100ms_Q underutilized_100ms_control_Reno underutilized_100ms_control_Newreno underutilized_100ms_control_Sack quiescent_100ms_fine quiescent_100ms_coarse quiescent_1ms_fine quiescent_1ms_coarse quiescent_500ms_fine quiescent_500ms_coarse dialup dialup1 Running test ecn: @@ -21633,8 +21669,8 @@ Guide: 1500-byte packets on a 9.6 Kbps link, rfc2988_ false Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 00:55:24 -12 2025 -Sun Apr 13 00:55:26 -12 2025 +Mon Apr 14 03:50:11 +14 2025 +Mon Apr 14 03:50:13 +14 2025 *** ./test-all-testReno Tests: Tahoe_TCP Tahoe_TCP_without_Fast_Retransmit Reno_TCP NewReno_TCP Sack_TCP Tahoe_TCP2 Tahoe_TCP2_without_Fast_Retransmit Reno_TCP2 NewReno_TCP2 Sack_TCP2 Running test Tahoe_TCP: @@ -21678,8 +21714,8 @@ Guide: Sack TCP, one dropped packet. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 00:55:41 -12 2025 -Sun Apr 13 00:55:43 -12 2025 +Mon Apr 14 03:50:25 +14 2025 +Mon Apr 14 03:50:27 +14 2025 *** ./test-all-newreno Tests: reno reno_noLT newreno newreno_noLT newreno_B newreno_B_noLT reno1 newreno1 newreno1_BF newreno1_A newreno1_A_noLT newreno1_A_BF newreno1_A_BF_LC newreno1_B0 newreno1_B newreno1_B_BF newreno1_B_BF_LC newreno1_B_noLT newreno1A_A newreno1A_A_BF newreno1A_A_BF_LC newreno1A_A_noLT reno2 reno2_noLT reno2_bugfix reno2_bugfix_noLT newreno2_A newreno2_A_noLT newreno2_A_bugfix newreno2_A_bugfix_LC newreno2_B newreno2_B_noLT newreno2_B_bugfix newreno2_B_bugfix_LC newreno5 sack5 newreno5_LC newreno5_noLT newreno5_noLT_LC newreno5_noBF newreno5_noLT_noBF reno5 reno5_noBF reno5_noLT_noBF reno5a reno5a_noLT_noBF newreno6 newreno_rto_loss newreno_rto_loss_ack newreno_rto_loss_ts newreno_rto_loss_tsh newreno_rto_dup newreno_rto_dup_ack newreno_rto_loss_ackf newreno_rto_dup_ts newreno_rto_dup_tsh impatient1 slow1 impatient2 slow2 impatient3 slow3 impatient4 slow4 Running test reno: @@ -21939,8 +21975,8 @@ Guide: NewReno, Slow-but-Steady. Impatient is better. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 00:57:14 -12 2025 -Sun Apr 13 00:57:16 -12 2025 +Mon Apr 14 03:51:48 +14 2025 +Mon Apr 14 03:51:50 +14 2025 *** ./test-all-sack Tests: sack1 sack1z sack1a sack1aa sack1b sack1c sack3 sack5 sack5a sackB2 sackB4 sackB4a FalsePipe FalsePipe1 sack_dupacks sack_finiteflow sack_dupacks1 Running test sack1: @@ -22012,8 +22048,8 @@ Guide: SACK TCP, Fast Recovery with modified numdupacks Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 00:57:41 -12 2025 -Sun Apr 13 00:57:43 -12 2025 +Mon Apr 14 03:52:12 +14 2025 +Mon Apr 14 03:52:14 +14 2025 *** ./test-all-tcpOptions Tests: onedrop_tahoe onedrop_numdup4_tahoe onedrop_tahoe_full onedrop_numdup4_tahoe_full onedrop_reno onedrop_numdup4_reno onedrop_reno_full onedrop_numdup4_reno_full onedrop_newreno onedrop_numdup4_newreno onedrop_newreno_full onedrop_numdup4_newreno_full onedrop_sack onedrop_numdup4_sack onedrop_sack_full onedrop_numdup4_sack_full maxburst_tahoe maxburst_tahoe1 maxburst_reno maxburst_reno1 maxburst_newreno maxburst_newreno1 maxburst_sack maxburst_sack1 timeouts_tahoe timeouts_tahoe1 timeouts_tahoe2 timeouts_tahoe3 timeouts_reno timeouts_reno_noexitFR timeouts_reno1 timeouts_reno2 timeouts_reno3 timeouts_newreno timeouts_newreno_noexitFR timeouts_newreno1 timeouts_newreno2 timeouts_newreno3 timeouts_sack timeouts_sack1 timeouts_sack2 timeouts_sack3 timeoutsA_tahoe timeoutsA_tahoe1 Running test onedrop_tahoe: @@ -22193,8 +22229,8 @@ Guide: Tahoe, timeoutsA, worse without bugfix Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 00:58:53 -12 2025 -Sun Apr 13 00:58:55 -12 2025 +Mon Apr 14 03:53:09 +14 2025 +Mon Apr 14 03:53:11 +14 2025 *** ./test-all-tcpReset Tests: reset resetDelAck resetDelAck1 reset1 resetDelAck2 resetDelAck3 resetNewreno resetSack1 resetReno Running test reset: @@ -22234,8 +22270,8 @@ Guide: Reno TCP, resetting a TCP connection. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 00:59:10 -12 2025 -Sun Apr 13 00:59:12 -12 2025 +Mon Apr 14 03:53:23 +14 2025 +Mon Apr 14 03:53:25 +14 2025 *** ./test-all-simple-full Tests: tahoe1 tahoe2 tahoe3 tahoe4 no_bug bug reno1 reno renoA reno2 reno3 reno4 reno4a reno5 reno5_nobug telnet delayed phase phase1 phase2 timers manyflows stats stats1 Running test tahoe1: @@ -22342,8 +22378,8 @@ aggregate per-link total_packets 16 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 00:59:53 -12 2025 -Sun Apr 13 00:59:55 -12 2025 +Mon Apr 14 03:53:57 +14 2025 +Mon Apr 14 03:53:59 +14 2025 *** ./test-all-full Tests: full close twoway twoway1 twowayrandom delack iw=4 droppedsyn droppedfirstseg droppedsecondseg simul-open simul-close droppednearfin droppedlastseg droppedretransmit droppednearretransmit droppedfastrexmit ecn1 ecn2 droppedfin smallpkts telnet telnet2 SSR SSR2 tsopt winlimited Running test full: @@ -22429,8 +22465,8 @@ ../../ns test-suite-full.tcl winlimited QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:00:33 -12 2025 -Sun Apr 13 01:00:35 -12 2025 +Mon Apr 14 03:54:33 +14 2025 +Mon Apr 14 03:54:35 +14 2025 *** ./test-all-testReno-full Tests: Tahoe_FullTCP Reno_FullTCP Reno_BayFullTCP NewReno_FullTCP Tahoe_FullTCP2 Reno_FullTCP2 Reno_BayFullTCP2 NewReno_FullTCP2 Running test Tahoe_FullTCP: @@ -22458,8 +22494,8 @@ ../../ns test-suite-testReno-full.tcl NewReno_FullTCP2 QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:00:46 -12 2025 -Sun Apr 13 01:00:48 -12 2025 +Mon Apr 14 03:54:46 +14 2025 +Mon Apr 14 03:54:48 +14 2025 *** ./test-all-testReno-bayfull Tests: Reno_FullTCP Reno_FullTCP2 Running test Reno_FullTCP: @@ -22469,8 +22505,8 @@ ../../ns test-suite-testReno-bayfull.tcl Reno_FullTCP2 QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:00:52 -12 2025 -Sun Apr 13 01:00:54 -12 2025 +Mon Apr 14 03:54:51 +14 2025 +Mon Apr 14 03:54:53 +14 2025 *** ./test-all-sack-full Tests: sack1 sack1z sack1a sack1aa sack1b sack1c sack3 sack5 sack5a sackB2 sackB4 sackB4a Running test sack1: @@ -22510,8 +22546,8 @@ ../../ns test-suite-sack-full.tcl sackB4a QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:01:12 -12 2025 -Sun Apr 13 01:01:14 -12 2025 +Mon Apr 14 03:55:14 +14 2025 +Mon Apr 14 03:55:16 +14 2025 *** ./test-all-tcp-init-win Tests: tahoe1 tahoe2 tahoe3 tahoe4 reno1 reno2 reno3 reno4 newreno1 newreno2 newreno3 newreno4 sack1 sack2 sack3 sack4 slowLink slowLink1 slowLink2 droppedSYN droppedSYN1 droppedPKT droppedPKT1 droppedPKT2 droppedPKT3 Running test tahoe1: @@ -22615,8 +22651,8 @@ Guide: Sack TCP, dropped initial data packet. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:01:52 -12 2025 -Sun Apr 13 01:01:54 -12 2025 +Mon Apr 14 03:55:53 +14 2025 +Mon Apr 14 03:55:55 +14 2025 *** ./test-all-tcpVariants Tests: onedrop_tahoe onedrop_SA_tahoe onedrop_tahoe_full onedrop_reno onedrop_SA_reno onedrop_reno_full onedrop_newreno onedrop_SA_newreno onedrop_newreno_full onedrop_sack onedrop_SA_sack onedrop_sack_full onedrop_fack onedrop_sackRH twodrops_tahoe twodrops_SA_tahoe twodrops_tahoe_full twodrops_reno twodrops_SA_reno twodrops_reno_full twodrops_newreno twodrops_SA_newreno twodrops_newreno_full twodrops_sack twodrops_SA_sack twodrops_sack_full twodrops_fack twodrops_sackRH threedrops_tahoe threedrops_SA_tahoe threedrops_tahoe_full threedrops_reno threedrops_SA_reno threedrops_reno_full threedrops_newreno threedrops_SA_newreno threedrops_newreno_full threedrops_sack threedrops_SA_sack threedrops_sack_full threedrops_fack threedrops_sackRH fourdrops_tahoe fourdrops_SA_tahoe fourdrops_tahoe_full fourdrops_reno fourdrops_SA_reno fourdrops_reno_full fourdrops_newreno fourdrops_SA_newreno fourdrops_newreno_full fourdrops_sack fourdrops_SA_sack fourdrops_sack_full fourdrops_fack fourdrops_sackRH multiple_tahoe multiple_SA_tahoe multiple_reno multiple_SA_reno multiple_newreno multiple_SA_newreno multiple_sack multiple_SA_sack multiple_partial_ack_sack multiple2_tahoe multiple2_SA_tahoe multiple2_reno multiple2_SA_reno multiple2_newreno multiple2_SA_newreno multiple2_sack multiple2_SA_sack multiple2_partial_ack_sack Running test onedrop_tahoe: @@ -22916,8 +22952,8 @@ Guide: Sack TCP with an ensured response to a partial ack, five drops. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:03:41 -12 2025 -Sun Apr 13 01:03:43 -12 2025 +Mon Apr 14 03:57:48 +14 2025 +Mon Apr 14 03:57:50 +14 2025 *** ./test-all-LimTransmit Tests: onedrop_sack onedrop_SA_sack onedrop_ECN_sack nodrop_sack Running test onedrop_sack: @@ -22937,8 +22973,8 @@ Guide: Sack TCP with no packet drops, for comparison. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:03:49 -12 2025 -Sun Apr 13 01:03:51 -12 2025 +Mon Apr 14 03:57:56 +14 2025 +Mon Apr 14 03:57:58 +14 2025 *** ./test-all-aimd Tests: tcp tcpA tcpA_precise tcpB ssthresh ssthreshA ssthresh_second ssthresh_secondA tcp_tahoe tcpA_tahoe tcpA_precise_tahoe tcp_reno tcpA_reno tcpA_precise_reno tcp_newreno tcpA_newreno tcpA_precise_newreno binomial1 binomial2 Running test tcp: @@ -23019,8 +23055,8 @@ Guide: TCP with SQRT Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:04:29 -12 2025 -Sun Apr 13 01:04:31 -12 2025 +Mon Apr 14 03:58:37 +14 2025 +Mon Apr 14 03:58:39 +14 2025 *** ./test-all-greis Tests: example1 example1a example1b example2 example3 example4 ping pingOneWay Running test example1: @@ -23058,8 +23094,8 @@ ping reply from node 0 to 2 with seqno 2: forward 112.9 ms, reverse 192.4 ms. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:04:41 -12 2025 -Sun Apr 13 01:04:43 -12 2025 +Mon Apr 14 03:58:50 +14 2025 +Mon Apr 14 03:58:52 +14 2025 *** ./test-all-rfc793edu Tests: rtt-jacobson rtt-rfc793 seqno-nofastrtx seqno-fastrtx rto-karn rto-nokarn jacobson88-noss jacobson88-ss Running test rtt-jacobson: @@ -23095,8 +23131,8 @@ Guide: With Slow-Start. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:04:55 -12 2025 -Sun Apr 13 01:04:57 -12 2025 +Mon Apr 14 03:59:04 +14 2025 +Mon Apr 14 03:59:06 +14 2025 *** ./test-all-rfc2581 Tests: immediateAck noImmediateAck immediateAckReno noImmediateAckReno immediateAckNewReno noImmediateAckNewReno immediateAckSack noImmediateAckSack Running test immediateAck: @@ -23132,8 +23168,8 @@ Guide: Sack, no immediate ACK after an out-of-order packet. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:05:08 -12 2025 -Sun Apr 13 01:05:10 -12 2025 +Mon Apr 14 03:59:17 +14 2025 +Mon Apr 14 03:59:19 +14 2025 *** ./test-all-rbp Tests: reno_slow_start_restart reno_no_slow_start_restart vegas_slow_start_restart vegas_no_slow_start_restart reno_pacing vegas_pacing_rate vegas_pacing_cwnd Running test reno_slow_start_restart: @@ -23158,8 +23194,8 @@ ../../ns test-suite-rbp.tcl vegas_pacing_cwnd QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:05:19 -12 2025 -Sun Apr 13 01:05:21 -12 2025 +Mon Apr 14 03:59:28 +14 2025 +Mon Apr 14 03:59:30 +14 2025 *** ./test-all-sctp Tests: sctp-2packetsTimeout sctp-AMR-Exceeded sctp-Rel1-Loss2 sctp-burstAfterFastRtxRecovery sctp-burstAfterFastRtxRecovery-2 sctp-cwndFreeze sctp-cwndFreeze-multistream sctp-hugeRwnd sctp-initRtx sctp-multihome1-2 sctp-multihome2-1 sctp-multihome2-2AMR-Exceeded sctp-multihome2-2Failover sctp-multihome2-2Rtx1 sctp-multihome2-2Rtx3 sctp-multihome2-2Timeout sctp-multihome2-2TimeoutRta0 sctp-multihome2-2TimeoutRta2 sctp-multihome2-R-2 sctp-multihome3-3Timeout sctp-multipleDropsSameWnd-1 sctp-multipleDropsSameWnd-1-delayed sctp-multipleDropsSameWnd-2 sctp-multipleDropsSameWnd-3 sctp-multipleDropsTwoWnds-1-delayed sctp-multipleRtx sctp-multipleRtx-early sctp-newReno sctp-noEarlyHBs sctp-smallRwnd sctp-smallSwnd sctp-zeroRtx sctp-zeroRtx-burstLoss sctp-hbAfterRto-2packetsTimeout sctp-hbAfterRto-multihome2-2Timeout sctp-multipleFastRtx-2packetsTimeout sctp-multipleFastRtx-multihome2-2Timeout sctp-mfrHbAfterRto-Rta2-2FRsTimeout sctp-timestamp-multihome2-2Rtx3 sctp-timestamp-multihome2-2Timeout sctp-packet-loss-dest-conf sctp-cmt-2paths-64K sctp-cmt-2paths-64K-withloss sctp-cmt-3paths-64K sctp-cmt-2paths-1path-fails sctp-cmt-3paths-1path-fails sctp-cmt-packet-loss-dest-conf sctp-cmt-Rtx-ssthresh sctp-cmt-Rtx-cwnd sctp-cmt-Timeout-pmr sctp-cmt-multihome2-2Timeout sctp-cmt-pf-2paths-1path-fails sctp-cmt-pf-3paths-1path-fails sctp-cmt-pf-packet-loss-dest-conf sctp-cmt-pf-Rtx-ssthresh sctp-cmt-pf-Rtx-cwnd sctp-cmt-pf-Timeout-pmr sctp-non-renegable-ack-no-loss sctp-sack-with-loss sctp-non-renegable-ack-with-loss sctp-sack-with-loss-unordered sctp-non-renegable-ack-with-loss-unordered sctp-non-renegable-ack-with-loss-multistream sctp-cmt-2paths-1path-fails-with-non-renegable-acks Running test sctp-2packetsTimeout: @@ -23355,8 +23391,8 @@ ../../ns test-suite-sctp.tcl sctp-cmt-2paths-1path-fails-with-non-renegable-acks QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:06:52 -12 2025 -Sun Apr 13 01:06:54 -12 2025 +Mon Apr 14 04:01:03 +14 2025 +Mon Apr 14 04:01:05 +14 2025 *** ./test-all-tcpLinux Tests: tcpLinuxBase tcpLinuxDropTail_reno tcpLinuxRED_reno tcpLinuxDropTail_vegas tcpLinuxRED_vegas tcpLinuxDropTail_htcp tcpLinuxRED_htcp tcpLinuxDropTail_bic tcpLinuxRED_bic tcpLinuxDropTail_cubic tcpLinuxRED_cubic tcpLinuxDropTail_hybla tcpLinuxRED_hybla tcpLinuxDropTail_lp tcpLinuxRED_lp tcpLinuxDropTail_compound tcpLinuxRED_compound tcpLinuxDropTail_veno tcpLinuxRED_veno tcpLinuxDropTail_yeah tcpLinuxRED_yeah tcpLinuxDropTail_illinois tcpLinuxRED_illinois tcpLinuxDropTail_westwood tcpLinuxRED_westwood tcpLinuxDropTail_highspeed tcpLinuxRED_highspeed tcpLinuxDropTail_scalable tcpLinuxRED_scalable Running test tcpLinuxBase: @@ -23382,20 +23418,20 @@ cmd select_ca vegas cmd set_ca_default_param linux debug_level 2 cmd select_ca vegas -0xb06378 resizing timestamp table -0xb06378 resizing timestamp table -0xb06378 resizing timestamp table +0x110f380 resizing timestamp table +0x110f380 resizing timestamp table +0x110f380 resizing timestamp table Test output agrees with reference output Running test tcpLinuxRED_vegas: ../../ns test-suite-tcpLinux.tcl tcpLinuxRED_vegas QUIET cmd select_ca vegas cmd set_ca_default_param linux debug_level 2 cmd select_ca vegas -0xe71c78 resizing timestamp table -0xe71c78 resizing timestamp table -0xe71c78 resizing timestamp table -0xe76ae0 resizing timestamp table -0xe76ae0 resizing timestamp table +0x1ea1c88 resizing timestamp table +0x1ea1c88 resizing timestamp table +0x1ea1c88 resizing timestamp table +0x1ea6af0 resizing timestamp table +0x1ea6af0 resizing timestamp table Test output agrees with reference output Running test tcpLinuxDropTail_htcp: ../../ns test-suite-tcpLinux.tcl tcpLinuxDropTail_htcp QUIET @@ -23450,115 +23486,115 @@ cmd select_ca lp cmd set_ca_default_param linux debug_level 2 cmd select_ca lp -0x1bf6378 resizing timestamp table -0x1bf6378 resizing timestamp table -0x1bf6378 resizing timestamp table -0x1bfb808 resizing timestamp table -0x1bfb808 resizing timestamp table -0x1bfb808 resizing timestamp table +0x1402380 resizing timestamp table +0x1402380 resizing timestamp table +0x1402380 resizing timestamp table +0x1407808 resizing timestamp table +0x1407808 resizing timestamp table +0x1407808 resizing timestamp table Test output agrees with reference output Running test tcpLinuxRED_lp: ../../ns test-suite-tcpLinux.tcl tcpLinuxRED_lp QUIET cmd select_ca lp cmd set_ca_default_param linux debug_level 2 cmd select_ca lp -0x264fc78 resizing timestamp table -0x264fc78 resizing timestamp table -0x264fc78 resizing timestamp table -0x2654ac0 resizing timestamp table -0x2654ac0 resizing timestamp table +0x233ec88 resizing timestamp table +0x233ec88 resizing timestamp table +0x233ec88 resizing timestamp table +0x2343ad0 resizing timestamp table +0x2343ad0 resizing timestamp table Test output agrees with reference output Running test tcpLinuxDropTail_compound: ../../ns test-suite-tcpLinux.tcl tcpLinuxDropTail_compound QUIET cmd select_ca compound cmd set_ca_default_param linux debug_level 2 cmd select_ca compound -0xc00378 resizing timestamp table -0xc00378 resizing timestamp table -0xc00378 resizing timestamp table -0xc05808 resizing timestamp table -0xc05808 resizing timestamp table -0xc05808 resizing timestamp table +0x258d378 resizing timestamp table +0x258d378 resizing timestamp table +0x258d378 resizing timestamp table +0x2592808 resizing timestamp table +0x2592808 resizing timestamp table +0x2592808 resizing timestamp table Test output agrees with reference output Running test tcpLinuxRED_compound: ../../ns test-suite-tcpLinux.tcl tcpLinuxRED_compound QUIET cmd select_ca compound cmd set_ca_default_param linux debug_level 2 cmd select_ca compound -0x21dfc78 resizing timestamp table -0x21dfc78 resizing timestamp table -0x21dfc78 resizing timestamp table -0x21e4ae0 resizing timestamp table -0x21e4ae0 resizing timestamp table +0x1f66c88 resizing timestamp table +0x1f66c88 resizing timestamp table +0x1f66c88 resizing timestamp table +0x1f6baf0 resizing timestamp table +0x1f6baf0 resizing timestamp table Test output agrees with reference output Running test tcpLinuxDropTail_veno: ../../ns test-suite-tcpLinux.tcl tcpLinuxDropTail_veno QUIET cmd select_ca veno cmd set_ca_default_param linux debug_level 2 cmd select_ca veno -0xd26378 resizing timestamp table -0xd26378 resizing timestamp table -0xd26378 resizing timestamp table -0xd2b808 resizing timestamp table -0xd2b808 resizing timestamp table -0xd2b808 resizing timestamp table +0x23d7380 resizing timestamp table +0x23d7380 resizing timestamp table +0x23d7380 resizing timestamp table +0x23dc808 resizing timestamp table +0x23dc808 resizing timestamp table +0x23dc808 resizing timestamp table Test output agrees with reference output Running test tcpLinuxRED_veno: ../../ns test-suite-tcpLinux.tcl tcpLinuxRED_veno QUIET cmd select_ca veno cmd set_ca_default_param linux debug_level 2 cmd select_ca veno -0xf03c78 resizing timestamp table -0xf03c78 resizing timestamp table -0xf03c78 resizing timestamp table -0xf08ac0 resizing timestamp table -0xf08ac0 resizing timestamp table +0x18dcc88 resizing timestamp table +0x18dcc88 resizing timestamp table +0x18dcc88 resizing timestamp table +0x18e1ad0 resizing timestamp table +0x18e1ad0 resizing timestamp table Test output agrees with reference output Running test tcpLinuxDropTail_yeah: ../../ns test-suite-tcpLinux.tcl tcpLinuxDropTail_yeah QUIET cmd select_ca yeah cmd set_ca_default_param linux debug_level 2 cmd select_ca yeah -0x1762378 resizing timestamp table -0x1762378 resizing timestamp table -0x1762378 resizing timestamp table -0x1767808 resizing timestamp table -0x1767808 resizing timestamp table -0x1767808 resizing timestamp table +0x16e2380 resizing timestamp table +0x16e2380 resizing timestamp table +0x16e2380 resizing timestamp table +0x16e7808 resizing timestamp table +0x16e7808 resizing timestamp table +0x16e7808 resizing timestamp table Test output agrees with reference output Running test tcpLinuxRED_yeah: ../../ns test-suite-tcpLinux.tcl tcpLinuxRED_yeah QUIET cmd select_ca yeah cmd set_ca_default_param linux debug_level 2 cmd select_ca yeah -0xa44c78 resizing timestamp table -0xa44c78 resizing timestamp table -0xa44c78 resizing timestamp table -0xa49ac0 resizing timestamp table -0xa49ac0 resizing timestamp table +0x127fc88 resizing timestamp table +0x127fc88 resizing timestamp table +0x127fc88 resizing timestamp table +0x1284ad0 resizing timestamp table +0x1284ad0 resizing timestamp table Test output agrees with reference output Running test tcpLinuxDropTail_illinois: ../../ns test-suite-tcpLinux.tcl tcpLinuxDropTail_illinois QUIET cmd select_ca illinois cmd set_ca_default_param linux debug_level 2 cmd select_ca illinois -0xf8e378 resizing timestamp table -0xf8e378 resizing timestamp table -0xf8e378 resizing timestamp table -0xf93808 resizing timestamp table -0xf93808 resizing timestamp table -0xf93808 resizing timestamp table +0x17d9378 resizing timestamp table +0x17d9378 resizing timestamp table +0x17d9378 resizing timestamp table +0x17de808 resizing timestamp table +0x17de808 resizing timestamp table +0x17de808 resizing timestamp table Test output agrees with reference output Running test tcpLinuxRED_illinois: ../../ns test-suite-tcpLinux.tcl tcpLinuxRED_illinois QUIET cmd select_ca illinois cmd set_ca_default_param linux debug_level 2 cmd select_ca illinois -0x1ae6c78 resizing timestamp table -0x1ae6c78 resizing timestamp table -0x1ae6c78 resizing timestamp table -0x1aebae0 resizing timestamp table -0x1aebae0 resizing timestamp table +0x19b0c88 resizing timestamp table +0x19b0c88 resizing timestamp table +0x19b0c88 resizing timestamp table +0x19b5af0 resizing timestamp table +0x19b5af0 resizing timestamp table Test output agrees with reference output Running test tcpLinuxDropTail_westwood: ../../ns test-suite-tcpLinux.tcl tcpLinuxDropTail_westwood QUIET @@ -23597,8 +23633,8 @@ cmd select_ca scalable Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:10:36 -12 2025 -Sun Apr 13 01:10:38 -12 2025 +Mon Apr 14 04:03:15 +14 2025 +Mon Apr 14 04:03:17 +14 2025 *** ./test-all-tcpHighspeed Tests: tcp tcpHighspeed tcp1 tcp1A tcpHighspeed1 tcpHighspeed1A tcpHighspeed2 tcpHighspeed3 tcpHighspeed4 tcpHighspeed5 Running test tcp: @@ -23642,8 +23678,8 @@ Guide: Highspeed TCP, parameters set aggressively. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:12:27 -12 2025 -Sun Apr 13 01:12:29 -12 2025 +Mon Apr 14 04:04:26 +14 2025 +Mon Apr 14 04:04:28 +14 2025 *** ./test-all-frto Tests: immediateAck immediateAckReno immediateAckNewReno noImmediateAckNewReno noImmediateAckSack delaySpikesSack dropsNDelaySpikes spikeNDupAck Running test immediateAck: @@ -23671,8 +23707,8 @@ ../../ns test-suite-frto.tcl spikeNDupAck QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:12:41 -12 2025 -Sun Apr 13 01:12:43 -12 2025 +Mon Apr 14 04:04:38 +14 2025 +Mon Apr 14 04:04:40 +14 2025 *** ./test-all-friendly Tests: slowStartDiscount slowStartDiscount1 slowStartDiscountCA smooth smoothCA slowStart slowStartCA slowStartEWMA slowStartFixed ecn slowStartTcp impulseDiscount impulseDiscountCA impulse impulseCA impulseMultReport impulseMultReportDiscount impulseMultReportDiscountCA impulseMultReportCA impulseTcp two-friendly two-friendlyCA OnlyTcp randomized randomizedCA randomized1 randomized1CA slow twoDrops manyDrops HighLoss HighLossShort HighLossImprecise HighLossMinRTO HighLossConservative HighLossTCP TFRC_FTP TFRC_CBR printLosses printLossesShort printLossesShort3 goodTFRC droppedTFRC delayedTFRC delayedTFRC1 delayedTFRC2 goodTCP droppedTCP delayedTCP delayedTCP2 initRate initRateLarge initRateLarger initRateRFC3390 tfrcOnly tfrcOnlyHighLoss tfrcOnlyHighLoss1 voip voipHeader voipNoHeader voipEcn noVoip idleTfrc idleTcp idleTfrc1 idleTcp1 shortIdleTcp idleTfrc1 Running test slowStartDiscount: @@ -24320,8 +24356,8 @@ Guide: TFRC with only one idle period during slow-start. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:15:32 -12 2025 -Sun Apr 13 01:15:34 -12 2025 +Mon Apr 14 04:06:56 +14 2025 +Mon Apr 14 04:06:58 +14 2025 *** ./test-all-realaudio Tests: realaudio Running test realaudio: @@ -24329,8 +24365,8 @@ NS EXITING... Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:15:41 -12 2025 -Sun Apr 13 01:15:43 -12 2025 +Mon Apr 14 04:06:59 +14 2025 +Mon Apr 14 04:07:01 +14 2025 *** ./test-all-ecn Tests: ecn ecn_nodrop_tahoe ecn_twoecn_tahoe ecn_drop_tahoe ecn_drop1_tahoe ecn_noecn_tahoe ecn_bursty_tahoe ecn_burstyEcn_tahoe ecn_noBugfix_tahoe ecn_timeout_tahoe ecn_timeout2_tahoe ecn_timeout3_tahoe ecn_smallwin_tahoe ecn_smallwinEcn_tahoe ecn_smallwin1Ecn_tahoe ecn_smallwin2Ecn_tahoe ecn_smallwin3Ecn_tahoe ecn_secondpkt_tahoe ecn_secondpktEcn_tahoe ecn_nodrop_tahoe_delack ecn_twoecn_tahoe_delack ecn_drop_tahoe_delack ecn_drop1_tahoe_delack ecn_smallwinEcn_tahoe_delack ecn_nodrop_reno ecn_twoecn_reno ecn_drop_reno ecn_drop1_reno ecn_noecn_reno ecn_bursty_reno ecn_burstyEcn_reno ecn_noBugfix_reno ecn_timeout_reno ecn_timeout1_reno ecn_smallwin_reno ecn_smallwinEcn_reno ecn_smallwin1Ecn_reno ecn_secondpkt_reno ecn_secondpktEcn_reno ecn_nodrop_reno_delack ecn_twoecn_reno_delack ecn_drop_reno_delack ecn_smallwinEcn_reno_delack ecn_nodrop_sack ecn_twoecn_sack ecn_drop_sack ecn_drop1_sack ecn_noecn_sack ecn_bursty_sack ecn_burstyEcn_sack ecn_burstyEcn1_sack ecn_noBugfix_sack ecn_timeout_sack ecn_timeout1_sack ecn_fourdrops_sack ecn_smallwin_sack ecn_smallwinEcn_sack ecn_smallwin1Ecn_sack ecn_secondpkt_sack ecn_secondpktEcn_sack ecn_nodrop_sack_delack ecn_twoecn_sack_delack ecn_drop_sack_delack ecn_drop1_sack_delack ecn_smallwinEcn_sack_delack ecn_nodrop_newreno ecn_twoecn_newreno ecn_drop_newreno ecn_drop1_newreno ecn_noecn_newreno ecn_bursty_newreno ecn_burstyEcn_newreno ecn_timeout_newreno ecn_timeout1_newreno ecn_smallwin_newreno ecn_smallwinEcn_newreno ecn_secondpkt_newreno ecn_secondpktEcn_newreno ecn_nodrop_newreno_delack ecn_twoecn_newreno_delack ecn_drop_newreno_delack ecn_drop1_newreno_delack ecn_smallwinEcn_newreno_delack ecn1 Running test ecn: @@ -24667,8 +24703,8 @@ Guide: Two TCPs, one with ECN and one without. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:18:04 -12 2025 -Sun Apr 13 01:18:06 -12 2025 +Mon Apr 14 04:09:01 +14 2025 +Mon Apr 14 04:09:03 +14 2025 *** ./test-all-ecn-ack Tests: ecn_ack ecn_ack_fulltcp synack synack_fulltcp synack0 synack0A synack-4 synack-4-maxconnect synack-5-maxconnect synack-15 synack1 synack0_fulltcp synack1_fulltcp synack2 synack2_fulltcp synack2a_fulltcp synack2b_fulltcp synack3_fulltcp synack3b_fulltcp synack3a_fulltcp synack3c_fulltcp synack3d_fulltcp synack3f_fulltcp synack3g_fulltcp synack3h_fulltcp synack4c_fulltcp synack_many_fulltcp Running test ecn_ack: @@ -24787,8 +24823,8 @@ Guide: All SYN/ACK packets dropped, FullTCP, no ECN. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:18:50 -12 2025 -Sun Apr 13 01:18:52 -12 2025 +Mon Apr 14 04:09:39 +14 2025 +Mon Apr 14 04:09:42 +14 2025 *** ./test-all-ecn-full Tests: ecn_nodrop_tahoe_full ecn_twoecn_tahoe_full ecn_drop_tahoe_full ecn_drop1_tahoe_full ecn_drop2_tahoe_full ecn_noecn_tahoe_full ecn_bursty_tahoe_full ecn_burstyEcn_tahoe_full ecn_noBugfix_tahoe_full ecn_timeout_tahoe_full ecn_timeout2_tahoe_full ecn_timeout3_tahoe_full ecn_smallwin_tahoe_full ecn_smallwinEcn_tahoe_full ecn_smallwin1Ecn_tahoe_full ecn_smallwin2Ecn_tahoe_full ecn_smallwin3Ecn_tahoe_full ecn_secondpkt_tahoe_full ecn_secondpktEcn_tahoe_full ecn_nodrop_tahoe_full_delack ecn_twoecn_tahoe_full_delack ecn_drop_tahoe_full_delack ecn_drop1_tahoe_full_delack ecn_smallwinEcn_tahoe_full_delack ecn_nodrop_reno_full ecn_twoecn_reno_full ecn_drop_reno_full ecn_drop1_reno_full ecn_noecn_reno_full ecn_bursty_reno_full ecn_burstyEcn_reno_full ecn_noBugfix_reno_full ecn_timeout_reno_full ecn_timeout1_reno_full ecn_smallwin_reno_full ecn_smallwinEcn_reno_full ecn_smallwin1Ecn_reno_full ecn_secondpkt_reno_full ecn_secondpktEcn_reno_full ecn_nodrop_reno_full_delack ecn_twoecn_reno_full_delack ecn_drop_reno_full_delack ecn_drop1_reno_full_delack ecn_smallwinEcn_reno_full_delack ecn_nodrop_sack_full ecn_twoecn_sack_full ecn_drop_sack_full ecn_drop1_sack_full ecn_noecn_sack_full ecn_bursty_sack_full ecn_burstyEcn_sack_full ecn_burstyEcn1_sack_full ecn_noBugfix_sack_full ecn_timeout_sack_full ecn_timeout1_sack_full ecn_fourdrops_sack_full ecn_smallwin_sack_full ecn_smallwinEcn_sack_full ecn_smallwin1Ecn_sack_full ecn_secondpkt_sack_full ecn_secondpktEcn_sack_full ecn_nodrop_sack_full_delack ecn_twoecn_sack_full_delack ecn_drop_sack_full_delack ecn_drop1_sack_full_delack ecn_smallwinEcn_sack_full_delack ecn_nodrop_newreno_full ecn_twoecn_newreno_full ecn_drop_newreno_full ecn_drop1_newreno_full ecn_noecn_newreno_full ecn_bursty_newreno_full ecn_burstyEcn_newreno_full ecn_timeout_newreno_full ecn_timeout1_newreno_full ecn_smallwin_newreno_full ecn_smallwinEcn_newreno_full ecn_secondpkt_newreno_full ecn_secondpktEcn_newreno_full ecn_nodrop_newreno_full_delack ecn_twoecn_newreno_full_delack ecn_drop_newreno_full_delack ecn_drop1_newreno_full_delack ecn_smallwinEcn_newreno_full_delack Running test ecn_nodrop_tahoe_full: @@ -25125,8 +25161,8 @@ Guide: ECN with a window of one packet. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:21:27 -12 2025 -Sun Apr 13 01:21:29 -12 2025 +Mon Apr 14 04:11:40 +14 2025 +Mon Apr 14 04:11:42 +14 2025 *** ./test-all-quickstart Tests: no_quickstart quickstart quickstart1 quickstart2 quickstart3 quickstart4 quickstart4full high_request bad_router changing_rtt changing_rtt1 no_acks_back pkt_drops many_requests many_requests3 stats stats1 rate_request rate_request1 rate_request3 rate_request4 routers1 routers2 routers3 routers4 routers5 routers6 small-request Running test no_quickstart: @@ -25259,8 +25295,8 @@ Guide: Quick-Start, a very small request. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:22:11 -12 2025 -Sun Apr 13 01:22:13 -12 2025 +Mon Apr 14 04:12:20 +14 2025 +Mon Apr 14 04:12:22 +14 2025 *** ./test-all-diffusion3 Tests: simple-ping 2pp-5n-1s-1r 2pp-10n-4s-1r 2pp-10n-1s-4r push-5n-1s-1r push-10n-1s-4r push-10n-4s-1r 1pp-5n-1s-1r 1pp-10n-4s-1r 1pp-10n-1s-4r gear-2pp-5n-1s-1r gear-2pp-10n-4s-1r gear-push-10n-1s-4r Running test simple-ping: @@ -25394,8 +25430,8 @@ highestAntennaZ_ = 1.5, distCST_ = 550.0 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:22:33 -12 2025 -Sun Apr 13 01:22:35 -12 2025 +Mon Apr 14 04:12:41 +14 2025 +Mon Apr 14 04:12:43 +14 2025 *** ./test-all-smac Tests: brdcast1 brdcast1_sync brdcast2 brdcast2_sync unicast1 unicast1_sync unicast2 unicast2_sync unicast3 unicast3_sync unicast4 unicast4_sync unicast5 unicast5_sync unicast6 unicast6_sync unicast7 unicast7_sync unicast8 unicast8_sync unicast9 unicast9_sync unicast10 unicast10_sync unicast11 unicast11_sync unicast12 unicast12_sync Running test brdcast1: @@ -26103,8 +26139,8 @@ node: 2 ..............data sent Uni............ Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:23:16 -12 2025 -Sun Apr 13 01:23:18 -12 2025 +Mon Apr 14 04:13:18 +14 2025 +Mon Apr 14 04:13:20 +14 2025 *** ./test-all-manual-routing Tests: one_client Running test one_client: @@ -26120,8 +26156,8 @@ total clients finished: 1 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:23:20 -12 2025 -Sun Apr 13 01:23:22 -12 2025 +Mon Apr 14 04:13:21 +14 2025 +Mon Apr 14 04:13:24 +14 2025 *** ./test-all-lan Tests: lan-routing-flat lan-routing-flat-qlimit congested lan-routing-hier lan-broadcast lan-abstract lan-mactrace Running test lan-routing-flat: @@ -26175,8 +26211,8 @@ Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:23:35 -12 2025 -Sun Apr 13 01:23:37 -12 2025 +Mon Apr 14 04:13:34 +14 2025 +Mon Apr 14 04:13:36 +14 2025 *** ./test-all-red Tests: red1 ecn red2 red_twoway red_twowaybytes flows_unforced flows_forced flows_combined ungentle gentle gentleEcn gentleEcn1 ungentleBadParams gentleBadParams q_weight q_weight_auto congested congested_mark_p congested1_mark_p congested2_mark_p Running test red1: @@ -26276,8 +26312,8 @@ total_drops 33 total_packets 614 Test output agrees with reference output Some test failed. -Sun Apr 13 01:24:49 -12 2025 -Sun Apr 13 01:24:51 -12 2025 +Mon Apr 14 04:14:19 +14 2025 +Mon Apr 14 04:14:21 +14 2025 *** ./test-all-adaptive-red Tests: red1 red1Adapt red1ECN red1AdaptECN red1AdaptFeng fastlink fastlinkAutowq fastlinkAutothresh fastlinkAdapt fastlinkAllAdapt fastlinkAllAdaptECN fastlinkAllAdapt1 longlink longlinkAdapt longlinkAdapt1 red2 red2Adapt red2A-Adapt red2-AdaptFeng red3 red3Adapt red4Adapt transient transient1 transient2 notcautious cautious cautious2 cautious3 Running test red1: @@ -26368,8 +26404,8 @@ ../../ns test-suite-adaptive-red.tcl cautious3 QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:26:25 -12 2025 -Sun Apr 13 01:26:27 -12 2025 +Mon Apr 14 04:15:31 +14 2025 +Mon Apr 14 04:15:33 +14 2025 *** ./test-all-red-pd Tests: simple unresponsive frp complete cbrs cbrs-noidle Running test simple: @@ -26393,8 +26429,8 @@ link utilization 1.000 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:26:40 -12 2025 -Sun Apr 13 01:26:42 -12 2025 +Mon Apr 14 04:15:45 +14 2025 +Mon Apr 14 04:15:47 +14 2025 *** ./test-all-rio Tests: strict proportional gentle notGentle tagging Running test strict: @@ -26413,8 +26449,8 @@ ../../ns test-suite-rio.tcl tagging QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:26:52 -12 2025 -Sun Apr 13 01:26:54 -12 2025 +Mon Apr 14 04:15:56 +14 2025 +Mon Apr 14 04:15:58 +14 2025 *** ./test-all-vq Tests: vq1 ecn vq2 vq_twoway vq_twowaybytes Running test vq1: @@ -26433,8 +26469,8 @@ ../../ns test-suite-vq.tcl vq_twowaybytes QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:27:02 -12 2025 -Sun Apr 13 01:27:04 -12 2025 +Mon Apr 14 04:16:05 +14 2025 +Mon Apr 14 04:16:07 +14 2025 *** ./test-all-rem Tests: rem1 ecn rem2 rem_twoway rem_twowayecn Running test rem1: @@ -26453,8 +26489,8 @@ ../../ns test-suite-rem.tcl rem_twowayecn QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:27:13 -12 2025 -Sun Apr 13 01:27:15 -12 2025 +Mon Apr 14 04:16:15 +14 2025 +Mon Apr 14 04:16:17 +14 2025 *** ./test-all-gk Tests: gk1 gk2 gk_twoway Running test gk1: @@ -26467,8 +26503,8 @@ ../../ns test-suite-gk.tcl gk_twoway QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:27:20 -12 2025 -Sun Apr 13 01:27:22 -12 2025 +Mon Apr 14 04:16:21 +14 2025 +Mon Apr 14 04:16:23 +14 2025 *** ./test-all-pi Tests: pi1 ecn pi2 pi_twoway pi_twowaybytes Running test pi1: @@ -26487,8 +26523,8 @@ ../../ns test-suite-pi.tcl pi_twowaybytes QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:27:30 -12 2025 -Sun Apr 13 01:27:32 -12 2025 +Mon Apr 14 04:16:31 +14 2025 +Mon Apr 14 04:16:33 +14 2025 *** ./test-all-cbq Tests: WRR PRR AO TL FORMAL FORMAL_TCP MAX1 MAX2 EXTRA1 EXTRA2 MIN1 MIN3 MIN4 MIN6 TwoAO TwoAO2 TwoAO3 TwoTL TwoF TwoDynamic TwoDynamic1 TwoDynamic1WRR TwoWRR Running test WRR: @@ -26561,8 +26597,8 @@ ../../ns test-suite-cbq.tcl TwoWRR QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:28:05 -12 2025 -Sun Apr 13 01:28:07 -12 2025 +Mon Apr 14 04:17:02 +14 2025 +Mon Apr 14 04:17:04 +14 2025 *** ./test-all-schedule Tests: fifo-droptail fifo-red sfq fq fq_small_queue drr Running test fifo-droptail: @@ -26584,8 +26620,8 @@ ../../ns test-suite-schedule.tcl drr QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:28:16 -12 2025 -Sun Apr 13 01:28:18 -12 2025 +Mon Apr 14 04:17:12 +14 2025 +Mon Apr 14 04:17:14 +14 2025 *** ./test-all-rr Tests: srr Running test srr: @@ -26593,8 +26629,8 @@ processing output ... Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:28:19 -12 2025 -Sun Apr 13 01:28:21 -12 2025 +Mon Apr 14 04:17:15 +14 2025 +Mon Apr 14 04:17:17 +14 2025 *** ./test-all-monitor Tests: tcp tcp-monitor Running test tcp: @@ -26604,8 +26640,8 @@ ../../ns test-suite-monitor.tcl tcp-monitor QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:28:24 -12 2025 -Sun Apr 13 01:28:26 -12 2025 +Mon Apr 14 04:17:20 +14 2025 +Mon Apr 14 04:17:22 +14 2025 *** ./test-all-jobs Tests: jobs-rate jobs-lossdel Running test jobs-rate: @@ -26741,8 +26777,8 @@ Class 4: Not concerned Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:28:30 -12 2025 -Sun Apr 13 01:28:32 -12 2025 +Mon Apr 14 04:17:25 +14 2025 +Mon Apr 14 04:17:27 +14 2025 *** ./test-all-intserv Tests: MS HB ACTP ACTO Param Running test MS: @@ -26761,8 +26797,8 @@ ../../ns test-suite-intserv.tcl Param QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:29:31 -12 2025 -Sun Apr 13 01:29:33 -12 2025 +Mon Apr 14 04:18:07 +14 2025 +Mon Apr 14 04:18:09 +14 2025 *** ./test-all-diffserv Tests: tb tsw2cm tsw3cm srtcm trtcm Running test tb: @@ -26781,8 +26817,8 @@ ../../ns test-suite-diffserv.tcl trtcm QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:29:42 -12 2025 -Sun Apr 13 01:29:44 -12 2025 +Mon Apr 14 04:18:17 +14 2025 +Mon Apr 14 04:18:19 +14 2025 *** ./test-all-webtraf Tests: 1s-1p 1s-2p 3s-2p fcfs stf Running test 1s-1p: @@ -26801,8 +26837,8 @@ ../../ns test-suite-webtraf.tcl stf QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:29:52 -12 2025 -Sun Apr 13 01:29:54 -12 2025 +Mon Apr 14 04:18:25 +14 2025 +Mon Apr 14 04:18:27 +14 2025 *** ./test-all-mip Tests: mip-adv-one mip-adv-zero mip-adv-multi Running test mip-adv-one: @@ -26815,8 +26851,8 @@ ../../ns test-suite-mip.tcl mip-adv-multi QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:30:01 -12 2025 -Sun Apr 13 01:30:03 -12 2025 +Mon Apr 14 04:18:33 +14 2025 +Mon Apr 14 04:18:35 +14 2025 *** ./test-all-links Tests: links changeDelay changeDelay1 changeDelay2 links1 changeBandwidth dropPacket delayPacket delayPacket1 delaySpike delaySpike1 delaySpikes delaySpikes1 channelAllocDelay channelAllocDelay1 change_queue queue_shrink Running test links: @@ -26871,8 +26907,8 @@ ../../ns test-suite-links.tcl queue_shrink QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:30:29 -12 2025 -Sun Apr 13 01:30:31 -12 2025 +Mon Apr 14 04:18:57 +14 2025 +Mon Apr 14 04:18:59 +14 2025 *** ./test-all-linkstate Tests: eqp Running test eqp: @@ -26881,8 +26917,8 @@ v 1.1000000000000001 link-up 2 4 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:30:33 -12 2025 -Sun Apr 13 01:30:35 -12 2025 +Mon Apr 14 04:19:00 +14 2025 +Mon Apr 14 04:19:02 +14 2025 *** ./test-all-mpls Tests: simple control-driven data-driven reroute Running test simple: @@ -26902,8 +26938,8 @@ ../../ns test-suite-mpls.tcl reroute QUIET Test output agrees with reference output Some test failed. -Sun Apr 13 01:30:44 -12 2025 -Sun Apr 13 01:30:46 -12 2025 +Mon Apr 14 04:19:09 +14 2025 +Mon Apr 14 04:19:11 +14 2025 *** ./test-all-oddBehaviors Tests: onedrop_reno onedrop_sack onedrop_sack1 Running test onedrop_reno: @@ -26919,8 +26955,8 @@ Guide: Sack, Limited Transmit, inflated congestion window. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:30:50 -12 2025 -Sun Apr 13 01:30:52 -12 2025 +Mon Apr 14 04:19:15 +14 2025 +Mon Apr 14 04:19:17 +14 2025 *** ./test-all-WLtutorial Tests: wireless1 wireless2 wireless3 Running test wireless1: @@ -26973,8 +27009,8 @@ highestAntennaZ_ = 1.5, distCST_ = 550.0 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:31:06 -12 2025 -Sun Apr 13 01:31:08 -12 2025 +Mon Apr 14 04:19:27 +14 2025 +Mon Apr 14 04:19:29 +14 2025 *** ./test-all-wireless-infra Tests: wireless-infra Running test wireless-infra: @@ -26990,8 +27026,8 @@ highestAntennaZ_ = 1.5, distCST_ = 550.0 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:31:10 -12 2025 -Sun Apr 13 01:31:12 -12 2025 +Mon Apr 14 04:19:30 +14 2025 +Mon Apr 14 04:19:32 +14 2025 *** ./test-all-wireless-infra-mobility Tests: wireless-infra-mobility Running test wireless-infra-mobility: @@ -27010,8 +27046,8 @@ Client 4: Handoff Attempted Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:31:14 -12 2025 -Sun Apr 13 01:31:16 -12 2025 +Mon Apr 14 04:19:33 +14 2025 +Mon Apr 14 04:19:35 +14 2025 *** ./test-all-wireless-shadowing Tests: dsdv dsr Running test dsdv: @@ -27098,8 +27134,8 @@ num_nodes is set 50 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:31:26 -12 2025 -Sun Apr 13 01:31:28 -12 2025 +Mon Apr 14 04:19:42 +14 2025 +Mon Apr 14 04:19:44 +14 2025 *** ./test-all-wireless-lan-aodv Tests: aodv Running test aodv: @@ -27117,8 +27153,8 @@ highestAntennaZ_ = 1.5, distCST_ = 550.0 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:31:42 -12 2025 -Sun Apr 13 01:31:44 -12 2025 +Mon Apr 14 04:19:53 +14 2025 +Mon Apr 14 04:19:55 +14 2025 *** ./test-all-wireless-gridkeeper Tests: dsdv Running test dsdv: @@ -27135,8 +27171,8 @@ highestAntennaZ_ = 1.5, distCST_ = 550.0 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:32:07 -12 2025 -Sun Apr 13 01:32:09 -12 2025 +Mon Apr 14 04:20:07 +14 2025 +Mon Apr 14 04:20:09 +14 2025 *** ./test-all-wireless-diffusion Tests: diff-rate-default diff-rate-other diff-prob omnimcast flooding Running test diff-rate-default: @@ -27185,7 +27221,7 @@ *** NOTE: no node-on-off file specified. Loading traffic file... Load complete... -Segmentation fault +./test-all-template1: line 104: 24520 Segmentation fault $NS $file $t $qflag Test output differs from reference output Diagnose with: diff test-output-wireless-diffusion/diff-prob.test test-output-wireless-diffusion/diff-prob Or see URL "http://www.isi.edu/nsnam/ns/ns-problems.html". @@ -27226,8 +27262,8 @@ Network parition !! Exiting... at time 6.600797 Test output agrees with reference output Some test failed. -Sun Apr 13 01:32:25 -12 2025 -Sun Apr 13 01:32:27 -12 2025 +Mon Apr 14 04:20:19 +14 2025 +Mon Apr 14 04:20:21 +14 2025 *** ./test-all-wireless-lan-newnode Tests: dsdv dsr dsdv-wired-cum-wireless dsdv-wireless-mip Running test dsdv: @@ -27308,8 +27344,8 @@ highestAntennaZ_ = 1.5, distCST_ = 550.0 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:33:20 -12 2025 -Sun Apr 13 01:33:22 -12 2025 +Mon Apr 14 04:20:50 +14 2025 +Mon Apr 14 04:20:52 +14 2025 *** ./test-all-wireless-lan-newnode-80211Ext Tests: unicast broadcast Running test unicast: @@ -27333,8 +27369,8 @@ highestAntennaZ_ = 1.5, distCST_ = 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:33:25 -12 2025 -Sun Apr 13 01:33:27 -12 2025 +Mon Apr 14 04:20:54 +14 2025 +Mon Apr 14 04:20:56 +14 2025 *** ./test-all-source-routing Tests: source_rtg Running test source_rtg: @@ -27342,8 +27378,8 @@ Starting Simulation... Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:33:29 -12 2025 -Sun Apr 13 01:33:31 -12 2025 +Mon Apr 14 04:20:58 +14 2025 +Mon Apr 14 04:21:00 +14 2025 *** ./test-all-satellite Tests: repeater mixed wired aloha aloha.collisions mixed.legacy Running test repeater: @@ -27365,8 +27401,8 @@ ../../ns test-suite-satellite.tcl mixed.legacy QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:33:44 -12 2025 -Sun Apr 13 01:33:46 -12 2025 +Mon Apr 14 04:21:10 +14 2025 +Mon Apr 14 04:21:12 +14 2025 *** ./test-all-misc Tests: stats64 Running test stats64: @@ -27382,8 +27418,8 @@ bdep * 1: -1312283256 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:33:52 -12 2025 -Sun Apr 13 01:33:54 -12 2025 +Mon Apr 14 04:21:16 +14 2025 +Mon Apr 14 04:21:18 +14 2025 *** ./test-all-tagged-trace Tests: simple wireless Format-simple Running test simple: @@ -27404,24 +27440,24 @@ Starting Simulation... Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:34:02 -12 2025 -Sun Apr 13 01:34:04 -12 2025 +Mon Apr 14 04:21:24 +14 2025 +Mon Apr 14 04:21:26 +14 2025 *** ./test-all-message Tests: wired Running test wired: ../../ns test-suite-message.tcl wired QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:34:06 -12 2025 -Sun Apr 13 01:34:08 -12 2025 +Mon Apr 14 04:21:27 +14 2025 +Mon Apr 14 04:21:29 +14 2025 *** ./test-all-rng Tests: rngtest Running test rngtest: ../../ns test-suite-rng.tcl rngtest QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:34:10 -12 2025 -Sun Apr 13 01:34:12 -12 2025 +Mon Apr 14 04:21:31 +14 2025 +Mon Apr 14 04:21:33 +14 2025 *** ./test-all-xcp Tests: simple-xcp simple-full-xcp Running test simple-xcp: @@ -27431,8 +27467,8 @@ ../../ns test-suite-xcp.tcl simple-full-xcp QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:34:19 -12 2025 -Sun Apr 13 01:34:21 -12 2025 +Mon Apr 14 04:21:38 +14 2025 +Mon Apr 14 04:21:40 +14 2025 *** ./test-all-wpan Tests: wpan Running test wpan: @@ -27588,8 +27624,8 @@ [17.803360](node 3) association successful (non-beacon enabled) [channel:11] [PAN_ID:0] [CoordAddr:20] Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:34:23 -12 2025 -Sun Apr 13 01:34:25 -12 2025 +Mon Apr 14 04:21:42 +14 2025 +Mon Apr 14 04:21:44 +14 2025 *** ./test-all-energy Tests: brdcast0 dsdv dsr aodv Running test brdcast0: @@ -27644,8 +27680,8 @@ highestAntennaZ_ = 1.5, distCST_ = 550.0 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:34:31 -12 2025 -Sun Apr 13 01:34:33 -12 2025 +Mon Apr 14 04:21:49 +14 2025 +Mon Apr 14 04:21:51 +14 2025 *** ./test-all-snoop Tests: simple Running test simple: @@ -27658,8 +27694,8 @@ finishing.. Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:34:34 -12 2025 -Sun Apr 13 01:34:36 -12 2025 +Mon Apr 14 04:21:52 +14 2025 +Mon Apr 14 04:21:54 +14 2025 *** ./test-all-packmime Tests: 1node-http_1_0 1node-http_1_1 2node-http_1_1 1node-http_1_0_ecn+ 1node-http_1_1_ecn+ 2node-http_1_1_ecn+ 1node-http_1_0_ecn+B 1node-http_1_1_ecn+B 2node-http_1_1_ecn+B Running test 1node-http_1_0: @@ -27690,8 +27726,8 @@ ../../ns test-suite-packmime.tcl 2node-http_1_1_ecn+B QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:34:55 -12 2025 -Sun Apr 13 01:34:57 -12 2025 +Mon Apr 14 04:22:09 +14 2025 +Mon Apr 14 04:22:11 +14 2025 *** ./test-all-delaybox Tests: oneway oneway-asymmetric full full-asymmetric Running test oneway: @@ -27707,8 +27743,8 @@ ../../ns test-suite-delaybox.tcl full-asymmetric QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:35:03 -12 2025 -Sun Apr 13 01:35:05 -12 2025 +Mon Apr 14 04:22:16 +14 2025 +Mon Apr 14 04:22:18 +14 2025 *** ./test-all-tmix Tests: Lossy-alt Lossless-orig Lossless-alt Oneway-lossy-alt Oneway-lossless-alt Running test Lossy-alt: @@ -27727,8 +27763,8 @@ ../../ns test-suite-tmix.tcl Oneway-lossless-alt QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:37:59 -12 2025 -Sun Apr 13 01:38:01 -12 2025 +Mon Apr 14 04:24:07 +14 2025 +Mon Apr 14 04:24:09 +14 2025 *** ./test-all-srm Tests: srm-chain srm-star srm-adapt-rep srm-adapt-req Running test srm-chain: @@ -27748,8 +27784,8 @@ using backward compatible Agent/CBR; use Application/Traffic/CBR instead Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:38:08 -12 2025 -Sun Apr 13 01:38:10 -12 2025 +Mon Apr 14 04:24:15 +14 2025 +Mon Apr 14 04:24:17 +14 2025 *** ./test-all-smac-multihop Tests: smac-multihop Running test smac-multihop: @@ -27840,8 +27876,8 @@ node: 8 ..............data sent Uni............ Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:38:12 -12 2025 -Sun Apr 13 01:38:14 -12 2025 +Mon Apr 14 04:24:18 +14 2025 +Mon Apr 14 04:24:20 +14 2025 *** ./test-all-hier-routing Tests: hier-simple hier-cmcast hier-session Running test hier-simple: @@ -27854,8 +27890,8 @@ ../../ns test-suite-hier-routing.tcl hier-session QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:38:19 -12 2025 -Sun Apr 13 01:38:21 -12 2025 +Mon Apr 14 04:24:25 +14 2025 +Mon Apr 14 04:24:27 +14 2025 *** ./test-all-algo-routing Tests: Algo1 Algo2 Running test Algo1: @@ -27865,8 +27901,8 @@ ../../ns test-suite-algo-routing.tcl Algo2 QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:38:24 -12 2025 -Sun Apr 13 01:38:26 -12 2025 +Mon Apr 14 04:24:29 +14 2025 +Mon Apr 14 04:24:31 +14 2025 *** ./test-all-mcast Tests: DM1 DM2 DM3 DM4 CtrMcast1 CtrMcast2 ST1 Running test DM1: @@ -27891,8 +27927,8 @@ ../../ns test-suite-mcast.tcl ST1 QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:38:37 -12 2025 -Sun Apr 13 01:38:39 -12 2025 +Mon Apr 14 04:24:41 +14 2025 +Mon Apr 14 04:24:43 +14 2025 *** ./test-all-vc Tests: VC1 VC2 VC3 Running test VC1: @@ -27905,8 +27941,8 @@ ../../ns test-suite-vc.tcl VC3 QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:38:43 -12 2025 -Sun Apr 13 01:38:45 -12 2025 +Mon Apr 14 04:24:46 +14 2025 +Mon Apr 14 04:24:48 +14 2025 *** ./test-all-session Tests: Session1 Session2 Session3 Session4 Running test Session1: @@ -27922,8 +27958,8 @@ ../../ns test-suite-session.tcl Session4 QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:38:49 -12 2025 -Sun Apr 13 01:38:51 -12 2025 +Mon Apr 14 04:24:54 +14 2025 +Mon Apr 14 04:24:56 +14 2025 *** ./test-all-mixmode Tests: Mixmode1 Mixmode2 Mixmode3 Mixmode4 Mixmode5 Mixmode6 Mixmode7 Mixmode8 Mixmode9 Mixmode10 Running test Mixmode1: @@ -27957,8 +27993,8 @@ ../../ns test-suite-mixmode.tcl Mixmode10 QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:39:04 -12 2025 -Sun Apr 13 01:39:06 -12 2025 +Mon Apr 14 04:25:08 +14 2025 +Mon Apr 14 04:25:10 +14 2025 *** ./test-all-simultaneous Tests: List Calendar Heap Splay Map Running test List: @@ -27977,8 +28013,8 @@ ../../ns test-suite-simultaneous.tcl Map QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:39:08 -12 2025 -Sun Apr 13 01:39:10 -12 2025 +Mon Apr 14 04:25:11 +14 2025 +Mon Apr 14 04:25:13 +14 2025 *** ./test-all-webcache Tests: SimpleTcp TcpApp-2node http1 http1f http2 http2f http3 http3f http4 http4f PagePool cache0-inv cache0f-inv cache0-push cache0f-push cache0-ttl cache0f-ttl cache0-ottl cache0f-ottl TLC1 TLC1f Liveness Mcast-PB Mcast-PBP Mcast-PBU Mcast-PBU-MP ttl-PB ottl-PB Mcast-PBtr Mcast-PBPtr Mcast-PBUtr ttl-PBtr ottl-PBtr mmcast-PB mmcast-PBU mttl-PB mottl-PB Running test SimpleTcp: @@ -28093,8 +28129,8 @@ ../../ns test-suite-webcache.tcl mottl-PB QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:40:28 -12 2025 -Sun Apr 13 01:40:30 -12 2025 +Mon Apr 14 04:26:16 +14 2025 +Mon Apr 14 04:26:18 +14 2025 *** ./test-all-mcache Tests: media1 media2 media3 media3a media4 media5 Running test media1: @@ -28131,16 +28167,16 @@ Total = 16384 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:40:40 -12 2025 -Sun Apr 13 01:40:42 -12 2025 +Mon Apr 14 04:26:27 +14 2025 +Mon Apr 14 04:26:29 +14 2025 *** ./test-all-plm Tests: PLM Running test PLM: ../../ns test-suite-plm.tcl PLM QUIET Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:41:00 -12 2025 -Sun Apr 13 01:41:02 -12 2025 +Mon Apr 14 04:26:40 +14 2025 +Mon Apr 14 04:26:42 +14 2025 *** ./test-all-wireless-tdma Tests: dsdv dsr Running test dsdv: @@ -28172,7 +28208,7 @@ highestAntennaZ_ = 1.5, distCST_ = 550.0 Test output agrees with reference output All test output agrees with reference output. -Sun Apr 13 01:41:21 -12 2025 +Mon Apr 14 04:26:57 +14 2025 These messages are NOT errors and can be ignored: warning: using backward compatibility mode This test is not implemented in backward compatibility mode @@ -28184,7 +28220,7 @@ make[2]: *** [Makefile:622: test] Error 1 make[2]: Leaving directory '/build/reproducible-path/ns2-2.35+dfsg' -dh_auto_test: error: make -j3 test "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 returned exit code 2 +dh_auto_test: error: make -j4 test "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 returned exit code 2 make[1]: [debian/rules:20: override_dh_auto_test] Error 25 (ignored) make[1]: Leaving directory '/build/reproducible-path/ns2-2.35+dfsg' create-stamp debian/debhelper-build-stamp @@ -28341,9 +28377,9 @@ diversion by libc6 from: /lib/ld-linux-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-armhf.so.3.usr-is-merged -dpkg-shlibdeps: warning: debian/ns2/usr/bin/nse contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin -dpkg-shlibdeps: warning: debian/ns2/usr/bin/nstk contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin dpkg-shlibdeps: warning: debian/ns2/usr/bin/ns contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin +dpkg-shlibdeps: warning: debian/ns2/usr/bin/nstk contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin +dpkg-shlibdeps: warning: debian/ns2/usr/bin/nse contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin dh_installdeb dh_gencontrol dpkg-gencontrol: warning: Depends field of package ns2-doc: substitution variable ${shlibs:Depends} used, but is not defined @@ -28351,8 +28387,8 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'ns2' in '../ns2_2.35+dfsg-9_armhf.deb'. -dpkg-deb: building package 'ns2-doc' in '../ns2-doc_2.35+dfsg-9_all.deb'. dpkg-deb: building package 'ns2-examples' in '../ns2-examples_2.35+dfsg-9_all.deb'. +dpkg-deb: building package 'ns2-doc' in '../ns2-doc_2.35+dfsg-9_all.deb'. dpkg-deb: building package 'ns2-dbgsym' in '../ns2-dbgsym_2.35+dfsg-9_armhf.deb'. dpkg-genbuildinfo --build=binary -O../ns2_2.35+dfsg-9_armhf.buildinfo dpkg-genchanges --build=binary -O../ns2_2.35+dfsg-9_armhf.changes @@ -28362,12 +28398,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/5461/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/5461/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/21256 and its subdirectories -I: Current time: Sun Apr 13 01:42:47 -12 2025 -I: pbuilder-time-stamp: 1744551767 +I: removing directory /srv/workspace/pbuilder/5461 and its subdirectories +I: Current time: Mon Apr 14 04:28:16 +14 2025 +I: pbuilder-time-stamp: 1744554496