DC-Build-Header: ns2 2.35+dfsg-1 / 2013-07-15 16:49:52 +0000 DC-Task: source:ns2 version:2.35+dfsg-1 architecture:any chroot:unstable esttime:2568 logfile:/tmp/ns2_2.35+dfsg-1_unstable_clang.log modes:binary-only:clang DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang --append-to-version "clang1" --maintainer "Lucas Nussbaum " --uploader "Lucas Nussbaum " ns2_2.35+dfsg-1' sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on ip-10-235-5-15.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ ns2 2.35+dfsg-1clang1 (amd64) 15 Jul 2013 16:49 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: ns2 Version: 2.35+dfsg-1clang1 Source Version: 2.35+dfsg-1 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/ns2-cYExAk/ns2-2.35+dfsg' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/ns2-cYExAk' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-6f1c1f6d-e816-4e67-aa97-404687f93c9a' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Get:1 http://localhost:9999 unstable InRelease [204 kB] Get:2 http://localhost:9999 unstable/main Sources/DiffIndex [7876 B] Get:3 http://localhost:9999 unstable/main amd64 Packages/DiffIndex [7876 B] Get:4 http://localhost:9999 unstable/main Translation-en/DiffIndex [7876 B] Get:5 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [23.1 kB] Get:6 http://localhost:9999 unstable/main amd64 2013-07-13-2032.15.pdiff [16.9 kB] Get:7 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [23.1 kB] Get:8 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [1809 B] Get:9 http://localhost:9999 unstable/main amd64 2013-07-13-2032.15.pdiff [16.9 kB] Get:10 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [12.9 kB] Get:11 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [1809 B] Get:12 http://localhost:9999 unstable/main amd64 2013-07-14-0231.07.pdiff [14.9 kB] Get:13 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [12.9 kB] Get:14 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [1384 B] Get:15 http://localhost:9999 unstable/main amd64 2013-07-14-0231.07.pdiff [14.9 kB] Get:16 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [4670 B] Get:17 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [1384 B] Get:18 http://localhost:9999 unstable/main amd64 2013-07-14-0832.16.pdiff [1624 B] Get:19 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [4670 B] Get:20 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [337 B] Get:21 http://localhost:9999 unstable/main amd64 2013-07-14-0832.16.pdiff [1624 B] Get:22 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [11.4 kB] Get:23 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [337 B] Get:24 http://localhost:9999 unstable/main amd64 2013-07-14-1431.18.pdiff [8223 B] Get:25 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [11.4 kB] Get:26 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [887 B] Get:27 http://localhost:9999 unstable/main amd64 2013-07-14-1431.18.pdiff [8223 B] Get:28 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [9038 B] Get:29 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [887 B] Get:30 http://localhost:9999 unstable/main amd64 2013-07-14-2031.21.pdiff [9955 B] Get:31 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [9038 B] Get:32 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [2736 B] Get:33 http://localhost:9999 unstable/main amd64 2013-07-14-2031.21.pdiff [9955 B] Get:34 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [9715 B] Get:35 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [2736 B] Get:36 http://localhost:9999 unstable/main amd64 2013-07-15-0229.01.pdiff [12.7 kB] Get:37 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [9715 B] Get:38 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [2239 B] Get:39 http://localhost:9999 unstable/main amd64 2013-07-15-0229.01.pdiff [12.7 kB] Get:40 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [3273 B] Get:41 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [2239 B] Get:42 http://localhost:9999 unstable/main amd64 2013-07-15-0830.19.pdiff [3964 B] Get:43 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [3273 B] Get:44 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [1357 B] Get:45 http://localhost:9999 unstable/main amd64 2013-07-15-0830.19.pdiff [3964 B] Get:46 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [1357 B] Fetched 381 kB in 29s (13.0 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: initscripts sysv-rc sysvinit sysvinit-utils 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 405 kB of archives. After this operation, 20.5 kB disk space will be freed. Get:1 http://localhost:9999/debian/ unstable/main sysvinit amd64 2.88dsf-42 [134 kB] Get:2 http://localhost:9999/debian/ unstable/main sysv-rc all 2.88dsf-42 [80.4 kB] Get:3 http://localhost:9999/debian/ unstable/main sysvinit-utils amd64 2.88dsf-42 [103 kB] Get:4 http://localhost:9999/debian/ unstable/main initscripts amd64 2.88dsf-42 [87.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 405 kB in 0s (5484 kB/s) (Reading database ... 13844 files and directories currently installed.) Preparing to replace sysvinit 2.88dsf-41 (using .../sysvinit_2.88dsf-42_amd64.deb) ... Unpacking replacement sysvinit ... Setting up sysvinit (2.88dsf-42) ... Not restarting sysvinit (Reading database ... 13844 files and directories currently installed.) Preparing to replace sysv-rc 2.88dsf-41 (using .../sysv-rc_2.88dsf-42_all.deb) ... Unpacking replacement sysv-rc ... Preparing to replace sysvinit-utils 2.88dsf-41 (using .../sysvinit-utils_2.88dsf-42_amd64.deb) ... Unpacking replacement sysvinit-utils ... Setting up sysvinit-utils (2.88dsf-42) ... Setting up sysv-rc (2.88dsf-42) ... (Reading database ... 13844 files and directories currently installed.) Preparing to replace initscripts 2.88dsf-41 (using .../initscripts_2.88dsf-42_amd64.deb) ... Removing unmodified and obsolete conffile /etc/init.d/mtab.sh ... Unpacking replacement initscripts ... Setting up initscripts (2.88dsf-42) ... Installing new version of config file /etc/init.d/bootmisc.sh ... Installing new version of config file /etc/init.d/checkfs.sh ... Installing new version of config file /etc/init.d/checkroot.sh ... Installing new version of config file /etc/init.d/checkroot-bootclean.sh ... Installing new version of config file /etc/init.d/mountdevsubfs.sh ... Installing new version of config file /etc/init.d/mountkernfs.sh ... Installing new version of config file /etc/init.d/rmnologin ... Installing new version of config file /etc/network/if-up.d/mountnfs ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... NOTICE: 'ns2' packaging is maintained in the 'Git' version control system at: git://git.debian.org/git/pkg-netsim/ns2.git Need to get 39.4 MB of source archives. Get:1 http://localhost:9999/debian/ unstable/main ns2 2.35+dfsg-1 (dsc) [1833 B] Get:2 http://localhost:9999/debian/ unstable/main ns2 2.35+dfsg-1 (tar) [39.4 MB] Get:3 http://localhost:9999/debian/ unstable/main ns2 2.35+dfsg-1 (diff) [15.1 kB] Fetched 39.4 MB in 2s (15.8 MB/s) Download complete and in download only mode Check arch ────────── ┌──────────────────────────────────────────────────────────────────────────────┐ │ Chroot Setup Commands │ └──────────────────────────────────────────────────────────────────────────────┘ /tmp/switch-to-clang ──────────────────── + echo 'Entering customization script...' Entering customization script... + echo 'Install of clang' Install of clang + apt-get update Hit http://localhost:9999 unstable InRelease Hit http://localhost:9999 unstable/main Sources/DiffIndex Hit http://localhost:9999 unstable/main amd64 Packages/DiffIndex Hit http://localhost:9999 unstable/main Translation-en/DiffIndex Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-3.3 Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-3.3-dev libclang1-3.3 libffi6 libllvm3.3 libobjc-4.7-dev libobjc4 libstdc++6-4.7-dev Suggested packages: libstdc++6-4.7-doc Recommended packages: llvm-3.3-dev python The following NEW packages will be installed: clang-3.3 libclang-common-3.3-dev libclang1-3.3 libffi6 libllvm3.3 libobjc-4.7-dev libobjc4 libstdc++6-4.7-dev 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need to get 27.2 MB of archives. After this operation, 80.8 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libffi6 amd64 3.0.13-4 [21.6 kB] Get:2 http://localhost:9999/debian/ unstable/main libllvm3.3 amd64 1:3.3-3 [8575 kB] Get:3 http://localhost:9999/debian/ unstable/main libobjc4 amd64 4.8.1-6 [160 kB] Get:4 http://localhost:9999/debian/ unstable/main libstdc++6-4.7-dev amd64 4.7.3-5 [1695 kB] Get:5 http://localhost:9999/debian/ unstable/main libobjc-4.7-dev amd64 4.7.3-5 [719 kB] Get:6 http://localhost:9999/debian/ unstable/main libclang-common-3.3-dev amd64 1:3.3-3 [574 kB] Get:7 http://localhost:9999/debian/ unstable/main libclang1-3.3 amd64 1:3.3-3 [4579 kB] Get:8 http://localhost:9999/debian/ unstable/main clang-3.3 amd64 1:3.3-3 [10.9 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 27.2 MB in 1s (20.9 MB/s) Selecting previously unselected package libffi6:amd64. (Reading database ... 13843 files and directories currently installed.) Unpacking libffi6:amd64 (from .../libffi6_3.0.13-4_amd64.deb) ... Selecting previously unselected package libllvm3.3:amd64. Unpacking libllvm3.3:amd64 (from .../libllvm3.3_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package libobjc4:amd64. Unpacking libobjc4:amd64 (from .../libobjc4_4.8.1-6_amd64.deb) ... Selecting previously unselected package libstdc++6-4.7-dev:amd64. Unpacking libstdc++6-4.7-dev:amd64 (from .../libstdc++6-4.7-dev_4.7.3-5_amd64.deb) ... Selecting previously unselected package libobjc-4.7-dev:amd64. Unpacking libobjc-4.7-dev:amd64 (from .../libobjc-4.7-dev_4.7.3-5_amd64.deb) ... Selecting previously unselected package libclang-common-3.3-dev. Unpacking libclang-common-3.3-dev (from .../libclang-common-3.3-dev_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package libclang1-3.3. Unpacking libclang1-3.3 (from .../libclang1-3.3_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package clang-3.3. Unpacking clang-3.3 (from .../clang-3.3_1%3a3.3-3_amd64.deb) ... Setting up libffi6:amd64 (3.0.13-4) ... Setting up libllvm3.3:amd64 (1:3.3-3) ... Setting up libobjc4:amd64 (4.8.1-6) ... Setting up libstdc++6-4.7-dev:amd64 (4.7.3-5) ... Setting up libobjc-4.7-dev:amd64 (4.7.3-5) ... Setting up libclang-common-3.3-dev (1:3.3-3) ... Setting up libclang1-3.3 (1:3.3-3) ... Setting up clang-3.3 (1:3.3-3) ... Processing triggers for libc-bin ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8' + cd /usr/bin + for VERSION in '$VERSIONS' + rm -f g++-4.6 gcc-4.6 cpp-4.6 + ln -s clang++ g++-4.6 + ln -s clang gcc-4.6 + ln -s clang cpp-4.6 + for VERSION in '$VERSIONS' + rm -f g++-4.7 gcc-4.7 cpp-4.7 + ln -s clang++ g++-4.7 + ln -s clang gcc-4.7 + ln -s clang cpp-4.7 + for VERSION in '$VERSIONS' + rm -f g++-4.8 gcc-4.8 cpp-4.8 + ln -s clang++ g++-4.8 + ln -s clang gcc-4.8 + ln -s clang cpp-4.8 + cd - /«BUILDDIR» + echo 'Block the installation of new gcc version' Block the installation of new gcc version + dpkg --set-selections + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'cpp-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'cpp-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + dpkg --set-selections + echo 'gcc-4.8 hold' + dpkg --set-selections + echo 'cpp-4.8 hold' + dpkg --set-selections + echo 'g++-4.8 hold' + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + grep clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version I: Finished running '/tmp/switch-to-clang'. Finished processing commands. ──────────────────────────────────────────────────────────────────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-uCfBzI/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/710 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 14698 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 9), quilt (>= 0.46-7~), cmake, tcl-dev, tk-dev, libxext-dev, libxt-dev, xgraph, libpcap0.8-dev, libotcl1-dev, tclcl, libtclcl1-dev (>= 1.20-6~), perl (>= 5.003) Filtered Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 9), quilt (>= 0.46-7~), cmake, tcl-dev, tk-dev, libxext-dev, libxt-dev, xgraph, libpcap0.8-dev, libotcl1-dev, tclcl, libtclcl1-dev (>= 1.20-6~), perl (>= 5.003) dpkg-deb: building package `sbuild-build-depends-ns2-dummy' in `/«BUILDDIR»/resolver-oEa8iy/apt_archive/sbuild-build-depends-ns2-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install ns2 build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils cmake cmake-data debhelper diffstat emacsen-common file fontconfig-config fonts-dejavu-core gettext gettext-base groff-base intltool-debian libarchive13 libasprintf0c2 libcroco3 libcurl3-gnutls libexpat1 libexpat1-dev libfontconfig1 libfontconfig1-dev libfreetype6 libfreetype6-dev libgcrypt11 libglib2.0-0 libgnutls26 libgpg-error0 libgssapi-krb5-2 libice-dev libice6 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzo2-2 libmagic1 libncursesw5 libnettle4 libotcl1 libotcl1-dev libp11-kit0 libpcap0.8 libpcap0.8-dev libpipeline1 libpopt0 libprocps1 libpthread-stubs0 libpthread-stubs0-dev librtmp0 libsasl2-2 libsasl2-modules libsm-dev libsm6 libssh2-1 libssl1.0.0 libtasn1-3 libtclcl1 libtclcl1-dev libunistring0 libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxft-dev libxft2 libxml2 libxrender-dev libxrender1 libxss-dev libxss1 libxt-dev libxt6 man-db pkg-config po-debconf procps quilt tcl tcl-dev tcl8.5 tcl8.5-dev tclcl tk tk-dev tk8.5 tk8.5-dev ttf-dejavu-core x11-common x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-render-dev x11proto-scrnsaver-dev x11proto-xext-dev xgraph xorg-sgml-doctools xtrans-dev zlib1g-dev Suggested packages: wamerican wordlist whois vacation codeblocks eclipse dh-make gettext-doc groff lrzip rng-tools krb5-doc krb5-user libice-doc libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal libsm-doc libxcb-doc libxext-doc libxt-doc less www-browser libmail-box-perl procmail graphviz default-mta mail-transport-agent tcl-doc tcl-tclreadline tcl8.5-doc tk-doc tk8.5-doc ygraph Recommended packages: curl wget lynx-cur autopoint libasprintf-dev libgettextpo-dev ca-certificates libglib2.0-data shared-mime-info krb5-locales libx11-doc xml-core libmail-sendmail-perl psmisc xterm x-terminal-emulator The following NEW packages will be installed: bsdmainutils cmake cmake-data debhelper diffstat emacsen-common file fontconfig-config fonts-dejavu-core gettext gettext-base groff-base intltool-debian libarchive13 libasprintf0c2 libcroco3 libcurl3-gnutls libexpat1 libexpat1-dev libfontconfig1 libfontconfig1-dev libfreetype6 libfreetype6-dev libgcrypt11 libglib2.0-0 libgnutls26 libgpg-error0 libgssapi-krb5-2 libice-dev libice6 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzo2-2 libmagic1 libncursesw5 libnettle4 libotcl1 libotcl1-dev libp11-kit0 libpcap0.8 libpcap0.8-dev libpipeline1 libpopt0 libprocps1 libpthread-stubs0 libpthread-stubs0-dev librtmp0 libsasl2-2 libsasl2-modules libsm-dev libsm6 libssh2-1 libssl1.0.0 libtasn1-3 libtclcl1 libtclcl1-dev libunistring0 libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxft-dev libxft2 libxml2 libxrender-dev libxrender1 libxss-dev libxss1 libxt-dev libxt6 man-db pkg-config po-debconf procps quilt sbuild-build-depends-ns2-dummy tcl tcl-dev tcl8.5 tcl8.5-dev tclcl tk tk-dev tk8.5 tk8.5-dev ttf-dejavu-core x11-common x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-render-dev x11proto-scrnsaver-dev x11proto-xext-dev xgraph xorg-sgml-doctools xtrans-dev zlib1g-dev 0 upgraded, 108 newly installed, 0 to remove and 0 not upgraded. Need to get 37.3 MB/37.3 MB of archives. After this operation, 98.8 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libncursesw5 amd64 5.9+20130608-1 [141 kB] Get:2 http://localhost:9999/debian/ unstable/main libpipeline1 amd64 1.2.4-1 [41.0 kB] Get:3 http://localhost:9999/debian/ unstable/main libpopt0 amd64 1.16-7 [56.4 kB] Get:4 http://localhost:9999/debian/ unstable/main libprocps1 amd64 1:3.3.8-2 [59.8 kB] Get:5 http://localhost:9999/debian/ unstable/main libssl1.0.0 amd64 1.0.1e-3 [1242 kB] Get:6 http://localhost:9999/debian/ unstable/main groff-base amd64 1.22.2-3 [747 kB] Get:7 http://localhost:9999/debian/ unstable/main bsdmainutils amd64 9.0.5 [211 kB] Get:8 http://localhost:9999/debian/ unstable/main man-db amd64 2.6.5-2 [976 kB] Get:9 http://localhost:9999/debian/ unstable/main libasprintf0c2 amd64 0.18.2.1-1 [28.9 kB] Get:10 http://localhost:9999/debian/ unstable/main libgpg-error0 amd64 1.10-3.1 [77.9 kB] Get:11 http://localhost:9999/debian/ unstable/main libgcrypt11 amd64 1.5.2-3 [296 kB] Get:12 http://localhost:9999/debian/ unstable/main libp11-kit0 amd64 0.18.4-1 [115 kB] Get:13 http://localhost:9999/debian/ unstable/main libtasn1-3 amd64 2.14-3 [68.5 kB] Get:14 http://localhost:9999/debian/ unstable/main libgnutls26 amd64 2.12.23-5 [617 kB] Get:15 http://localhost:9999/debian/ unstable/main libkeyutils1 amd64 1.5.5-7 [8808 B] Get:16 http://localhost:9999/debian/ unstable/main libkrb5support0 amd64 1.10.1+dfsg-6.1 [49.3 kB] Get:17 http://localhost:9999/debian/ unstable/main libk5crypto3 amd64 1.10.1+dfsg-6.1 [112 kB] Get:18 http://localhost:9999/debian/ unstable/main libkrb5-3 amd64 1.10.1+dfsg-6.1 [392 kB] Get:19 http://localhost:9999/debian/ unstable/main libgssapi-krb5-2 amd64 1.10.1+dfsg-6.1 [147 kB] Get:20 http://localhost:9999/debian/ unstable/main libidn11 amd64 1.25-2 [178 kB] Get:21 http://localhost:9999/debian/ unstable/main libsasl2-modules amd64 2.1.25.dfsg1-13 [123 kB] Get:22 http://localhost:9999/debian/ unstable/main libsasl2-2 amd64 2.1.25.dfsg1-13 [109 kB] Get:23 http://localhost:9999/debian/ unstable/main libldap-2.4-2 amd64 2.4.31-1+nmu2 [243 kB] Get:24 http://localhost:9999/debian/ unstable/main libmagic1 amd64 1:5.14-2 [216 kB] Get:25 http://localhost:9999/debian/ unstable/main libxml2 amd64 2.9.1+dfsg1-2 [911 kB] Get:26 http://localhost:9999/debian/ unstable/main liblzo2-2 amd64 2.06-1 [57.7 kB] Get:27 http://localhost:9999/debian/ unstable/main libnettle4 amd64 2.7.1-1 [189 kB] Get:28 http://localhost:9999/debian/ unstable/main libarchive13 amd64 3.1.2-7 [319 kB] Get:29 http://localhost:9999/debian/ unstable/main libglib2.0-0 amd64 2.36.3-3 [2048 kB] Get:30 http://localhost:9999/debian/ unstable/main libcroco3 amd64 0.6.8-2 [133 kB] Get:31 http://localhost:9999/debian/ unstable/main librtmp0 amd64 2.4+20121230.gitdf6c518-1 [62.3 kB] Get:32 http://localhost:9999/debian/ unstable/main libssh2-1 amd64 1.4.3-1 [135 kB] Get:33 http://localhost:9999/debian/ unstable/main libcurl3-gnutls amd64 7.31.0-2 [279 kB] Get:34 http://localhost:9999/debian/ unstable/main libexpat1 amd64 2.1.0-4 [138 kB] Get:35 http://localhost:9999/debian/ unstable/main libfreetype6 amd64 2.4.9-1.1 [451 kB] Get:36 http://localhost:9999/debian/ unstable/main fonts-dejavu-core all 2.33+svn2514-3 [1042 kB] Get:37 http://localhost:9999/debian/ unstable/main ttf-dejavu-core all 2.33+svn2514-3 [29.8 kB] Get:38 http://localhost:9999/debian/ unstable/main fontconfig-config all 2.10.2-2 [251 kB] Get:39 http://localhost:9999/debian/ unstable/main libfontconfig1 amd64 2.10.2-2 [319 kB] Get:40 http://localhost:9999/debian/ unstable/main x11-common all 1:7.7+3 [284 kB] Get:41 http://localhost:9999/debian/ unstable/main libice6 amd64 2:1.0.8-2 [63.1 kB] Get:42 http://localhost:9999/debian/ unstable/main tcl8.5 amd64 8.5.14-2 [1639 kB] Get:43 http://localhost:9999/debian/ unstable/main libotcl1 amd64 1.14+dfsg-2 [39.0 kB] Get:44 http://localhost:9999/debian/ unstable/main libpcap0.8 amd64 1.4.0-2 [143 kB] Get:45 http://localhost:9999/debian/ unstable/main libsm6 amd64 2:1.2.1-2 [34.2 kB] Get:46 http://localhost:9999/debian/ unstable/main libtclcl1 amd64 1.20-6 [100 kB] Get:47 http://localhost:9999/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:48 http://localhost:9999/debian/ unstable/main libxau6 amd64 1:1.0.8-1 [20.7 kB] Get:49 http://localhost:9999/debian/ unstable/main libxdmcp6 amd64 1:1.1.1-1 [26.3 kB] Get:50 http://localhost:9999/debian/ unstable/main libxcb1 amd64 1.9.1-3 [50.3 kB] Get:51 http://localhost:9999/debian/ unstable/main libx11-data all 2:1.6.0-1 [191 kB] Get:52 http://localhost:9999/debian/ unstable/main libx11-6 amd64 2:1.6.0-1 [919 kB] Get:53 http://localhost:9999/debian/ unstable/main libxext6 amd64 2:1.3.2-1 [56.5 kB] Get:54 http://localhost:9999/debian/ unstable/main libxrender1 amd64 1:0.9.8-1 [33.5 kB] Get:55 http://localhost:9999/debian/ unstable/main libxft2 amd64 2.3.1-1 [61.0 kB] Get:56 http://localhost:9999/debian/ unstable/main libxss1 amd64 1:1.2.2-1 [17.5 kB] Get:57 http://localhost:9999/debian/ unstable/main libxt6 amd64 1:1.1.3-1+deb7u1 [212 kB] Get:58 http://localhost:9999/debian/ unstable/main procps amd64 1:3.3.8-2 [274 kB] Get:59 http://localhost:9999/debian/ unstable/main file amd64 1:5.14-2 [54.0 kB] Get:60 http://localhost:9999/debian/ unstable/main gettext-base amd64 0.18.2.1-1 [156 kB] Get:61 http://localhost:9999/debian/ unstable/main emacsen-common all 2.0.5 [20.9 kB] Get:62 http://localhost:9999/debian/ unstable/main cmake-data all 2.8.11.2-1 [1397 kB] Get:63 http://localhost:9999/debian/ unstable/main cmake amd64 2.8.11.2-1 [5129 kB] Get:64 http://localhost:9999/debian/ unstable/main gettext amd64 0.18.2.1-1 [2019 kB] Get:65 http://localhost:9999/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:66 http://localhost:9999/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:67 http://localhost:9999/debian/ unstable/main debhelper all 9.20130630 [710 kB] Get:68 http://localhost:9999/debian/ unstable/main diffstat amd64 1.55-3 [30.0 kB] Get:69 http://localhost:9999/debian/ unstable/main libexpat1-dev amd64 2.1.0-4 [223 kB] Get:70 http://localhost:9999/debian/ unstable/main zlib1g-dev amd64 1:1.2.8.dfsg-1 [217 kB] Get:71 http://localhost:9999/debian/ unstable/main libfreetype6-dev amd64 2.4.9-1.1 [805 kB] Get:72 http://localhost:9999/debian/ unstable/main pkg-config amd64 0.26-1 [59.5 kB] Get:73 http://localhost:9999/debian/ unstable/main libfontconfig1-dev amd64 2.10.2-2 [888 kB] Get:74 http://localhost:9999/debian/ unstable/main xorg-sgml-doctools all 1:1.10-1 [24.1 kB] Get:75 http://localhost:9999/debian/ unstable/main x11proto-core-dev all 7.0.24-1 [779 kB] Get:76 http://localhost:9999/debian/ unstable/main libice-dev amd64 2:1.0.8-2 [74.1 kB] Get:77 http://localhost:9999/debian/ unstable/main libotcl1-dev amd64 1.14+dfsg-2 [54.6 kB] Get:78 http://localhost:9999/debian/ unstable/main libpcap0.8-dev amd64 1.4.0-2 [265 kB] Get:79 http://localhost:9999/debian/ unstable/main libpthread-stubs0 amd64 0.3-3 [3228 B] Get:80 http://localhost:9999/debian/ unstable/main libpthread-stubs0-dev amd64 0.3-3 [3998 B] Get:81 http://localhost:9999/debian/ unstable/main libsm-dev amd64 2:1.2.1-2 [37.0 kB] Get:82 http://localhost:9999/debian/ unstable/main libtclcl1-dev amd64 1.20-6 [109 kB] Get:83 http://localhost:9999/debian/ unstable/main libxau-dev amd64 1:1.0.8-1 [23.6 kB] Get:84 http://localhost:9999/debian/ unstable/main libxdmcp-dev amd64 1:1.1.1-1 [42.3 kB] Get:85 http://localhost:9999/debian/ unstable/main x11proto-input-dev all 2.3-1 [177 kB] Get:86 http://localhost:9999/debian/ unstable/main x11proto-kb-dev all 1.0.6-2 [269 kB] Get:87 http://localhost:9999/debian/ unstable/main xtrans-dev all 1.2.7-1 [112 kB] Get:88 http://localhost:9999/debian/ unstable/main libxcb1-dev amd64 1.9.1-3 [103 kB] Get:89 http://localhost:9999/debian/ unstable/main libx11-dev amd64 2:1.6.0-1 [1055 kB] Get:90 http://localhost:9999/debian/ unstable/main x11proto-xext-dev all 7.2.1-1 [273 kB] Get:91 http://localhost:9999/debian/ unstable/main libxext-dev amd64 2:1.3.2-1 [116 kB] Get:92 http://localhost:9999/debian/ unstable/main x11proto-render-dev all 2:0.11.1-2 [20.8 kB] Get:93 http://localhost:9999/debian/ unstable/main libxrender-dev amd64 1:0.9.8-1 [42.1 kB] Get:94 http://localhost:9999/debian/ unstable/main libxft-dev amd64 2.3.1-1 [74.5 kB] Get:95 http://localhost:9999/debian/ unstable/main x11proto-scrnsaver-dev all 1.2.2-1 [25.0 kB] Get:96 http://localhost:9999/debian/ unstable/main libxss-dev amd64 1:1.2.2-1 [22.8 kB] Get:97 http://localhost:9999/debian/ unstable/main libxt-dev amd64 1:1.1.3-1+deb7u1 [518 kB] Get:98 http://localhost:9999/debian/ unstable/main quilt all 0.60-8 [381 kB] Get:99 http://localhost:9999/debian/ unstable/main tcl all 8.5.0-2.1 [4762 B] Get:100 http://localhost:9999/debian/ unstable/main tcl8.5-dev amd64 8.5.14-2 [1097 kB] Get:101 http://localhost:9999/debian/ unstable/main tcl-dev all 8.5.0-2.1 [7078 B] Get:102 http://localhost:9999/debian/ unstable/main tclcl amd64 1.20-6 [43.9 kB] Get:103 http://localhost:9999/debian/ unstable/main tk8.5 amd64 8.5.14-2 [1196 kB] Get:104 http://localhost:9999/debian/ unstable/main tk all 8.5.0-2.1 [4792 B] Get:105 http://localhost:9999/debian/ unstable/main tk8.5-dev amd64 8.5.14-2 [1016 kB] Get:106 http://localhost:9999/debian/ unstable/main tk-dev all 8.5.0-2.1 [4502 B] Get:107 http://localhost:9999/debian/ unstable/main xgraph amd64 12.1-16 [98.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 37.3 MB in 4s (8756 kB/s) Selecting previously unselected package libncursesw5:amd64. (Reading database ... 14698 files and directories currently installed.) Unpacking libncursesw5:amd64 (from .../libncursesw5_5.9+20130608-1_amd64.deb) ... Selecting previously unselected package libpipeline1:amd64. Unpacking libpipeline1:amd64 (from .../libpipeline1_1.2.4-1_amd64.deb) ... Selecting previously unselected package libpopt0:amd64. Unpacking libpopt0:amd64 (from .../libpopt0_1.16-7_amd64.deb) ... Selecting previously unselected package libprocps1:amd64. Unpacking libprocps1:amd64 (from .../libprocps1_1%3a3.3.8-2_amd64.deb) ... Selecting previously unselected package libssl1.0.0:amd64. Unpacking libssl1.0.0:amd64 (from .../libssl1.0.0_1.0.1e-3_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.22.2-3_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.5_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.5-2_amd64.deb) ... Selecting previously unselected package libasprintf0c2:amd64. Unpacking libasprintf0c2:amd64 (from .../libasprintf0c2_0.18.2.1-1_amd64.deb) ... Selecting previously unselected package libgpg-error0:amd64. Unpacking libgpg-error0:amd64 (from .../libgpg-error0_1.10-3.1_amd64.deb) ... Selecting previously unselected package libgcrypt11:amd64. Unpacking libgcrypt11:amd64 (from .../libgcrypt11_1.5.2-3_amd64.deb) ... Selecting previously unselected package libp11-kit0:amd64. Unpacking libp11-kit0:amd64 (from .../libp11-kit0_0.18.4-1_amd64.deb) ... Selecting previously unselected package libtasn1-3:amd64. Unpacking libtasn1-3:amd64 (from .../libtasn1-3_2.14-3_amd64.deb) ... Selecting previously unselected package libgnutls26:amd64. Unpacking libgnutls26:amd64 (from .../libgnutls26_2.12.23-5_amd64.deb) ... Selecting previously unselected package libkeyutils1:amd64. Unpacking libkeyutils1:amd64 (from .../libkeyutils1_1.5.5-7_amd64.deb) ... Selecting previously unselected package libkrb5support0:amd64. Unpacking libkrb5support0:amd64 (from .../libkrb5support0_1.10.1+dfsg-6.1_amd64.deb) ... Selecting previously unselected package libk5crypto3:amd64. Unpacking libk5crypto3:amd64 (from .../libk5crypto3_1.10.1+dfsg-6.1_amd64.deb) ... Selecting previously unselected package libkrb5-3:amd64. Unpacking libkrb5-3:amd64 (from .../libkrb5-3_1.10.1+dfsg-6.1_amd64.deb) ... Selecting previously unselected package libgssapi-krb5-2:amd64. Unpacking libgssapi-krb5-2:amd64 (from .../libgssapi-krb5-2_1.10.1+dfsg-6.1_amd64.deb) ... Selecting previously unselected package libidn11:amd64. Unpacking libidn11:amd64 (from .../libidn11_1.25-2_amd64.deb) ... Selecting previously unselected package libsasl2-modules:amd64. Unpacking libsasl2-modules:amd64 (from .../libsasl2-modules_2.1.25.dfsg1-13_amd64.deb) ... Selecting previously unselected package libsasl2-2:amd64. Unpacking libsasl2-2:amd64 (from .../libsasl2-2_2.1.25.dfsg1-13_amd64.deb) ... Selecting previously unselected package libldap-2.4-2:amd64. Unpacking libldap-2.4-2:amd64 (from .../libldap-2.4-2_2.4.31-1+nmu2_amd64.deb) ... Selecting previously unselected package libmagic1:amd64. Unpacking libmagic1:amd64 (from .../libmagic1_1%3a5.14-2_amd64.deb) ... Selecting previously unselected package libxml2:amd64. Unpacking libxml2:amd64 (from .../libxml2_2.9.1+dfsg1-2_amd64.deb) ... Selecting previously unselected package liblzo2-2:amd64. Unpacking liblzo2-2:amd64 (from .../liblzo2-2_2.06-1_amd64.deb) ... Selecting previously unselected package libnettle4:amd64. Unpacking libnettle4:amd64 (from .../libnettle4_2.7.1-1_amd64.deb) ... Selecting previously unselected package libarchive13:amd64. Unpacking libarchive13:amd64 (from .../libarchive13_3.1.2-7_amd64.deb) ... Selecting previously unselected package libglib2.0-0:amd64. Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.36.3-3_amd64.deb) ... Selecting previously unselected package libcroco3:amd64. Unpacking libcroco3:amd64 (from .../libcroco3_0.6.8-2_amd64.deb) ... Selecting previously unselected package librtmp0:amd64. Unpacking librtmp0:amd64 (from .../librtmp0_2.4+20121230.gitdf6c518-1_amd64.deb) ... Selecting previously unselected package libssh2-1:amd64. Unpacking libssh2-1:amd64 (from .../libssh2-1_1.4.3-1_amd64.deb) ... Selecting previously unselected package libcurl3-gnutls:amd64. Unpacking libcurl3-gnutls:amd64 (from .../libcurl3-gnutls_7.31.0-2_amd64.deb) ... Selecting previously unselected package libexpat1:amd64. Unpacking libexpat1:amd64 (from .../libexpat1_2.1.0-4_amd64.deb) ... Selecting previously unselected package libfreetype6:amd64. Unpacking libfreetype6:amd64 (from .../libfreetype6_2.4.9-1.1_amd64.deb) ... Selecting previously unselected package fonts-dejavu-core. Unpacking fonts-dejavu-core (from .../fonts-dejavu-core_2.33+svn2514-3_all.deb) ... Selecting previously unselected package ttf-dejavu-core. Unpacking ttf-dejavu-core (from .../ttf-dejavu-core_2.33+svn2514-3_all.deb) ... Selecting previously unselected package fontconfig-config. Unpacking fontconfig-config (from .../fontconfig-config_2.10.2-2_all.deb) ... Selecting previously unselected package libfontconfig1:amd64. Unpacking libfontconfig1:amd64 (from .../libfontconfig1_2.10.2-2_amd64.deb) ... Selecting previously unselected package x11-common. Unpacking x11-common (from .../x11-common_1%3a7.7+3_all.deb) ... Selecting previously unselected package libice6:amd64. Unpacking libice6:amd64 (from .../libice6_2%3a1.0.8-2_amd64.deb) ... Selecting previously unselected package tcl8.5. Unpacking tcl8.5 (from .../tcl8.5_8.5.14-2_amd64.deb) ... Selecting previously unselected package libotcl1:amd64. Unpacking libotcl1:amd64 (from .../libotcl1_1.14+dfsg-2_amd64.deb) ... Selecting previously unselected package libpcap0.8:amd64. Unpacking libpcap0.8:amd64 (from .../libpcap0.8_1.4.0-2_amd64.deb) ... Selecting previously unselected package libsm6:amd64. Unpacking libsm6:amd64 (from .../libsm6_2%3a1.2.1-2_amd64.deb) ... Selecting previously unselected package libtclcl1:amd64. Unpacking libtclcl1:amd64 (from .../libtclcl1_1.20-6_amd64.deb) ... Selecting previously unselected package libunistring0:amd64. Unpacking libunistring0:amd64 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package libxau6:amd64. Unpacking libxau6:amd64 (from .../libxau6_1%3a1.0.8-1_amd64.deb) ... Selecting previously unselected package libxdmcp6:amd64. Unpacking libxdmcp6:amd64 (from .../libxdmcp6_1%3a1.1.1-1_amd64.deb) ... Selecting previously unselected package libxcb1:amd64. Unpacking libxcb1:amd64 (from .../libxcb1_1.9.1-3_amd64.deb) ... Selecting previously unselected package libx11-data. Unpacking libx11-data (from .../libx11-data_2%3a1.6.0-1_all.deb) ... Selecting previously unselected package libx11-6:amd64. Unpacking libx11-6:amd64 (from .../libx11-6_2%3a1.6.0-1_amd64.deb) ... Selecting previously unselected package libxext6:amd64. Unpacking libxext6:amd64 (from .../libxext6_2%3a1.3.2-1_amd64.deb) ... Selecting previously unselected package libxrender1:amd64. Unpacking libxrender1:amd64 (from .../libxrender1_1%3a0.9.8-1_amd64.deb) ... Selecting previously unselected package libxft2:amd64. Unpacking libxft2:amd64 (from .../libxft2_2.3.1-1_amd64.deb) ... Selecting previously unselected package libxss1:amd64. Unpacking libxss1:amd64 (from .../libxss1_1%3a1.2.2-1_amd64.deb) ... Selecting previously unselected package libxt6:amd64. Unpacking libxt6:amd64 (from .../libxt6_1%3a1.1.3-1+deb7u1_amd64.deb) ... Selecting previously unselected package procps. Unpacking procps (from .../procps_1%3a3.3.8-2_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../file_1%3a5.14-2_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.2.1-1_amd64.deb) ... Selecting previously unselected package emacsen-common. Unpacking emacsen-common (from .../emacsen-common_2.0.5_all.deb) ... Selecting previously unselected package cmake-data. Unpacking cmake-data (from .../cmake-data_2.8.11.2-1_all.deb) ... Selecting previously unselected package cmake. Unpacking cmake (from .../cmake_2.8.11.2-1_amd64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.2.1-1_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_9.20130630_all.deb) ... Selecting previously unselected package diffstat. Unpacking diffstat (from .../diffstat_1.55-3_amd64.deb) ... Selecting previously unselected package libexpat1-dev:amd64. Unpacking libexpat1-dev:amd64 (from .../libexpat1-dev_2.1.0-4_amd64.deb) ... Selecting previously unselected package zlib1g-dev:amd64. Unpacking zlib1g-dev:amd64 (from .../zlib1g-dev_1%3a1.2.8.dfsg-1_amd64.deb) ... Selecting previously unselected package libfreetype6-dev. Unpacking libfreetype6-dev (from .../libfreetype6-dev_2.4.9-1.1_amd64.deb) ... Selecting previously unselected package pkg-config. Unpacking pkg-config (from .../pkg-config_0.26-1_amd64.deb) ... Selecting previously unselected package libfontconfig1-dev. Unpacking libfontconfig1-dev (from .../libfontconfig1-dev_2.10.2-2_amd64.deb) ... Selecting previously unselected package xorg-sgml-doctools. Unpacking xorg-sgml-doctools (from .../xorg-sgml-doctools_1%3a1.10-1_all.deb) ... Selecting previously unselected package x11proto-core-dev. Unpacking x11proto-core-dev (from .../x11proto-core-dev_7.0.24-1_all.deb) ... Selecting previously unselected package libice-dev:amd64. Unpacking libice-dev:amd64 (from .../libice-dev_2%3a1.0.8-2_amd64.deb) ... Selecting previously unselected package libotcl1-dev. Unpacking libotcl1-dev (from .../libotcl1-dev_1.14+dfsg-2_amd64.deb) ... Selecting previously unselected package libpcap0.8-dev. Unpacking libpcap0.8-dev (from .../libpcap0.8-dev_1.4.0-2_amd64.deb) ... Selecting previously unselected package libpthread-stubs0:amd64. Unpacking libpthread-stubs0:amd64 (from .../libpthread-stubs0_0.3-3_amd64.deb) ... Selecting previously unselected package libpthread-stubs0-dev:amd64. Unpacking libpthread-stubs0-dev:amd64 (from .../libpthread-stubs0-dev_0.3-3_amd64.deb) ... Selecting previously unselected package libsm-dev:amd64. Unpacking libsm-dev:amd64 (from .../libsm-dev_2%3a1.2.1-2_amd64.deb) ... Selecting previously unselected package libtclcl1-dev. Unpacking libtclcl1-dev (from .../libtclcl1-dev_1.20-6_amd64.deb) ... Selecting previously unselected package libxau-dev:amd64. Unpacking libxau-dev:amd64 (from .../libxau-dev_1%3a1.0.8-1_amd64.deb) ... Selecting previously unselected package libxdmcp-dev:amd64. Unpacking libxdmcp-dev:amd64 (from .../libxdmcp-dev_1%3a1.1.1-1_amd64.deb) ... Selecting previously unselected package x11proto-input-dev. Unpacking x11proto-input-dev (from .../x11proto-input-dev_2.3-1_all.deb) ... Selecting previously unselected package x11proto-kb-dev. Unpacking x11proto-kb-dev (from .../x11proto-kb-dev_1.0.6-2_all.deb) ... Selecting previously unselected package xtrans-dev. Unpacking xtrans-dev (from .../xtrans-dev_1.2.7-1_all.deb) ... Selecting previously unselected package libxcb1-dev:amd64. Unpacking libxcb1-dev:amd64 (from .../libxcb1-dev_1.9.1-3_amd64.deb) ... Selecting previously unselected package libx11-dev:amd64. Unpacking libx11-dev:amd64 (from .../libx11-dev_2%3a1.6.0-1_amd64.deb) ... Selecting previously unselected package x11proto-xext-dev. Unpacking x11proto-xext-dev (from .../x11proto-xext-dev_7.2.1-1_all.deb) ... Selecting previously unselected package libxext-dev:amd64. Unpacking libxext-dev:amd64 (from .../libxext-dev_2%3a1.3.2-1_amd64.deb) ... Selecting previously unselected package x11proto-render-dev. Unpacking x11proto-render-dev (from .../x11proto-render-dev_2%3a0.11.1-2_all.deb) ... Selecting previously unselected package libxrender-dev:amd64. Unpacking libxrender-dev:amd64 (from .../libxrender-dev_1%3a0.9.8-1_amd64.deb) ... Selecting previously unselected package libxft-dev. Unpacking libxft-dev (from .../libxft-dev_2.3.1-1_amd64.deb) ... Selecting previously unselected package x11proto-scrnsaver-dev. Unpacking x11proto-scrnsaver-dev (from .../x11proto-scrnsaver-dev_1.2.2-1_all.deb) ... Selecting previously unselected package libxss-dev:amd64. Unpacking libxss-dev:amd64 (from .../libxss-dev_1%3a1.2.2-1_amd64.deb) ... Selecting previously unselected package libxt-dev:amd64. Unpacking libxt-dev:amd64 (from .../libxt-dev_1%3a1.1.3-1+deb7u1_amd64.deb) ... Selecting previously unselected package quilt. Unpacking quilt (from .../archives/quilt_0.60-8_all.deb) ... Selecting previously unselected package tcl. Unpacking tcl (from .../archives/tcl_8.5.0-2.1_all.deb) ... Selecting previously unselected package tcl8.5-dev. Unpacking tcl8.5-dev (from .../tcl8.5-dev_8.5.14-2_amd64.deb) ... Selecting previously unselected package tcl-dev. Unpacking tcl-dev (from .../tcl-dev_8.5.0-2.1_all.deb) ... Selecting previously unselected package tclcl. Unpacking tclcl (from .../tclcl_1.20-6_amd64.deb) ... Selecting previously unselected package tk8.5. Unpacking tk8.5 (from .../tk8.5_8.5.14-2_amd64.deb) ... Selecting previously unselected package tk. Unpacking tk (from .../archives/tk_8.5.0-2.1_all.deb) ... Selecting previously unselected package tk8.5-dev. Unpacking tk8.5-dev (from .../tk8.5-dev_8.5.14-2_amd64.deb) ... Selecting previously unselected package tk-dev. Unpacking tk-dev (from .../tk-dev_8.5.0-2.1_all.deb) ... Selecting previously unselected package xgraph. Unpacking xgraph (from .../xgraph_12.1-16_amd64.deb) ... Selecting previously unselected package sbuild-build-depends-ns2-dummy. Unpacking sbuild-build-depends-ns2-dummy (from .../sbuild-build-depends-ns2-dummy.deb) ... Setting up libncursesw5:amd64 (5.9+20130608-1) ... Setting up libpipeline1:amd64 (1.2.4-1) ... Setting up libpopt0:amd64 (1.16-7) ... Setting up libprocps1:amd64 (1:3.3.8-2) ... Setting up libssl1.0.0:amd64 (1.0.1e-3) ... Setting up groff-base (1.22.2-3) ... Setting up bsdmainutils (9.0.5) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up man-db (2.6.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libasprintf0c2:amd64 (0.18.2.1-1) ... Setting up libgpg-error0:amd64 (1.10-3.1) ... Setting up libgcrypt11:amd64 (1.5.2-3) ... Setting up libp11-kit0:amd64 (0.18.4-1) ... Setting up libtasn1-3:amd64 (2.14-3) ... Setting up libgnutls26:amd64 (2.12.23-5) ... Setting up libkeyutils1:amd64 (1.5.5-7) ... Setting up libkrb5support0:amd64 (1.10.1+dfsg-6.1) ... Setting up libk5crypto3:amd64 (1.10.1+dfsg-6.1) ... Setting up libkrb5-3:amd64 (1.10.1+dfsg-6.1) ... Setting up libgssapi-krb5-2:amd64 (1.10.1+dfsg-6.1) ... Setting up libidn11:amd64 (1.25-2) ... Setting up libsasl2-modules:amd64 (2.1.25.dfsg1-13) ... Setting up libsasl2-2:amd64 (2.1.25.dfsg1-13) ... Setting up libldap-2.4-2:amd64 (2.4.31-1+nmu2) ... Setting up libmagic1:amd64 (1:5.14-2) ... Setting up libxml2:amd64 (2.9.1+dfsg1-2) ... Setting up liblzo2-2:amd64 (2.06-1) ... Setting up libnettle4:amd64 (2.7.1-1) ... Setting up libarchive13:amd64 (3.1.2-7) ... Setting up libglib2.0-0:amd64 (2.36.3-3) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.8-2) ... Setting up librtmp0:amd64 (2.4+20121230.gitdf6c518-1) ... Setting up libssh2-1:amd64 (1.4.3-1) ... Setting up libcurl3-gnutls:amd64 (7.31.0-2) ... Setting up libexpat1:amd64 (2.1.0-4) ... Setting up libfreetype6:amd64 (2.4.9-1.1) ... Setting up fonts-dejavu-core (2.33+svn2514-3) ... Setting up ttf-dejavu-core (2.33+svn2514-3) ... Setting up fontconfig-config (2.10.2-2) ... Setting up libfontconfig1:amd64 (2.10.2-2) ... Setting up x11-common (1:7.7+3) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults All runlevel operations denied by policy invoke-rc.d: policy-rc.d denied execution of start. Setting up libice6:amd64 (2:1.0.8-2) ... Setting up tcl8.5 (8.5.14-2) ... update-alternatives: using /usr/bin/tclsh8.5 to provide /usr/bin/tclsh (tclsh) in auto mode Setting up libotcl1:amd64 (1.14+dfsg-2) ... Setting up libpcap0.8:amd64 (1.4.0-2) ... Setting up libsm6:amd64 (2:1.2.1-2) ... Setting up libtclcl1:amd64 (1.20-6) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up libxau6:amd64 (1:1.0.8-1) ... Setting up libxdmcp6:amd64 (1:1.1.1-1) ... Setting up libxcb1:amd64 (1.9.1-3) ... Setting up libx11-data (2:1.6.0-1) ... Setting up libx11-6:amd64 (2:1.6.0-1) ... Setting up libxext6:amd64 (2:1.3.2-1) ... Setting up libxrender1:amd64 (1:0.9.8-1) ... Setting up libxft2:amd64 (2.3.1-1) ... Setting up libxss1:amd64 (1:1.2.2-1) ... Setting up libxt6:amd64 (1:1.1.3-1+deb7u1) ... Setting up procps (1:3.3.8-2) ... update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults All runlevel operations denied by policy invoke-rc.d: policy-rc.d denied execution of start. Setting up file (1:5.14-2) ... Setting up gettext-base (0.18.2.1-1) ... Setting up emacsen-common (2.0.5) ... Setting up cmake-data (2.8.11.2-1) ... Install cmake-data for emacs Setting up cmake (2.8.11.2-1) ... Setting up gettext (0.18.2.1-1) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20130630) ... Setting up diffstat (1.55-3) ... Setting up libexpat1-dev:amd64 (2.1.0-4) ... Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-1) ... Setting up libfreetype6-dev (2.4.9-1.1) ... Setting up pkg-config (0.26-1) ... Setting up libfontconfig1-dev (2.10.2-2) ... Setting up xorg-sgml-doctools (1:1.10-1) ... Setting up x11proto-core-dev (7.0.24-1) ... Setting up libice-dev:amd64 (2:1.0.8-2) ... Setting up libotcl1-dev (1.14+dfsg-2) ... Setting up libpcap0.8-dev (1.4.0-2) ... Setting up libpthread-stubs0:amd64 (0.3-3) ... Setting up libpthread-stubs0-dev:amd64 (0.3-3) ... Setting up libsm-dev:amd64 (2:1.2.1-2) ... Setting up libtclcl1-dev (1.20-6) ... Setting up libxau-dev:amd64 (1:1.0.8-1) ... Setting up libxdmcp-dev:amd64 (1:1.1.1-1) ... Setting up x11proto-input-dev (2.3-1) ... Setting up x11proto-kb-dev (1.0.6-2) ... Setting up xtrans-dev (1.2.7-1) ... Setting up libxcb1-dev:amd64 (1.9.1-3) ... Setting up libx11-dev:amd64 (2:1.6.0-1) ... Setting up x11proto-xext-dev (7.2.1-1) ... Setting up libxext-dev:amd64 (2:1.3.2-1) ... Setting up x11proto-render-dev (2:0.11.1-2) ... Setting up libxrender-dev:amd64 (1:0.9.8-1) ... Setting up libxft-dev (2.3.1-1) ... Setting up x11proto-scrnsaver-dev (1.2.2-1) ... Setting up libxss-dev:amd64 (1:1.2.2-1) ... Setting up libxt-dev:amd64 (1:1.1.3-1+deb7u1) ... Setting up quilt (0.60-8) ... Setting up tcl (8.5.0-2.1) ... update-alternatives: using /usr/bin/tclsh-default to provide /usr/bin/tclsh (tclsh) in auto mode Setting up tcl8.5-dev (8.5.14-2) ... Setting up tcl-dev (8.5.0-2.1) ... Setting up tclcl (1.20-6) ... Setting up tk8.5 (8.5.14-2) ... update-alternatives: using /usr/bin/wish8.5 to provide /usr/bin/wish (wish) in auto mode Setting up tk (8.5.0-2.1) ... update-alternatives: using /usr/bin/wish-default to provide /usr/bin/wish (wish) in auto mode Setting up tk8.5-dev (8.5.14-2) ... Setting up tk-dev (8.5.0-2.1) ... Setting up xgraph (12.1-16) ... Setting up sbuild-build-depends-ns2-dummy (0.invalid.0) ... Processing triggers for libc-bin ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.23.52.20130620-1 dpkg-dev_1.16.10 g++-4.6_4.6.4-4 g++-4.8_4.8.1-6 gcc-4.6_4.6.4-4 gcc-4.7_4.7.3-5 gcc-4.8_4.8.1-6 libc6-dev_2.17-7 libstdc++-4.8-dev_4.8.1-6 libstdc++6_4.8.1-6 libstdc++6-4.6-dev_4.6.4-4 libstdc++6-4.7-dev_4.7.3-5 linux-libc-dev_3.9.8-1 Package versions: apt_0.9.9.1 base-files_7.2 base-passwd_3.5.26 bash_4.2+dfsg-1 binutils_2.23.52.20130620-1 bsdmainutils_9.0.5 bsdutils_1:2.20.1-5.5 build-essential_11.6 bzip2_1.0.6-4 clang-3.3_1:3.3-3 cmake_2.8.11.2-1 cmake-data_2.8.11.2-1 coreutils_8.20-3 cpp_4:4.8.1-2 cpp-4.6_4.6.4-4 cpp-4.7_4.7.3-5 cpp-4.8_4.8.1-6 dash_0.5.7-3 debconf_1.5.50 debconf-i18n_1.5.50 debfoster_2.7-1.2 debhelper_9.20130630 debian-archive-keyring_2012.4 debianutils_4.3.4 diffstat_1.55-3 diffutils_1:3.2-8 dpkg_1.16.10 dpkg-dev_1.16.10 e2fslibs_1.42.8-1 e2fsprogs_1.42.8-1 emacsen-common_2.0.5 fakeroot_1.19-2 file_1:5.14-2 findutils_4.4.2-6 fontconfig-config_2.10.2-2 fonts-dejavu-core_2.33+svn2514-3 g++_4:4.8.1-2 g++-4.6_4.6.4-4 g++-4.8_4.8.1-6 gcc_4:4.8.1-2 gcc-4.4-base_4.4.7-4 gcc-4.5-base_4.5.4-1 gcc-4.6_4.6.4-4 gcc-4.6-base_4.6.4-4 gcc-4.7_4.7.3-5 gcc-4.7-base_4.7.3-5 gcc-4.8_4.8.1-6 gcc-4.8-base_4.8.1-6 gettext_0.18.2.1-1 gettext-base_0.18.2.1-1 gnupg_1.4.12-7 gpgv_1.4.12-7 grep_2.14-2 groff-base_1.22.2-3 gzip_1.6-1 hostname_3.13 initscripts_2.88dsf-42 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 libacl1_2.2.52-1 libapt-pkg4.12_0.9.9.1 libarchive13_3.1.2-7 libasan0_4.8.1-6 libasprintf0c2_0.18.2.1-1 libatomic1_4.8.1-6 libattr1_1:2.4.47-1 libblkid1_2.20.1-5.5 libbz2-1.0_1.0.6-4 libc-bin_2.17-7 libc-dev-bin_2.17-7 libc6_2.17-7 libc6-dev_2.17-7 libcap2_1:2.22-1.2 libclang-common-3.3-dev_1:3.3-3 libclang1-3.3_1:3.3-3 libclass-isa-perl_0.36-5 libcloog-isl4_0.18.0-2 libcloog-ppl1_0.16.1-3 libcomerr2_1.42.8-1 libcroco3_0.6.8-2 libcurl3-gnutls_7.31.0-2 libdb5.1_5.1.29-6 libdpkg-perl_1.16.10 libexpat1_2.1.0-4 libexpat1-dev_2.1.0-4 libffi6_3.0.13-4 libfile-fcntllock-perl_0.14-2 libfontconfig1_2.10.2-2 libfontconfig1-dev_2.10.2-2 libfreetype6_2.4.9-1.1 libfreetype6-dev_2.4.9-1.1 libgc1c2_1:7.2d-5 libgcc-4.7-dev_4.7.3-5 libgcc-4.8-dev_4.8.1-6 libgcc1_1:4.8.1-6 libgcrypt11_1.5.2-3 libgdbm3_1.8.3-12 libglib2.0-0_2.36.3-3 libgmp10_2:5.1.2+dfsg-2 libgmpxx4ldbl_2:5.1.2+dfsg-2 libgnutls26_2.12.23-5 libgomp1_4.8.1-6 libgpg-error0_1.10-3.1 libgpm2_1.20.4-6.1 libgssapi-krb5-2_1.10.1+dfsg-6.1 libice-dev_2:1.0.8-2 libice6_2:1.0.8-2 libidn11_1.25-2 libisl10_0.11.2-1 libitm1_4.8.1-6 libk5crypto3_1.10.1+dfsg-6.1 libkeyutils1_1.5.5-7 libkrb5-3_1.10.1+dfsg-6.1 libkrb5support0_1.10.1+dfsg-6.1 libldap-2.4-2_2.4.31-1+nmu2 libllvm3.3_1:3.3-3 liblocale-gettext-perl_1.05-7+b1 liblzma5_5.1.1alpha+20120614-2 liblzo2-2_2.06-1 libmagic1_1:5.14-2 libmount1_2.20.1-5.5 libmpc2_0.9-4 libmpc3_1.0.1-1 libmpfr4_3.1.1-1 libncurses5_5.9+20130608-1 libncursesw5_5.9+20130608-1 libnettle4_2.7.1-1 libobjc-4.7-dev_4.7.3-5 libobjc4_4.8.1-6 libotcl1_1.14+dfsg-2 libotcl1-dev_1.14+dfsg-2 libp11-kit0_0.18.4-1 libpam-modules_1.1.3-9 libpam-modules-bin_1.1.3-9 libpam-runtime_1.1.3-9 libpam0g_1.1.3-9 libpcap0.8_1.4.0-2 libpcap0.8-dev_1.4.0-2 libpcre3_1:8.31-2 libpipeline1_1.2.4-1 libpopt0_1.16-7 libppl-c4_1:1.0-7 libppl12_1:1.0-7 libprocps1_1:3.3.8-2 libpthread-stubs0_0.3-3 libpthread-stubs0-dev_0.3-3 libquadmath0_4.8.1-6 libreadline6_6.2+dfsg-0.1 librtmp0_2.4+20121230.gitdf6c518-1 libsasl2-2_2.1.25.dfsg1-13 libsasl2-modules_2.1.25.dfsg1-13 libselinux1_2.1.13-2 libsemanage-common_2.1.10-2 libsemanage1_2.1.10-2 libsepol1_2.1.9-2 libslang2_2.2.4-15 libsm-dev_2:1.2.1-2 libsm6_2:1.2.1-2 libss2_1.42.8-1 libssh2-1_1.4.3-1 libssl1.0.0_1.0.1e-3 libstdc++-4.8-dev_4.8.1-6 libstdc++6_4.8.1-6 libstdc++6-4.6-dev_4.6.4-4 libstdc++6-4.7-dev_4.7.3-5 libswitch-perl_2.16-2 libtasn1-3_2.14-3 libtclcl1_1.20-6 libtclcl1-dev_1.20-6 libtext-charwidth-perl_0.04-7+b1 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo5_5.9+20130608-1 libtsan0_4.8.1-6 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23.2 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.5 libx11-6_2:1.6.0-1 libx11-data_2:1.6.0-1 libx11-dev_2:1.6.0-1 libxau-dev_1:1.0.8-1 libxau6_1:1.0.8-1 libxcb1_1.9.1-3 libxcb1-dev_1.9.1-3 libxdmcp-dev_1:1.1.1-1 libxdmcp6_1:1.1.1-1 libxext-dev_2:1.3.2-1 libxext6_2:1.3.2-1 libxft-dev_2.3.1-1 libxft2_2.3.1-1 libxml2_2.9.1+dfsg1-2 libxrender-dev_1:0.9.8-1 libxrender1_1:0.9.8-1 libxss-dev_1:1.2.2-1 libxss1_1:1.2.2-1 libxt-dev_1:1.1.3-1+deb7u1 libxt6_1:1.1.3-1+deb7u1 linux-libc-dev_3.9.8-1 login_1:4.1.5.1-1 lsb-base_4.1+Debian12 make_3.81-8.2 man-db_2.6.5-2 mawk_1.3.3-17 mount_2.20.1-5.5 multiarch-support_2.17-7 ncurses-base_5.9+20130608-1 ncurses-bin_5.9+20130608-1 passwd_1:4.1.5.1-1 patch_2.7.1-3 perl_5.14.2-21 perl-base_5.14.2-21 perl-modules_5.14.2-21 pkg-config_0.26-1 po-debconf_1.0.16+nmu2 procps_1:3.3.8-2 quilt_0.60-8 readline-common_6.2+dfsg-0.1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-ns2-dummy_0.invalid.0 sed_4.2.2-1 sensible-utils_0.0.9 sudo_1.8.5p2-1+nmu1 sysv-rc_2.88dsf-42 sysvinit_2.88dsf-42 sysvinit-utils_2.88dsf-42 tar_1.26+dfsg-6 tcl_8.5.0-2.1 tcl-dev_8.5.0-2.1 tcl8.5_8.5.14-2 tcl8.5-dev_8.5.14-2 tclcl_1.20-6 tk_8.5.0-2.1 tk-dev_8.5.0-2.1 tk8.5_8.5.14-2 tk8.5-dev_8.5.14-2 ttf-dejavu-core_2.33+svn2514-3 tzdata_2013c-2 ucf_3.0027+nmu1 util-linux_2.20.1-5.5 vim_2:7.3.923-3 vim-common_2:7.3.923-3 vim-runtime_2:7.3.923-3 x11-common_1:7.7+3 x11proto-core-dev_7.0.24-1 x11proto-input-dev_2.3-1 x11proto-kb-dev_1.0.6-2 x11proto-render-dev_2:0.11.1-2 x11proto-scrnsaver-dev_1.2.2-1 x11proto-xext-dev_7.2.1-1 xgraph_12.1-16 xorg-sgml-doctools_1:1.10-1 xtrans-dev_1.2.7-1 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-1 zlib1g-dev_1:1.2.8.dfsg-1 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Fri Jun 15 03:25:24 2012 UTC using RSA key ID EED3BC0D gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./ns2_2.35+dfsg-1.dsc dpkg-source: info: extracting ns2 in ns2-2.35+dfsg dpkg-source: info: unpacking ns2_2.35+dfsg.orig.tar.xz dpkg-source: info: unpacking ns2_2.35+dfsg-1.debian.tar.gz dpkg-source: info: applying 0001-install-indep-utils.diff.patch dpkg-source: info: applying 0002-tclcl-header-move.patch.patch dpkg-source: info: applying 0003-fix-gcc-4.7-ftbfs.patch.patch dpkg-source: info: applying 0004-correct-paths-in-examples.patch Check disc space ──────────────── Sufficient free space for build Hack binNMU version ─────────────────── Created changelog entry for binNMU version 2.35+dfsg-1clang1 User Environment ──────────────── HOME=/sbuild-nonexistent LOGNAME=user PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=user SCHROOT_SESSION_ID=unstable-amd64-sbuild-6f1c1f6d-e816-4e67-aa97-404687f93c9a SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package ns2 dpkg-buildpackage: source version 2.35+dfsg-1clang1 dpkg-source --before-build ns2-2.35+dfsg dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean dh_clean rm -f debian/ns2.substvars rm -f debian/ns2.*.debhelper rm -rf debian/ns2/ rm -f debian/ns2-dbg.substvars rm -f debian/ns2-dbg.*.debhelper rm -rf debian/ns2-dbg/ rm -f debian/ns2-doc.substvars rm -f debian/ns2-doc.*.debhelper rm -rf debian/ns2-doc/ rm -f debian/ns2-examples.substvars rm -f debian/ns2-examples.*.debhelper rm -rf debian/ns2-examples/ rm -f debian/*.debhelper.log rm -f debian/files find . \( \( -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} \; \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \) rm -f *-stamp debian/rules build-arch dh build-arch dh_testdir -a debian/rules override_dh_auto_configure make[1]: Entering directory `/«BUILDDIR»/ns2-2.35+dfsg' dh_auto_configure -- --x-libraries=/usr/lib/x86_64-linux-gnu ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --x-libraries=/usr/lib/x86_64-linux-gnu configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes No .configure file found in current directory Continuing with default options... checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking for main in -lXbsd... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for dcgettext in -lintl... no checking for getnodebyname in -ldnet_stub... no checking that g++ can handle -O2... no checking if C++ libraries work without any namespace... no checking if C++ libraries work with namespace std... yes checking if STL works without any namespace... no checking if STL works with namespace std... yes checking should use STL... yes checking for tcl.h... -I/usr/include/tcl8.5/tcl-private/generic checking for tclInt.h... -I/usr/include/tcl8.5/tcl-private/generic checking for libtcl8.5... -L/usr/lib -ltcl8.5 checking for init.tcl... /usr/share/tcltk/tcl8.5 checking for http.tcl... /usr/share/tcltk/tcl8.5/http1.0 checking Tcl http.tcl library... yes checking for tclsh8.5.14... no checking for tclsh8.5... /usr/bin/tclsh8.5 checking for tk.h... -I/usr/include/tcl checking for libtk8.5... -L/usr/lib -ltk8.5 checking for tk.tcl... /usr/share/tcltk/tk8.5 checking for otcl.h... -I/usr/include checking for libotcl1.14... -L/usr/lib/x86_64-linux-gnu -lotcl checking for tclcl.h... -I/usr/include/tclcl checking for libtclcl... -L/usr/lib/x86_64-linux-gnu -ltclcl checking for tcl2c++... /usr/bin checking for X11 header files checking for X11 library archive checking for libXext.a checking for libtcldbg... no checking dmalloc... not requested with --with-dmalloc checking for perl... /usr/bin checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking net/ethernet.h usability... yes checking net/ethernet.h presence... yes checking for net/ethernet.h... yes checking for main in -lm... yes checking for bcopy... yes checking for bzero... yes checking for fesetprecision... no checking for feenableexcept... yes checking for getrusage... yes checking for sbrk... yes checking for snprintf... yes checking return type of random... long checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_char... yes checking for u_int... yes checking for strtoq... yes checking for strtoll... yes checking size of long... 8 checking for strtol... yes checking for __int64_t... no checking for long long... yes checking for int64_t... yes checking which kind of 64-bit int to use... int64_t checking system version (for dynamic loading)... Linux-2.6.32-5-xen-amd64 checking for dlopen in -ldl... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ns library name... libns.so checking for struct ether_header... not found checking for struct ether_addr... not found checking for addr2ascii... no checking for Linux compliant tcphdr... not found checking for BSD compliant tcphdr... not found checking for socklen_t... yes checking for main in -lpcap... yes checking to make nse... no Explicitly disabling static compilation checking for dlopen in -ldl... (cached) yes checking system version (for system-dependent libraries)... Linux-2.6.32-5-xen-amd64 checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating tcl/lib/ns-autoconf.tcl config.status: creating indep-utils/webtrace-conv/ucb/Makefile config.status: creating indep-utils/webtrace-conv/dec/Makefile config.status: creating indep-utils/webtrace-conv/nlanr/Makefile config.status: creating indep-utils/webtrace-conv/epa/Makefile config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile config.status: creating autoconf.h configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking creating ./gen make[1]: Leaving directory `/«BUILDDIR»/ns2-2.35+dfsg' dh_auto_build -a make -j1 make[1]: Entering directory `/«BUILDDIR»/ns2-2.35+dfsg' gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 tcp/linux/tcp_naivereno.c:21:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] ack = ack; ~~~ ^ ~~~ tcp/linux/tcp_naivereno.c:22:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] rtt = rtt; ~~~ ^ ~~~ tcp/linux/tcp_naivereno.c:23:12: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] in_flight = in_flight; ~~~~~~~~~ ^ ~~~~~~~~~ tcp/linux/tcp_naivereno.c:24:7: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] flag = flag; ~~~~ ^ ~~~~ 4 warnings generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 tcp/linux/src/tcp_cong.c:331:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] ack = ack; ~~~ ^ ~~~ tcp/linux/src/tcp_cong.c:332:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] rtt = rtt; ~~~ ^ ~~~ tcp/linux/src/tcp_cong.c:333:7: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] flag = flag; ~~~~ ^ ~~~~ 3 warnings generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_highspeed.o tcp/linux/src/tcp_highspeed.c tcp/linux/src/tcp_highspeed.c:117:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] adk = adk; ~~~ ^ ~~~ tcp/linux/src/tcp_highspeed.c:118:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] rtt = rtt; ~~~ ^ ~~~ tcp/linux/src/tcp_highspeed.c:119:13: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] data_acked = data_acked; ~~~~~~~~~~ ^ ~~~~~~~~~~ 3 warnings generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_bic.o tcp/linux/src/tcp_bic.c tcp/linux/src/tcp_bic.c:143:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] ack = ack; ~~~ ^ ~~~ tcp/linux/src/tcp_bic.c:144:10: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] seq_rtt = seq_rtt; ~~~~~~~ ^ ~~~~~~~ tcp/linux/src/tcp_bic.c:145:13: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] data_acked = data_acked; ~~~~~~~~~~ ^ ~~~~~~~~~~ tcp/linux/src/tcp_bic.c:217:7: warning: explicitly assigning a variable of type 'long long' to itself [-Wself-assign] last = last; ~~~~ ^ ~~~~ 4 warnings generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_htcp.o tcp/linux/src/tcp_htcp.c tcp/linux/src/tcp_htcp.c:104:7: warning: explicitly assigning a variable of type 'long long' to itself [-Wself-assign] last = last; ~~~~ ^ ~~~~ tcp/linux/src/tcp_htcp.c:234:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] ack = ack; ~~~ ^ ~~~ tcp/linux/src/tcp_htcp.c:235:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] rtt = rtt; ~~~ ^ ~~~ tcp/linux/src/tcp_htcp.c:236:13: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] data_acked = data_acked; ~~~~~~~~~~ ^ ~~~~~~~~~~ 4 warnings generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_scalable.o tcp/linux/src/tcp_scalable.c tcp/linux/src/tcp_scalable.c:23:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] ack = ack; ~~~ ^ ~~~ tcp/linux/src/tcp_scalable.c:24:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] rtt = rtt; ~~~ ^ ~~~ tcp/linux/src/tcp_scalable.c:25:7: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] flag = flag; ~~~~ ^ ~~~~ 3 warnings generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_cubic.o tcp/linux/src/tcp_cubic.c tcp/linux/src/tcp_cubic.c:275:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] ack = ack; ~~~ ^ ~~~ tcp/linux/src/tcp_cubic.c:276:10: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] seq_rtt = seq_rtt; ~~~~~~~ ^ ~~~~~~~ tcp/linux/src/tcp_cubic.c:342:7: warning: explicitly assigning a variable of type 'long long' to itself [-Wself-assign] last = last; ~~~~ ^ ~~~~ 3 warnings generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_westwood.o tcp/linux/src/tcp_westwood.c tcp/linux/src/tcp_westwood.c:104:7: warning: explicitly assigning a variable of type 'long long' to itself [-Wself-assign] last = last; ~~~~ ^ ~~~~ tcp/linux/src/tcp_westwood.c:262:5: warning: explicitly assigning a variable of type 'struct tcp_sock *' to itself [-Wself-assign] sk = sk; ~~ ^ ~~ tcp/linux/src/tcp_westwood.c:263:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] ext = ext; ~~~ ^ ~~~ tcp/linux/src/tcp_westwood.c:264:6: warning: explicitly assigning a variable of type 'struct sk_buff *' to itself [-Wself-assign] skb = skb; ~~~ ^ ~~~ 4 warnings generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_vegas.o tcp/linux/src/tcp_vegas.c tcp/linux/src/tcp_vegas.c:116:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] cnt = cnt; ~~~ ^ ~~~ tcp/linux/src/tcp_vegas.c:343:5: warning: explicitly assigning a variable of type 'struct tcp_sock *' to itself [-Wself-assign] sk = sk; ~~ ^ ~~ tcp/linux/src/tcp_vegas.c:344:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] ext = ext; ~~~ ^ ~~~ tcp/linux/src/tcp_vegas.c:345:6: warning: explicitly assigning a variable of type 'struct sk_buff *' to itself [-Wself-assign] skb = skb; ~~~ ^ ~~~ 4 warnings generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_hybla.o tcp/linux/src/tcp_hybla.c gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_illinois.o tcp/linux/src/tcp_illinois.c tcp/linux/src/tcp_illinois.c:263:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] rtt = rtt; ~~~ ^ ~~~ tcp/linux/src/tcp_illinois.c:264:7: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] flag = flag; ~~~~ ^ ~~~~ 2 warnings generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_yeah.o tcp/linux/src/tcp_yeah.c tcp/linux/src/tcp_yeah.c:74:10: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] seq_rtt = seq_rtt; ~~~~~~~ ^ ~~~~~~~ tcp/linux/src/tcp_yeah.c:75:7: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] flag = flag; ~~~~ ^ ~~~~ 2 warnings generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_veno.o tcp/linux/src/tcp_veno.c tcp/linux/src/tcp_veno.c:73:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] cnt = cnt; ~~~ ^ ~~~ 1 warning generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_compound.o tcp/linux/src/tcp_compound.c tcp/linux/src/tcp_compound.c:232:10: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] seq_rtt = seq_rtt; ~~~~~~~ ^ ~~~~~~~ tcp/linux/src/tcp_compound.c:233:7: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] flag = flag; ~~~~ ^ ~~~~ tcp/linux/src/tcp_compound.c:425:6: warning: explicitly assigning a variable of type 'struct sk_buff *' to itself [-Wself-assign] skb = skb; ~~~ ^ ~~~ 3 warnings generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_lp.o tcp/linux/src/tcp_lp.c tcp/linux/src/tcp_lp.c:225:6: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] rtt = rtt; ~~~ ^ ~~~ tcp/linux/src/tcp_lp.c:270:12: warning: explicitly assigning a variable of type 'unsigned long' to itself [-Wself-assign] num_acked = num_acked; ~~~~~~~~~ ^ ~~~~~~~~~ 2 warnings generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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-c.o tcp/linux/ns-linux-c.c gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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-param.o tcp/linux/ns-linux-param.c g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tools/random.cc:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tools/random.cc:41: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tools/rng.cc:71: In file included from ./tools/rng.h:72: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tools/rng.cc:71: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ tools/rng.cc:518:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ tools/rng.cc:856:3: warning: array index 100 is past the end of the array (which contains 100 elements) [-Warray-bounds] name_[100] = 0; ^ ~~~ ./tools/rng.h:333:2: note: array 'name_' declared here char name_[100]; ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tools/ranvar.cc:48: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tools/ranvar.cc:48: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tools/ranvar.cc:48: ./tools/ranvar.h:134:9: warning: private field 'scale_' is not used [-Wunused-private-field] double scale_; ^ ./tools/ranvar.h:151:16: warning: private field 'scale_' is not used [-Wunused-private-field] double scale_; ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/misc.cc:48: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from common/misc.cc:50: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/timer-handler.cc:53: In file included from ./common/timer-handler.h:54: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/scheduler.cc:46: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ common/scheduler.cc:1027:9: warning: 'RealTimeScheduler::start' hides overloaded virtual function [-Woverloaded-virtual] double start() const { return start_; } ^ ./common/scheduler.h:95:17: note: hidden overloaded virtual function 'Scheduler::start' declared here: different qualifiers (none vs const) virtual double start() { // start time ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/object.cc:42: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 common/packet.cc:40: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/ip.cc:40: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from routing/route.cc:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/connector.cc:40: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/ttl.cc:40: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from trace/trace.cc:39: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from trace/trace.cc:42: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from trace/trace.cc:42: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from trace/trace.cc:42: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from trace/trace.cc:42: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from trace/trace.cc:42: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from trace/trace.cc:42: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from trace/trace.cc:42: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from trace/trace-ip.cc:37: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from trace/trace-ip.cc:38: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from trace/trace-ip.cc:39: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from trace/trace-ip.cc:39: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from trace/trace-ip.cc:39: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from trace/trace-ip.cc:39: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from trace/trace-ip.cc:39: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from trace/trace-ip.cc:39: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from classifier/classifier.cc:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from classifier/classifier-addr.cc:40: In file included from ./classifier/classifier-addr.h:33: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from classifier/classifier-hash.cc:53: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from classifier/classifier-hash.cc:57: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from classifier/classifier-virtual.cc:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from classifier/classifier-mcast.cc:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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-bst.o classifier/classifier-bst.cc In file included from classifier/classifier-bst.cc:55: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from classifier/classifier-bst.cc:61: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from classifier/classifier-mpath.cc:52: In file included from ./classifier/classifier.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mcast/replicator.cc:41: In file included from ./classifier/classifier.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from classifier/classifier-mac.cc:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from classifier/classifier-mac.cc:43: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from classifier/classifier-mac.cc:43: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from classifier/classifier-mac.cc:43: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from classifier/classifier-mac.cc:43: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from classifier/classifier-mac.cc:43: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from classifier/classifier-mac.cc:43: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from classifier/classifier-mac.cc:43: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from classifier/classifier-port.cc:54: In file included from ./classifier/classifier-port.h:54: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from src_rtg/classifier-sr.cc:40: In file included from src_rtg/classifier-sr.h:43: In file included from src_rtg/sragent.h:46: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from src_rtg/classifier-sr.cc:40: In file included from src_rtg/classifier-sr.h:43: In file included from src_rtg/sragent.h:49: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from src_rtg/classifier-sr.cc:40: In file included from src_rtg/classifier-sr.h:43: In file included from src_rtg/sragent.h:49: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from src_rtg/classifier-sr.cc:40: In file included from src_rtg/classifier-sr.h:43: In file included from src_rtg/sragent.h:49: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from src_rtg/classifier-sr.cc:40: In file included from src_rtg/classifier-sr.h:43: In file included from src_rtg/sragent.h:49: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from src_rtg/classifier-sr.cc:40: In file included from src_rtg/classifier-sr.h:43: In file included from src_rtg/sragent.h:49: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from src_rtg/classifier-sr.cc:40: In file included from src_rtg/classifier-sr.h:43: In file included from src_rtg/sragent.h:49: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 7 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from src_rtg/sragent.cc:44: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from src_rtg/sragent.cc:46: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from src_rtg/sragent.cc:49: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from src_rtg/sragent.cc:51: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from src_rtg/sragent.cc:51: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from src_rtg/sragent.cc:51: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from src_rtg/sragent.cc:51: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from src_rtg/sragent.cc:51: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from src_rtg/sragent.cc:53: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ In file included from src_rtg/sragent.cc:56: src_rtg/sragent.h:83:7: warning: private field 'off_src_' is not used [-Wunused-private-field] int off_src_; ^ src_rtg/sragent.h:86:10: warning: private field 'agent_' is not used [-Wunused-private-field] Agent *agent_; ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from src_rtg/hdr_src.cc:40: In file included from src_rtg/hdr_src.h:44: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/ump.cc:37: In file included from ./adc/ump.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from qs/qsagent.cc:67: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from qs/qsagent.cc:76: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from qs/hdr_qs.cc:62: In file included from ./qs/hdr_qs.h:66: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from apps/app.cc:38: In file included from ./apps/app.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from apps/telnet.cc:37: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from apps/telnet.cc:37: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcplib-telnet.cc:6: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tcplib-telnet.cc:6: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tools/trafgen.cc:38: In file included from ./tools/trafgen.h:50: In file included from ./apps/app.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tools/trafgen.cc:38: ./tools/trafgen.h:85:15: warning: 'TrafficGenerator::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init() {} ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tools/trafgen.cc:38: ./tools/trafgen.h:90:15: warning: 'TrafficGenerator::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv() {} ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 0) virtual void recv(int nbytes); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from trace/traffictrace.cc:56: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from trace/traffictrace.cc:62: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from trace/traffictrace.cc:73: ./tools/trafgen.h:85:15: warning: 'TrafficGenerator::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init() {} ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from trace/traffictrace.cc:73: ./tools/trafgen.h:90:15: warning: 'TrafficGenerator::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv() {} ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 0) virtual void recv(int nbytes); ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tools/pareto.cc:47: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tools/pareto.cc:47: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tools/pareto.cc:48: ./tools/trafgen.h:85:15: warning: 'TrafficGenerator::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init() {} ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tools/pareto.cc:48: ./tools/trafgen.h:90:15: warning: 'TrafficGenerator::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv() {} ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 0) virtual void recv(int nbytes); ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tools/expoo.cc:49: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tools/expoo.cc:49: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tools/expoo.cc:50: ./tools/trafgen.h:85:15: warning: 'TrafficGenerator::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init() {} ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tools/expoo.cc:50: ./tools/trafgen.h:90:15: warning: 'TrafficGenerator::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv() {} ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 0) virtual void recv(int nbytes); ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tools/cbr_traffic.cc:44: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tools/cbr_traffic.cc:44: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tools/cbr_traffic.cc:45: ./tools/trafgen.h:85:15: warning: 'TrafficGenerator::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init() {} ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tools/cbr_traffic.cc:45: ./tools/trafgen.h:90:15: warning: 'TrafficGenerator::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv() {} ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 0) virtual void recv(int nbytes); ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/tbf.cc:48: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/resv.cc:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/sa.cc:47: In file included from ./apps/udp.h:47: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from adc/sa.cc:47: In file included from ./apps/udp.h:48: ./tools/trafgen.h:85:15: warning: 'TrafficGenerator::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init() {} ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from adc/sa.cc:47: In file included from ./apps/udp.h:48: ./tools/trafgen.h:90:15: warning: 'TrafficGenerator::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv() {} ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 0) virtual void recv(int nbytes); ^ In file included from adc/sa.cc:48: In file included from ./adc/sa.h:50: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/saack.cc:47: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tools/measuremod.cc:47: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/estimator.cc:46: In file included from ./adc/estimator.h:49: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/adc.cc:46: In file included from ./adc/adc.h:47: In file included from ./adc/estimator.h:49: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 adc/ms-adc.cc:48: In file included from ./adc/adc.h:47: In file included from ./adc/estimator.h:49: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/timewindow-est.cc:48: In file included from ./adc/estimator.h:49: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/acto-adc.cc:49: In file included from ./adc/adc.h:47: In file included from ./adc/estimator.h:49: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 adc/pointsample-est.cc:46: In file included from ./adc/estimator.h:49: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/salink.cc:44: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/actp-adc.cc:49: In file included from ./adc/adc.h:47: In file included from ./adc/estimator.h:49: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/hb-adc.cc:48: In file included from ./adc/adc.h:47: In file included from ./adc/estimator.h:49: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/expavg-est.cc:48: In file included from ./adc/estimator.h:49: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/param-adc.cc:52: In file included from ./adc/adc.h:47: In file included from ./adc/estimator.h:49: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/null-estimator.cc:50: In file included from ./adc/estimator.h:49: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 adc/adaptive-receiver.cc:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from apps/vatrcvr.cc:75: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/consrcvr.cc:47: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/agent.cc:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from common/agent.cc:51: ./nix/nixnode.h:38:8: warning: 'NixNode::AddAdj' hides overloaded virtual function [-Woverloaded-virtual] void AddAdj(nodeid_t); // Add a simplex link from this to neighbor ^ ./routealgo/rnode.h:33:18: note: hidden overloaded virtual function 'RNode::AddAdj' declared here: different number of parameters (2 vs 1) virtual void AddAdj(nodeid_t a, int w = 1); ^ In file included from common/agent.cc:51: ./nix/nixnode.h:44:21: warning: 'NixNode::GetNeighbor' hides overloaded virtual function [-Woverloaded-virtual] virtual nodeid_t GetNeighbor(Nix_t, NixVec*); // Get neighbor from nix ^ ./routealgo/rnode.h:38:23: note: hidden overloaded virtual function 'RNode::GetNeighbor' declared here: different number of parameters (1 vs 2) virtual nodeid_t GetNeighbor(Nix_t);// Get neighbor from nix ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/message.cc:40: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from common/message.cc:41: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from apps/udp.cc:47: In file included from ./apps/udp.h:47: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from apps/udp.cc:47: In file included from ./apps/udp.h:48: ./tools/trafgen.h:85:15: warning: 'TrafficGenerator::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init() {} ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from apps/udp.cc:47: In file included from ./apps/udp.h:48: ./tools/trafgen.h:90:15: warning: 'TrafficGenerator::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv() {} ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 0) virtual void recv(int nbytes); ^ In file included from apps/udp.cc:49: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/session-rtp.cc:41: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from apps/rtp.cc:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from apps/rtp.cc:45: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/rtcp.cc:42: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/rtcp.cc:44: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/ivs.cc:42: In file included from ./common/message.h:40: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from common/ivs.cc:43: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/messpass.cc:6: In file included from ./common/messpass.h:4: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from common/messpass.cc:6: In file included from ./common/messpass.h:5: ./tools/trafgen.h:85:15: warning: 'TrafficGenerator::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init() {} ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from common/messpass.cc:6: In file included from ./common/messpass.h:5: ./tools/trafgen.h:90:15: warning: 'TrafficGenerator::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv() {} ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 0) virtual void recv(int nbytes); ^ In file included from common/messpass.cc:8: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/tp.cc:1: In file included from ./common/tp.h:4: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from common/tp.cc:1: In file included from ./common/tp.h:5: ./tools/trafgen.h:85:15: warning: 'TrafficGenerator::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init() {} ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from common/tp.cc:1: In file included from ./common/tp.h:5: ./tools/trafgen.h:90:15: warning: 'TrafficGenerator::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv() {} ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 0) virtual void recv(int nbytes); ^ In file included from common/tp.cc:1: ./common/tp.h:15:16: warning: 'TPAgent::sendto' hides overloaded virtual functions [-Woverloaded-virtual] virtual void sendto(int nbytes, unsigned int saddr, int sport, unsigned int daddr, int dport); ^ ./common/agent.h:89:15: note: hidden overloaded virtual function 'Agent::sendto' declared here: different number of parameters (4 vs 5) virtual void sendto(int sz, AppData*, const char* flags, ^ ./common/agent.h:91:15: note: hidden overloaded virtual function 'Agent::sendto' declared here: different number of parameters (4 vs 5) virtual void sendto(int sz, AppData*, const char* flags, ^ ./common/agent.h:96:15: note: hidden overloaded virtual function 'Agent::sendto' declared here: different number of parameters (3 vs 5) virtual void sendto(int nbytes, const char* flags, nsaddr_t dst); ^ ./common/agent.h:97:15: note: hidden overloaded virtual function 'Agent::sendto' declared here: different number of parameters (3 vs 5) virtual void sendto(int nbytes, const char* flags, ns_addr_t dst); ^ In file included from common/tp.cc:3: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/tpm.cc:55: In file included from ./common/tpm.h:54: In file included from ./common/tp.h:4: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from common/tpm.cc:55: In file included from ./common/tpm.h:54: In file included from ./common/tp.h:5: ./tools/trafgen.h:85:15: warning: 'TrafficGenerator::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init() {} ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from common/tpm.cc:55: In file included from ./common/tpm.h:54: In file included from ./common/tp.h:5: ./tools/trafgen.h:90:15: warning: 'TrafficGenerator::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv() {} ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 0) virtual void recv(int nbytes); ^ In file included from common/tpm.cc:55: In file included from ./common/tpm.h:54: ./common/tp.h:15:16: warning: 'TPAgent::sendto' hides overloaded virtual functions [-Woverloaded-virtual] virtual void sendto(int nbytes, unsigned int saddr, int sport, unsigned int daddr, int dport); ^ ./common/agent.h:89:15: note: hidden overloaded virtual function 'Agent::sendto' declared here: different number of parameters (4 vs 5) virtual void sendto(int sz, AppData*, const char* flags, ^ ./common/agent.h:91:15: note: hidden overloaded virtual function 'Agent::sendto' declared here: different number of parameters (4 vs 5) virtual void sendto(int sz, AppData*, const char* flags, ^ ./common/agent.h:96:15: note: hidden overloaded virtual function 'Agent::sendto' declared here: different number of parameters (3 vs 5) virtual void sendto(int nbytes, const char* flags, nsaddr_t dst); ^ ./common/agent.h:97:15: note: hidden overloaded virtual function 'Agent::sendto' declared here: different number of parameters (3 vs 5) virtual void sendto(int nbytes, const char* flags, ns_addr_t dst); ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from apps/worm.cc:4: In file included from ./apps/worm.h:6: In file included from ./common/timer-handler.h:54: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from apps/worm.cc:5: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp.cc:43: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tcp.cc:46: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tcp/tcp.cc:47: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-sink.cc:37: In file included from ./common/flags.h:44: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-reno.cc:29: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-newreno.cc:33: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-vegas.cc:68: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-rbp.cc:72: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 tcp/tcp-full.cc:115: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tcp-full.cc:116: ./tcp/tcp-full.h:215:7: warning: 'FullTcpAgent::connect' hides overloaded virtual function [-Woverloaded-virtual] void connect(); // do active open ^ ./common/agent.h:98:15: note: hidden overloaded virtual function 'Agent::connect' declared here: different number of parameters (1 vs 0) virtual void connect(nsaddr_t dst); ^ In file included from tcp/tcp-full.cc:118: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from baytcp/tcp-full-bay.cc:78: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from baytcp/tcp-full-bay.cc:79: baytcp/tcp-full-bay.h:128:15: warning: 'BayTcpAppAgent::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv(Packet*, BayFullTcpAgent*, int) {} ^ ./common/agent.h:75:7: note: hidden overloaded virtual function 'Agent::recv' declared here: different number of parameters (2 vs 3) void recv(Packet*, Handler*); ^ In file included from baytcp/tcp-full-bay.cc:79: baytcp/tcp-full-bay.h:166:10: warning: 'BayFullTcpAgent::connect' hides overloaded virtual function [-Woverloaded-virtual] void connect(); // do active open ^ ./common/agent.h:98:15: note: hidden overloaded virtual function 'Agent::connect' declared here: different number of parameters (1 vs 0) virtual void connect(nsaddr_t dst); ^ In file included from baytcp/tcp-full-bay.cc:81: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from baytcp/ftpc.cc:41: In file included from baytcp/tcp-full-bay.h:39: In file included from ./tcp/tcp.h:38: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from baytcp/ftpc.cc:41: baytcp/tcp-full-bay.h:128:15: warning: 'BayTcpAppAgent::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv(Packet*, BayFullTcpAgent*, int) {} ^ ./common/agent.h:75:7: note: hidden overloaded virtual function 'Agent::recv' declared here: different number of parameters (2 vs 3) void recv(Packet*, Handler*); ^ In file included from baytcp/ftpc.cc:41: baytcp/tcp-full-bay.h:166:10: warning: 'BayFullTcpAgent::connect' hides overloaded virtual function [-Woverloaded-virtual] void connect(); // do active open ^ ./common/agent.h:98:15: note: hidden overloaded virtual function 'Agent::connect' declared here: different number of parameters (1 vs 0) virtual void connect(nsaddr_t dst); ^ In file included from baytcp/ftpc.cc:43: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from baytcp/ftpc.cc:44: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from baytcp/ftps.cc:41: In file included from baytcp/tcp-full-bay.h:39: In file included from ./tcp/tcp.h:38: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from baytcp/ftps.cc:41: baytcp/tcp-full-bay.h:128:15: warning: 'BayTcpAppAgent::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv(Packet*, BayFullTcpAgent*, int) {} ^ ./common/agent.h:75:7: note: hidden overloaded virtual function 'Agent::recv' declared here: different number of parameters (2 vs 3) void recv(Packet*, Handler*); ^ In file included from baytcp/ftps.cc:41: baytcp/tcp-full-bay.h:166:10: warning: 'BayFullTcpAgent::connect' hides overloaded virtual function [-Woverloaded-virtual] void connect(); // do active open ^ ./common/agent.h:98:15: note: hidden overloaded virtual function 'Agent::connect' declared here: different number of parameters (1 vs 0) virtual void connect(nsaddr_t dst); ^ In file included from baytcp/ftps.cc:43: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from baytcp/ftps.cc:44: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/scoreboard.cc:44: In file included from ./tcp/scoreboard.h:47: In file included from ./tcp/tcp.h:38: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/scoreboard-rq.cc:36: In file included from ./tcp/scoreboard-rq.h:41: In file included from ./tcp/scoreboard.h:47: In file included from ./tcp/tcp.h:38: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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-sack1.o tcp/tcp-sack1.cc In file included from tcp/tcp-sack1.cc:28: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tcp-sack1.cc:33: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-fack.cc:29: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tcp-fack.cc:33: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/scoreboard1.cc:54: In file included from ./tcp/scoreboard1.h:56: In file included from ./tcp/tcp.h:38: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-linux.cc:43: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tcp-linux.cc:46: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tcp/tcp-linux.cc:47: ./tcp/tcp-linux.h:139:7: warning: 'LinuxTcpAgent::rtt_update' hides overloaded virtual function [-Woverloaded-virtual] void rtt_update(double tao, unsigned long pkt_seq_no=0); //rewrite the tcp.cc functions ^ ./tcp/tcp.h:287:15: note: hidden overloaded virtual function 'TcpAgent::rtt_update' declared here: different number of parameters (1 vs 2) virtual void rtt_update(double tao); /* update RTT estimate */ ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-asym.cc:67: In file included from ./tcp/tcp-asym.h:42: In file included from ./tcp/tcp.h:38: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tcp-asym.cc:67: In file included from ./tcp/tcp-asym.h:45: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-asym-sink.cc:64: In file included from ./tcp/template.h:42: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tcp-asym-sink.cc:67: In file included from ./tcp/tcp-asym.h:45: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-fs.cc:19: In file included from ./tcp/tcp-fs.h:41: In file included from ./tcp/tcp.h:38: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tcp-fs.cc:19: In file included from ./tcp/tcp-fs.h:44: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-asym-fs.cc:46: In file included from ./tcp/tcp-asym.h:42: In file included from ./tcp/tcp.h:38: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tcp-asym-fs.cc:46: In file included from ./tcp/tcp-asym.h:45: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-int.cc:66: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tcp-int.cc:71: ./tcp/tcp-int.h:57:7: warning: 'IntTcpAgent::send_one' hides overloaded virtual function [-Woverloaded-virtual] void send_one(int sessionSeqno); ^ ./tcp/tcp.h:228:15: note: hidden overloaded virtual function 'TcpAgent::send_one' declared here: different number of parameters (0 vs 1) virtual void send_one(); /* do this on 1-2 dupacks */ ^ In file included from tcp/tcp-int.cc:72: In file included from ./tcp/chost.h:40: In file included from ./tcp/tcp-fs.h:44: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tcp/tcp-int.cc:72: ./tcp/chost.h:82:7: warning: 'CorresHost::opencwnd' hides overloaded virtual function [-Woverloaded-virtual] void opencwnd(int size, IntTcpAgent *sender=0); ^ ./tcp/tcp.h:229:15: note: hidden overloaded virtual function 'TcpAgent::opencwnd' declared here: different number of parameters (0 vs 2) virtual void opencwnd(); ^ In file included from tcp/tcp-int.cc:73: ./tcp/tcp-session.h:101:7: warning: 'TcpSessionAgent::send_much' hides overloaded virtual function [-Woverloaded-virtual] void send_much(IntTcpAgent *agent, int force, int reason); ^ ./tcp/tcp.h:225:15: note: hidden overloaded virtual function 'TcpAgent::send_much' declared here: type mismatch at 1st parameter ('int' vs 'IntTcpAgent *') virtual void send_much(int force, int reason, int maxburst = 0); ^ In file included from tcp/tcp-int.cc:73: ./tcp/tcp-session.h:102:7: warning: 'TcpSessionAgent::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(IntTcpAgent *agent, Packet *pkt, int amt_data_acked); ^ ./tcp/tcp.h:179:22: note: hidden overloaded virtual function 'TcpAgent::recv' declared here: different number of parameters (2 vs 3) virtual void recv(Packet*, Handler*); ^ 6 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/chost.cc:41: In file included from ./tcp/chost.h:37: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/chost.cc:41: In file included from ./tcp/chost.h:40: In file included from ./tcp/tcp-fs.h:44: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tcp/chost.cc:41: In file included from ./tcp/chost.h:41: ./tcp/tcp-int.h:57:7: warning: 'IntTcpAgent::send_one' hides overloaded virtual function [-Woverloaded-virtual] void send_one(int sessionSeqno); ^ ./tcp/tcp.h:228:15: note: hidden overloaded virtual function 'TcpAgent::send_one' declared here: different number of parameters (0 vs 1) virtual void send_one(); /* do this on 1-2 dupacks */ ^ In file included from tcp/chost.cc:41: ./tcp/chost.h:82:7: warning: 'CorresHost::opencwnd' hides overloaded virtual function [-Woverloaded-virtual] void opencwnd(int size, IntTcpAgent *sender=0); ^ ./tcp/tcp.h:229:15: note: hidden overloaded virtual function 'TcpAgent::opencwnd' declared here: different number of parameters (0 vs 2) virtual void opencwnd(); ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-session.cc:39: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tcp-session.cc:41: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tcp/tcp-session.cc:45: ./tcp/tcp-int.h:57:7: warning: 'IntTcpAgent::send_one' hides overloaded virtual function [-Woverloaded-virtual] void send_one(int sessionSeqno); ^ ./tcp/tcp.h:228:15: note: hidden overloaded virtual function 'TcpAgent::send_one' declared here: different number of parameters (0 vs 1) virtual void send_one(); /* do this on 1-2 dupacks */ ^ In file included from tcp/tcp-session.cc:46: In file included from ./tcp/tcp-session.h:44: ./tcp/chost.h:82:7: warning: 'CorresHost::opencwnd' hides overloaded virtual function [-Woverloaded-virtual] void opencwnd(int size, IntTcpAgent *sender=0); ^ ./tcp/tcp.h:229:15: note: hidden overloaded virtual function 'TcpAgent::opencwnd' declared here: different number of parameters (0 vs 2) virtual void opencwnd(); ^ In file included from tcp/tcp-session.cc:46: ./tcp/tcp-session.h:101:7: warning: 'TcpSessionAgent::send_much' hides overloaded virtual function [-Woverloaded-virtual] void send_much(IntTcpAgent *agent, int force, int reason); ^ ./tcp/tcp.h:225:15: note: hidden overloaded virtual function 'TcpAgent::send_much' declared here: type mismatch at 1st parameter ('int' vs 'IntTcpAgent *') virtual void send_much(int force, int reason, int maxburst = 0); ^ In file included from tcp/tcp-session.cc:46: ./tcp/tcp-session.h:102:7: warning: 'TcpSessionAgent::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(IntTcpAgent *agent, Packet *pkt, int amt_data_acked); ^ ./tcp/tcp.h:179:22: note: hidden overloaded virtual function 'TcpAgent::recv' declared here: different number of parameters (2 vs 3) virtual void recv(Packet*, Handler*); ^ 6 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from sctp/sctp.cc:46: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from sctp/sctp.cc:47: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from sctp/sctp.cc:47: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from sctp/sctp.cc:47: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from sctp/sctp.cc:47: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from sctp/sctp.cc:47: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from sctp/sctp.cc:47: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from sctp/sctp.cc:47: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from apps/sctp_app1.cc:43: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from apps/sctp_app1.cc:43: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from apps/sctp_app1.cc:44: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from apps/sctp_app1.cc:44: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from apps/sctp_app1.cc:44: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from apps/sctp_app1.cc:44: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from apps/sctp_app1.cc:44: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from apps/sctp_app1.cc:44: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 sctp/sctp-timestamp.cc:49: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from sctp/sctp-timestamp.cc:50: In file included from ./sctp/sctp-timestamp.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from sctp/sctp-timestamp.cc:50: In file included from ./sctp/sctp-timestamp.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from sctp/sctp-timestamp.cc:50: In file included from ./sctp/sctp-timestamp.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from sctp/sctp-timestamp.cc:50: In file included from ./sctp/sctp-timestamp.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from sctp/sctp-timestamp.cc:50: In file included from ./sctp/sctp-timestamp.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from sctp/sctp-timestamp.cc:50: In file included from ./sctp/sctp-timestamp.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from sctp/sctp-timestamp.cc:50: In file included from ./sctp/sctp-timestamp.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from sctp/sctp-hbAfterRto.cc:49: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from sctp/sctp-hbAfterRto.cc:50: In file included from ./sctp/sctp-hbAfterRto.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from sctp/sctp-hbAfterRto.cc:50: In file included from ./sctp/sctp-hbAfterRto.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from sctp/sctp-hbAfterRto.cc:50: In file included from ./sctp/sctp-hbAfterRto.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from sctp/sctp-hbAfterRto.cc:50: In file included from ./sctp/sctp-hbAfterRto.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from sctp/sctp-hbAfterRto.cc:50: In file included from ./sctp/sctp-hbAfterRto.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from sctp/sctp-hbAfterRto.cc:50: In file included from ./sctp/sctp-hbAfterRto.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from sctp/sctp-hbAfterRto.cc:50: In file included from ./sctp/sctp-hbAfterRto.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from sctp/sctp-multipleFastRtx.cc:51: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from sctp/sctp-multipleFastRtx.cc:52: In file included from ./sctp/sctp-multipleFastRtx.h:51: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from sctp/sctp-multipleFastRtx.cc:52: In file included from ./sctp/sctp-multipleFastRtx.h:51: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from sctp/sctp-multipleFastRtx.cc:52: In file included from ./sctp/sctp-multipleFastRtx.h:51: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from sctp/sctp-multipleFastRtx.cc:52: In file included from ./sctp/sctp-multipleFastRtx.h:51: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from sctp/sctp-multipleFastRtx.cc:52: In file included from ./sctp/sctp-multipleFastRtx.h:51: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from sctp/sctp-multipleFastRtx.cc:52: In file included from ./sctp/sctp-multipleFastRtx.h:51: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from sctp/sctp-multipleFastRtx.cc:52: In file included from ./sctp/sctp-multipleFastRtx.h:51: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from sctp/sctp-mfrHbAfterRto.cc:58: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from sctp/sctp-mfrHbAfterRto.cc:59: In file included from ./sctp/sctp-mfrHbAfterRto.h:58: In file included from ./sctp/sctp-multipleFastRtx.h:51: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from sctp/sctp-mfrHbAfterRto.cc:59: In file included from ./sctp/sctp-mfrHbAfterRto.h:58: In file included from ./sctp/sctp-multipleFastRtx.h:51: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from sctp/sctp-mfrHbAfterRto.cc:59: In file included from ./sctp/sctp-mfrHbAfterRto.h:58: In file included from ./sctp/sctp-multipleFastRtx.h:51: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from sctp/sctp-mfrHbAfterRto.cc:59: In file included from ./sctp/sctp-mfrHbAfterRto.h:58: In file included from ./sctp/sctp-multipleFastRtx.h:51: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from sctp/sctp-mfrHbAfterRto.cc:59: In file included from ./sctp/sctp-mfrHbAfterRto.h:58: In file included from ./sctp/sctp-multipleFastRtx.h:51: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from sctp/sctp-mfrHbAfterRto.cc:59: In file included from ./sctp/sctp-mfrHbAfterRto.h:58: In file included from ./sctp/sctp-multipleFastRtx.h:51: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from sctp/sctp-mfrHbAfterRto.cc:59: In file included from ./sctp/sctp-mfrHbAfterRto.h:58: In file included from ./sctp/sctp-multipleFastRtx.h:51: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from sctp/sctp-mfrTimestamp.cc:51: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from sctp/sctp-mfrTimestamp.cc:52: In file included from ./sctp/sctp-mfrTimestamp.h:58: In file included from ./sctp/sctp-timestamp.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from sctp/sctp-mfrTimestamp.cc:52: In file included from ./sctp/sctp-mfrTimestamp.h:58: In file included from ./sctp/sctp-timestamp.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from sctp/sctp-mfrTimestamp.cc:52: In file included from ./sctp/sctp-mfrTimestamp.h:58: In file included from ./sctp/sctp-timestamp.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from sctp/sctp-mfrTimestamp.cc:52: In file included from ./sctp/sctp-mfrTimestamp.h:58: In file included from ./sctp/sctp-timestamp.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from sctp/sctp-mfrTimestamp.cc:52: In file included from ./sctp/sctp-mfrTimestamp.h:58: In file included from ./sctp/sctp-timestamp.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from sctp/sctp-mfrTimestamp.cc:52: In file included from ./sctp/sctp-mfrTimestamp.h:58: In file included from ./sctp/sctp-timestamp.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from sctp/sctp-mfrTimestamp.cc:52: In file included from ./sctp/sctp-mfrTimestamp.h:58: In file included from ./sctp/sctp-timestamp.h:49: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from sctp/sctp-cmt.cc:45: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from sctp/sctp-cmt.cc:46: In file included from ./sctp/sctp-cmt.h:49: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from sctp/sctp-cmt.cc:46: In file included from ./sctp/sctp-cmt.h:49: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from sctp/sctp-cmt.cc:46: In file included from ./sctp/sctp-cmt.h:49: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from sctp/sctp-cmt.cc:46: In file included from ./sctp/sctp-cmt.h:49: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from sctp/sctp-cmt.cc:46: In file included from ./sctp/sctp-cmt.h:49: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from sctp/sctp-cmt.cc:46: In file included from ./sctp/sctp-cmt.h:49: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from sctp/sctp-cmt.cc:46: In file included from ./sctp/sctp-cmt.h:49: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from sctp/sctp-cmt.cc:46: ./sctp/sctp-cmt.h:106:15: warning: 'SctpCMTAgent::GetHighestOutstandingTsn' hides overloaded virtual function [-Woverloaded-virtual] u_int GetHighestOutstandingTsn(SctpDest_S *); ^ ./sctp/sctp.h:752:17: note: hidden overloaded virtual function 'SctpAgent::GetHighestOutstandingTsn' declared here: different number of parameters (0 vs 1) virtual u_int GetHighestOutstandingTsn(); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_opt.o dccp/dccp_opt.cc In file included from dccp/dccp_opt.cc:32: In file included from dccp/dccp_opt.h:34: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dccp/dccp_ackv.cc:32: In file included from dccp/dccp_ackv.h:34: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ dccp/dccp_ackv.cc:186:19: warning: comparison of constant 4 with expression of type 'dccp_packet_state' is always true [-Wtautological-constant-out-of-range-compare] if (state < DCCP_NUM_PACKET_STATES && state >= 0) ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dccp/dccp_packets.cc:31: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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.o dccp/dccp.cc In file included from dccp/dccp.cc:31: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from dccp/dccp.cc:32: In file included from dccp/dccp.h:41: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ dccp/dccp.cc:219:22: warning: '&&' within '||' [-Wlogical-op-parentheses] result = (new_pkt && dccph->type_ == DCCP_REQUEST || ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ dccp/dccp.cc:219:22: note: place parentheses around the '&&' expression to silence this warning result = (new_pkt && dccph->type_ == DCCP_REQUEST || ^ ( ) dccp/dccp.cc:221:15: warning: '&&' within '||' [-Wlogical-op-parentheses] new_pkt && dccph->type_ == DCCP_ACK || ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ dccp/dccp.cc:221:15: note: place parentheses around the '&&' expression to silence this warning new_pkt && dccph->type_ == DCCP_ACK || ^ ( ) dccp/dccp.cc:222:15: warning: '&&' within '||' [-Wlogical-op-parentheses] new_pkt && dccph->type_ == DCCP_DATAACK); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dccp/dccp.cc:222:15: note: place parentheses around the '&&' expression to silence this warning new_pkt && dccph->type_ == DCCP_DATAACK); ^ ( ) dccp/dccp.cc:226:37: warning: '&&' within '||' [-Wlogical-op-parentheses] dccph->type_ == DCCP_CLOSEREQ && !server_ || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ dccp/dccp.cc:226:37: note: place parentheses around the '&&' expression to silence this warning dccph->type_ == DCCP_CLOSEREQ && !server_ || ^ ( ) dccp/dccp.cc:233:7: warning: '&&' within '||' [-Wlogical-op-parentheses] && dccpah->ack_num_ == seq_num_-1 || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ dccp/dccp.cc:233:7: note: place parentheses around the '&&' expression to silence this warning && dccpah->ack_num_ == seq_num_-1 || ^ dccp/dccp.cc:467:11: warning: comparison of constant 8 with expression of type 'dccp_packet_type' is always true [-Wtautological-constant-out-of-range-compare] if (type < DCCP_NUM_PTYPES && type >= 0) ~~~~ ^ ~~~~~~~~~~~~~~~ dccp/dccp.cc:481:15: warning: comparison of constant 2 with expression of type 'dccp_feature_location' is always true [-Wtautological-constant-out-of-range-compare] if (location < DCCP_NUM_FEAT_LOCS && location >= 0) ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ dccp/dccp.cc:492:11: warning: comparison of constant 8 with expression of type 'dccp_packet_type' is always true [-Wtautological-constant-out-of-range-compare] if (type < DCCP_NUM_PTYPES && type >= 0) ~~~~ ^ ~~~~~~~~~~~~~~~ dccp/dccp.cc:1162:24: warning: '&&' within '||' [-Wlogical-op-parentheses] if (use_ecn_local_ && data[0] || ~~~~~~~~~~~~~~~^~~~~~~~~~ ~~ dccp/dccp.cc:1162:24: note: place parentheses around the '&&' expression to silence this warning if (use_ecn_local_ && data[0] || ^ ( ) dccp/dccp.cc:1169:25: warning: '&&' within '||' [-Wlogical-op-parentheses] if (use_ecn_remote_ && data[0] || ~~~~~~~~~~~~~~~~^~~~~~~~~~ ~~ dccp/dccp.cc:1169:25: note: place parentheses around the '&&' expression to silence this warning if (use_ecn_remote_ && data[0] || ^ ( ) dccp/dccp.cc:1202:25: warning: '&&' within '||' [-Wlogical-op-parentheses] if (use_ackv_local_ && data[0] || ~~~~~~~~~~~~~~~~^~~~~~~~~~ ~~ dccp/dccp.cc:1202:25: note: place parentheses around the '&&' expression to silence this warning if (use_ackv_local_ && data[0] || ^ ( ) 13 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dccp/dccp_tcplike.cc:31: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from dccp/dccp_tcplike.cc:32: In file included from dccp/dccp_tcplike.h:34: In file included from dccp/dccp.h:41: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dccp/dccp_tfrc.cc:31: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from dccp/dccp_tfrc.cc:32: In file included from dccp/dccp_tfrc.h:34: In file included from dccp/dccp.h:41: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ dccp/dccp_tfrc.cc:772:30: warning: '&&' within '||' [-Wlogical-op-parentheses] if (use_loss_rate_local_ && data[0] || ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ~~ dccp/dccp_tfrc.cc:772:30: note: place parentheses around the '&&' expression to silence this warning if (use_loss_rate_local_ && data[0] || ^ ( ) dccp/dccp_tfrc.cc:779:31: warning: '&&' within '||' [-Wlogical-op-parentheses] if (use_loss_rate_remote_ && data[0] || ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ~~ dccp/dccp_tfrc.cc:779:31: note: place parentheses around the '&&' expression to silence this warning if (use_loss_rate_remote_ && data[0] || ^ ( ) 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tools/integrator.cc:41: In file included from ./tools/integrator.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tools/queue-monitor.cc:40: In file included from ./tools/queue-monitor.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tools/queue-monitor.cc:41: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tools/flowmon.cc:46: In file included from ./tools/flowmon.h:46: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tools/flowmon.cc:46: In file included from ./tools/flowmon.h:51: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ tools/flowmon.cc:178:17: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] f->parrivals(), // 8: arrivals this flow (pkts) ^~~~~~~~~~~~~~ tools/flowmon.cc:179:17: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] f->barrivals(), // 9: arrivals this flow (bytes) ^~~~~~~~~~~~~~ tools/flowmon.cc:182:17: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] parrivals(), // 12: all arrivals (pkts) ^~~~~~~~~~~ tools/flowmon.cc:183:17: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] barrivals(), // 13: all arrivals (bytes) ^~~~~~~~~~~ tools/flowmon.cc:391:3: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] f->parrivals(), // 8: arrivals this flow (pkts) ^~~~~~~~~~~~~~ tools/flowmon.cc:392:3: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] f->barrivals(), // 9: arrivals this flow (bytes) ^~~~~~~~~~~~~~ tools/flowmon.cc:395:3: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] parrivals(), // 12: all arrivals (pkts) ^~~~~~~~~~~ tools/flowmon.cc:396:3: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] barrivals(), // 13: all arrivals (bytes) ^~~~~~~~~~~ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tools/loss-monitor.cc:42: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/queue.cc:40: In file included from ./queue/queue.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/drop-tail.cc:40: In file included from ./queue/drop-tail.h:41: In file included from ./queue/queue.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from adc/simple-intserv-sched.cc:85: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 queue/red.cc:65: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/red.cc:67: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from queue/red.cc:70: In file included from ./queue/red.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/semantic-packetqueue.cc:38: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/semantic-packetqueue.cc:41: In file included from ./queue/semantic-packetqueue.h:45: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from queue/semantic-packetqueue.cc:42: ./tcp/ack-recons.h:81:7: warning: 'AckRecons::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(Packet *p); ^ ./common/agent.h:75:7: note: hidden overloaded virtual function 'Agent::recv' declared here: different number of parameters (2 vs 1) void recv(Packet*, Handler*); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/semantic-red.cc:9: In file included from ./queue/red.h:62: In file included from ./queue/queue.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/semantic-red.cc:9: In file included from ./queue/red.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from queue/semantic-red.cc:10: In file included from ./queue/semantic-packetqueue.h:45: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 tcp/ack-recons.cc:49: In file included from ./tcp/template.h:42: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/ack-recons.cc:50: In file included from ./tcp/ack-recons.h:52: In file included from ./queue/semantic-packetqueue.h:45: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tcp/ack-recons.cc:50: ./tcp/ack-recons.h:81:7: warning: 'AckRecons::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(Packet *p); ^ ./common/agent.h:75:7: note: hidden overloaded virtual function 'Agent::recv' declared here: different number of parameters (2 vs 1) void recv(Packet*, Handler*); ^ In file included from tcp/ack-recons.cc:50: ./tcp/ack-recons.h:85:11: warning: private field 'src_' is not used [-Wunused-private-field] nsaddr_t src_; /* src addr:port */ ^ ./tcp/ack-recons.h:86:11: warning: private field 'dst_' is not used [-Wunused-private-field] nsaddr_t dst_; /* dst addr:port */ ^ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/sfq.cc:44: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/fq.cc:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/drr.cc:51: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/srr.cc:52: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 queue/cbq.cc:81: In file included from ./tools/queue-monitor.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/jobs.cc:53: In file included from ./queue/jobs.h:58: In file included from ./queue/queue.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/jobs.cc:53: In file included from ./queue/jobs.h:60: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from queue/jobs.cc:53: ./queue/jobs.h:156:7: warning: 'JoBS::updateStats' hides overloaded virtual function [-Woverloaded-virtual] void updateStats(Packet*, int); ^ ./queue/queue.h:127:15: note: hidden overloaded virtual function 'Queue::updateStats' declared here: different number of parameters (1 vs 2) virtual void updateStats(int queuesize); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/marker.cc:49: In file included from ./queue/queue.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/marker.cc:50: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/demarker.cc:49: In file included from ./queue/queue.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 link/hackloss.cc:7: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/errmodel.cc:48: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/errmodel.cc:54: In file included from ./queue/errmodel.h:45: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from queue/errmodel.cc:54: In file included from ./queue/errmodel.h:47: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from queue/errmodel.cc:1188: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from queue/errmodel.cc:1188: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from queue/errmodel.cc:1188: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from queue/errmodel.cc:1188: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from queue/errmodel.cc:1188: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/fec.cc:48: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/fec.cc:54: In file included from ./queue/fec.h:44: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from link/delay.cc:40: In file included from ./link/delay.h:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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/snoop.o tcp/snoop.cc In file included from tcp/snoop.cc:40: In file included from ./tcp/snoop.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/snoop.cc:40: In file included from ./tcp/snoop.h:45: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from tcp/snoop.cc:40: In file included from ./tcp/snoop.h:45: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tcp/snoop.cc:40: In file included from ./tcp/snoop.h:45: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from tcp/snoop.cc:40: In file included from ./tcp/snoop.h:45: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tcp/snoop.cc:40: In file included from ./tcp/snoop.h:45: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tcp/snoop.cc:40: In file included from ./tcp/snoop.h:45: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tcp/snoop.cc:40: In file included from ./tcp/snoop.h:45: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from gaf/gaf.cc:48: In file included from ./tcp/template.h:42: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from gaf/gaf.cc:49: In file included from ./gaf/gaf.h:54: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from gaf/gaf.cc:49: In file included from ./gaf/gaf.h:54: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from gaf/gaf.cc:49: In file included from ./gaf/gaf.h:54: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from gaf/gaf.cc:49: In file included from ./gaf/gaf.h:54: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from gaf/gaf.cc:49: In file included from ./gaf/gaf.h:54: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from gaf/gaf.cc:49: In file included from ./gaf/gaf.h:54: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from gaf/gaf.cc:49: In file included from ./gaf/gaf.h:54: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from gaf/gaf.cc:49: ./gaf/gaf.h:146:7: warning: 'GAFAgent::timeout' hides overloaded virtual function [-Woverloaded-virtual] void timeout(GafMsgType); ^ ./common/agent.h:85:15: note: hidden overloaded virtual function 'Agent::timeout' declared here: type mismatch at 1st parameter ('int' vs 'GafMsgType') virtual void timeout(int tno); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from link/dynalink.cc:56: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from routing/rtProtoDV.cc:52: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/net-interface.cc:55: In file included from ./common/net-interface.h:56: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mcast/ctrMcast.cc:57: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mcast/mcast_ctrl.cc:56: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mcast/srm.cc:61: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mcast/srm.cc:65: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 common/sessionhelper.cc:56: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from common/sessionhelper.cc:61: In file included from ./queue/errmodel.h:45: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from common/sessionhelper.cc:61: In file included from ./queue/errmodel.h:47: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/delaymodel.cc:57: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/delaymodel.cc:58: In file included from ./queue/delaymodel.h:57: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 mcast/srm-ssm.cc:63: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mcast/srm-ssm.cc:69: ./mcast/srm-ssm.h:89:8: warning: 'SSMSRMAgent::recv_data' hides overloaded virtual function [-Woverloaded-virtual] void recv_data(int sender, int id, int repid, u_char* data); ^ ./mcast/srm.h:141:15: note: hidden overloaded virtual function 'SRMAgent::recv_data' declared here: different number of parameters (3 vs 4) virtual void recv_data(int sender, int msgid, u_char* data); ^ In file included from mcast/srm-ssm.cc:69: ./mcast/srm-ssm.h:91:8: warning: 'SSMSRMAgent::recv_rqst' hides overloaded virtual function [-Woverloaded-virtual] void recv_rqst(int requestor, int round, int sender, int msgid, int repid); ^ ./mcast/srm.h:143:15: note: hidden overloaded virtual function 'SRMAgent::recv_rqst' declared here: different number of parameters (4 vs 5) virtual void recv_rqst(int requestr, int round, int sender, int msgid); ^ In file included from mcast/srm-ssm.cc:69: ./mcast/srm-ssm.h:92:8: warning: 'SSMSRMAgent::recv_sess' hides overloaded virtual function [-Woverloaded-virtual] void recv_sess(int sessCtr, int* data, Packet *p); ^ ./mcast/srm.h:144:15: note: hidden overloaded virtual function 'SRMAgent::recv_sess' declared here: type mismatch at 1st parameter ('Packet *' vs 'int') virtual void recv_sess(Packet*, int sessCtr, int* data); ^ In file included from mcast/srm-ssm.cc:70: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 mcast/srm-topo.cc:48: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mcast/srm-topo.cc:50: In file included from ./mcast/srm-topo.h:47: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from routing/alloc-address.cc:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from routing/address.cc:40: In file included from ./routing/address.h:38: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 lib/int.Vec.cc:42:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma implementation ^ In file included from lib/int.Vec.cc:46: ./lib/builtin.h:49:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma interface ^ In file included from lib/int.Vec.cc:47: ./lib/int.Vec.h:44:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma interface ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 lib/int.RVec.cc:36:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma implementation ^ In file included from lib/int.RVec.cc:38: ./lib/int.RVec.h:46:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma interface ^ In file included from lib/int.RVec.cc:38: In file included from ./lib/int.RVec.h:50: lib/int.Vec.h:44:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma interface ^ In file included from lib/int.RVec.cc:38: In file included from ./lib/int.RVec.h:50: In file included from lib/int.Vec.h:48: lib/builtin.h:49:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma interface ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from webcache/http.cc:55: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from webcache/http.cc:58: In file included from webcache/http.h:57: In file included from webcache/pagepool.h:53: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from webcache/http.cc:58: In file included from webcache/http.h:58: In file included from webcache/inval-agent.h:56: webcache/tcpapp.h:112:15: warning: 'TcpApp::send' hides overloaded virtual function [-Woverloaded-virtual] virtual void send(int nbytes, AppData *data); ^ ./apps/app.h:51:15: note: hidden overloaded virtual function 'Application::send' declared here: different number of parameters (1 vs 2) virtual void send(int nbytes); ^ In file included from webcache/http.cc:60: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from webcache/tcp-simple.cc:53: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from webcache/pagepool.cc:62: In file included from webcache/pagepool.h:53: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from webcache/pagepool.cc:62: In file included from webcache/pagepool.h:53: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from webcache/pagepool.cc:63: In file included from webcache/http.h:58: In file included from webcache/inval-agent.h:56: webcache/tcpapp.h:112:15: warning: 'TcpApp::send' hides overloaded virtual function [-Woverloaded-virtual] virtual void send(int nbytes, AppData *data); ^ ./apps/app.h:51:15: note: hidden overloaded virtual function 'Application::send' declared here: different number of parameters (1 vs 2) virtual void send(int nbytes); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from webcache/inval-agent.cc:47: In file included from webcache/inval-agent.h:53: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from webcache/inval-agent.cc:47: In file included from webcache/inval-agent.h:56: webcache/tcpapp.h:112:15: warning: 'TcpApp::send' hides overloaded virtual function [-Woverloaded-virtual] virtual void send(int nbytes, AppData *data); ^ ./apps/app.h:51:15: note: hidden overloaded virtual function 'Application::send' declared here: different number of parameters (1 vs 2) virtual void send(int nbytes); ^ In file included from webcache/inval-agent.cc:49: In file included from webcache/http.h:57: In file included from webcache/pagepool.h:53: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from webcache/tcpapp.cc:50: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from webcache/tcpapp.cc:52: webcache/tcpapp.h:112:15: warning: 'TcpApp::send' hides overloaded virtual function [-Woverloaded-virtual] virtual void send(int nbytes, AppData *data); ^ ./apps/app.h:51:15: note: hidden overloaded virtual function 'Application::send' declared here: different number of parameters (1 vs 2) virtual void send(int nbytes); ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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-aux.o webcache/http-aux.cc In file included from webcache/http-aux.cc:46: In file included from webcache/http-aux.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from webcache/http-aux.cc:46: In file included from webcache/http-aux.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from webcache/http-aux.cc:47: In file included from webcache/http.h:58: In file included from webcache/inval-agent.h:56: webcache/tcpapp.h:112:15: warning: 'TcpApp::send' hides overloaded virtual function [-Woverloaded-virtual] virtual void send(int nbytes, AppData *data); ^ ./apps/app.h:51:15: note: hidden overloaded virtual function 'Application::send' declared here: different number of parameters (1 vs 2) virtual void send(int nbytes); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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/mcache.o webcache/mcache.cc In file included from webcache/mcache.cc:56: In file included from ./rap/media-app.h:65: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from webcache/mcache.cc:56: In file included from ./rap/media-app.h:68: In file included from ./webcache/http-aux.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from webcache/mcache.cc:57: In file included from webcache/mcache.h:59: In file included from webcache/http.h:58: In file included from webcache/inval-agent.h:56: webcache/tcpapp.h:112:15: warning: 'TcpApp::send' hides overloaded virtual function [-Woverloaded-virtual] virtual void send(int nbytes, AppData *data); ^ ./apps/app.h:51:15: note: hidden overloaded virtual function 'Application::send' declared here: different number of parameters (1 vs 2) virtual void send(int nbytes); ^ webcache/mcache.cc:1360:26: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] memset(buf, 0, sizeof(buf)); ~~~ ^~~ webcache/mcache.cc:1360:26: note: did you mean to provide an explicit length? memset(buf, 0, sizeof(buf)); ^~~ webcache/mcache.cc:1465:26: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] memset(buf, 0, sizeof(buf)); ~~~ ^~~ webcache/mcache.cc:1465:26: note: did you mean to provide an explicit length? memset(buf, 0, sizeof(buf)); ^~~ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from webcache/webtraf.cc:54: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from webcache/webtraf.cc:58: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from webcache/webtraf.cc:58: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from webcache/webtraf.cc:58: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from webcache/webtraf.cc:58: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from webcache/webtraf.cc:58: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from webcache/webtraf.cc:58: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from webcache/webtraf.cc:58: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from webcache/webserver.cc:54: In file included from webcache/webserver.h:58: In file included from webcache/webtraf.h:60: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from webcache/webserver.cc:54: In file included from webcache/webserver.h:58: In file included from webcache/webtraf.h:65: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from webcache/webserver.cc:54: In file included from webcache/webserver.h:58: In file included from webcache/webtraf.h:65: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from webcache/webserver.cc:54: In file included from webcache/webserver.h:58: In file included from webcache/webtraf.h:65: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from webcache/webserver.cc:54: In file included from webcache/webserver.h:58: In file included from webcache/webtraf.h:65: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from webcache/webserver.cc:54: In file included from webcache/webserver.h:58: In file included from webcache/webtraf.h:65: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from webcache/webserver.cc:54: In file included from webcache/webserver.h:58: In file included from webcache/webtraf.h:65: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 7 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from webcache/logweb.cc:54: In file included from webcache/logweb.h:55: In file included from webcache/webtraf.h:60: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from webcache/logweb.cc:54: In file included from webcache/logweb.h:55: In file included from webcache/webtraf.h:65: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from webcache/logweb.cc:54: In file included from webcache/logweb.h:55: In file included from webcache/webtraf.h:65: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from webcache/logweb.cc:54: In file included from webcache/logweb.h:55: In file included from webcache/webtraf.h:65: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from webcache/logweb.cc:54: In file included from webcache/logweb.h:55: In file included from webcache/webtraf.h:65: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from webcache/logweb.cc:54: In file included from webcache/logweb.h:55: In file included from webcache/webtraf.h:65: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from webcache/logweb.cc:54: In file included from webcache/logweb.h:55: In file included from webcache/webtraf.h:65: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 7 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from empweb/empweb.cc:57: In file included from empweb/empweb.h:58: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from empweb/empweb.cc:57: In file included from empweb/empweb.h:58: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from empweb/empweb.cc:57: In file included from empweb/empweb.h:63: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from empweb/empweb.cc:57: In file included from empweb/empweb.h:63: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from empweb/empweb.cc:57: In file included from empweb/empweb.h:63: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from empweb/empweb.cc:57: In file included from empweb/empweb.h:63: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from empweb/empweb.cc:57: In file included from empweb/empweb.h:63: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from empweb/empweb.cc:57: In file included from empweb/empweb.h:63: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from empweb/empftp.cc:56: In file included from empweb/empftp.h:57: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from empweb/empftp.cc:56: In file included from empweb/empftp.h:57: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from empweb/empftp.cc:56: In file included from empweb/empftp.h:62: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from empweb/empftp.cc:56: In file included from empweb/empftp.h:62: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from empweb/empftp.cc:56: In file included from empweb/empftp.h:62: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from empweb/empftp.cc:56: In file included from empweb/empftp.h:62: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from empweb/empftp.cc:56: In file included from empweb/empftp.h:62: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from empweb/empftp.cc:56: In file included from empweb/empftp.h:62: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o realaudio/realaudio.o realaudio/realaudio.cc In file included from realaudio/realaudio.cc:61: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from realaudio/realaudio.cc:61: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from realaudio/realaudio.cc:62: ./tools/trafgen.h:85:15: warning: 'TrafficGenerator::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init() {} ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from realaudio/realaudio.cc:62: ./tools/trafgen.h:90:15: warning: 'TrafficGenerator::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv() {} ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 0) virtual void recv(int nbytes); ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mac/lanRouter.cc:53: In file included from ./mac/lanRouter.h:54: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from classifier/filter.cc:52: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/pkt-counter.cc:57: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/Decapsulator.cc:49: In file included from ./common/Decapsulator.h:40: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/Encapsulator.cc:49: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/encap.cc:39: In file included from ./common/encap.h:40: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mac/channel.cc:52: In file included from ./trace/trace.h:43: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/channel.cc:52: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/channel.cc:56: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/channel.cc:56: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/channel.cc:56: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/channel.cc:56: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/channel.cc:56: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/channel.cc:56: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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.o mac/mac.cc In file included from mac/mac.cc:44: In file included from ./mac/channel.h:44: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/mac.cc:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/mac.cc:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/mac.cc:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/mac.cc:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/mac.cc:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/mac.cc:44: In file included from ./mac/channel.h:46: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/mac.cc:44: In file included from ./mac/channel.h:46: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mac/ll.cc:42: In file included from ./queue/errmodel.h:43: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/ll.cc:42: In file included from ./queue/errmodel.h:45: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/ll.cc:42: In file included from ./queue/errmodel.h:47: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/ll.cc:43: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/ll.cc:43: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/ll.cc:43: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/ll.cc:43: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/ll.cc:43: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mac/mac-802_11.cc:42: In file included from ./link/delay.h:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/mac-802_11.cc:45: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/mac-802_11.cc:46: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/mac-802_11.cc:46: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/mac-802_11.cc:46: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/mac-802_11.cc:46: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/mac-802_11.cc:46: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/mac-802_11.cc:46: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/mac-802_11.cc:53: ./mac/mac-timers.h:79:7: warning: 'BackoffTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(int cw, int idle, double difs = 0.0); ^ ./mac/mac-timers.h:52:15: note: hidden overloaded virtual function 'MacTimer::start' declared here: different number of parameters (1 vs 3) virtual void start(double time); ^ ./mac/mac-timers.h:82:7: warning: 'BackoffTimer::resume' hides overloaded virtual function [-Woverloaded-virtual] void resume(double difs); ^ ./mac/mac-timers.h:55:15: note: hidden overloaded virtual function 'MacTimer::resume' declared here: different number of parameters (0 vs 1) virtual void resume(void) { assert(0); } ^ In file included from mac/mac-802_11.cc:55: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mac/mac-802_11Ext.cc:58: In file included from ./link/delay.h:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/mac-802_11Ext.cc:61: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/mac-802_11Ext.cc:62: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/mac-802_11Ext.cc:62: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/mac-802_11Ext.cc:62: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/mac-802_11Ext.cc:62: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/mac-802_11Ext.cc:62: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/mac-802_11Ext.cc:62: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/mac-802_11Ext.cc:67: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mac/mac-802_3.cc:6: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/mac-802_3.cc:7: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/mac-802_3.cc:10: In file included from ./mac/mac-802_3.h:5: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/mac-802_3.cc:10: In file included from ./mac/mac-802_3.h:5: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/mac-802_3.cc:10: In file included from ./mac/mac-802_3.h:5: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/mac-802_3.cc:10: In file included from ./mac/mac-802_3.h:5: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/mac-802_3.cc:10: In file included from ./mac/mac-802_3.h:5: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/mac-802_3.cc:10: In file included from ./mac/mac-802_3.h:5: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/mac-802_3.cc:10: ./mac/mac-802_3.h:121:7: warning: 'Mac802_3::sendDown' hides overloaded virtual function [-Woverloaded-virtual] void sendDown(Packet* p, Handler* h); ^ ./mac/mac.h:178:15: note: hidden overloaded virtual function 'Mac::sendDown' declared here: different number of parameters (1 vs 2) virtual void sendDown(Packet* p); ^ In file included from mac/mac-802_3.cc:10: ./mac/mac-802_3.h:122:7: warning: 'Mac802_3::sendUp' hides overloaded virtual function [-Woverloaded-virtual] void sendUp(Packet* p, Handler* h); ^ ./mac/mac.h:179:15: note: hidden overloaded virtual function 'Mac::sendUp' declared here: different number of parameters (1 vs 2) virtual void sendUp(Packet *p); ^ In file included from mac/mac-802_3.cc:10: ./mac/mac-802_3.h:130:15: warning: 'Mac802_3::resume' hides overloaded virtual function [-Woverloaded-virtual] virtual void resume(); ^ ./mac/mac.h:181:15: note: hidden overloaded virtual function 'Mac::resume' declared here: different number of parameters (1 vs 0) virtual void resume(Packet* p = 0); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mac/mac-tdma.cc:58: In file included from ./link/delay.h:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/mac-tdma.cc:61: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/mac-tdma.cc:69: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/mac-tdma.cc:69: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/mac-tdma.cc:69: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/mac-tdma.cc:69: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/mac-tdma.cc:69: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/mac-tdma.cc:69: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/mac-tdma.cc:72: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mac/smac.cc:79: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:43: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/smac.cc:79: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/smac.cc:79: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/smac.cc:79: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/smac.cc:79: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/smac.cc:79: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/smac.cc:79: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/smac.cc:79: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/smac.cc:80: In file included from ./mac/smac.h:89: In file included from ./mac/mac-802_11.h:47: ./mac/mac-timers.h:79:7: warning: 'BackoffTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(int cw, int idle, double difs = 0.0); ^ ./mac/mac-timers.h:52:15: note: hidden overloaded virtual function 'MacTimer::start' declared here: different number of parameters (1 vs 3) virtual void start(double time); ^ ./mac/mac-timers.h:82:7: warning: 'BackoffTimer::resume' hides overloaded virtual function [-Woverloaded-virtual] void resume(double difs); ^ ./mac/mac-timers.h:55:15: note: hidden overloaded virtual function 'MacTimer::resume' declared here: different number of parameters (0 vs 1) virtual void resume(void) { assert(0); } ^ In file included from mac/smac.cc:80: In file included from ./mac/smac.h:90: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mobile/mip.cc:33: In file included from ./routing/address.h:38: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mobile/mip-reg.cc:79: In file included from ./tcp/template.h:42: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mobile/mip-reg.cc:81: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mobile/mip-reg.cc:83: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mobile/mip-reg.cc:83: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mobile/mip-reg.cc:83: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/mip-reg.cc:83: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mobile/mip-reg.cc:83: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/mip-reg.cc:83: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mobile/gridkeeper.cc:10: In file included from ./mobile/gridkeeper.h:13: In file included from ./common/mobilenode.h:56: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mobile/gridkeeper.cc:10: In file included from ./mobile/gridkeeper.h:13: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mobile/gridkeeper.cc:10: In file included from ./mobile/gridkeeper.h:13: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mobile/gridkeeper.cc:10: In file included from ./mobile/gridkeeper.h:13: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mobile/gridkeeper.cc:10: In file included from ./mobile/gridkeeper.h:13: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/gridkeeper.cc:10: In file included from ./mobile/gridkeeper.h:13: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mobile/gridkeeper.cc:10: In file included from ./mobile/gridkeeper.h:13: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/gridkeeper.cc:10: In file included from ./mobile/gridkeeper.h:13: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mobile/propagation.cc:40: In file included from ./mobile/topography.h:43: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mobile/propagation.cc:40: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mobile/propagation.cc:40: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mobile/propagation.cc:40: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mobile/propagation.cc:40: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/propagation.cc:40: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mobile/propagation.cc:40: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/propagation.cc:40: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mobile/tworayground.cc:40: In file included from ./link/delay.h:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mobile/tworayground.cc:45: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mobile/tworayground.cc:45: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mobile/tworayground.cc:45: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mobile/tworayground.cc:45: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/tworayground.cc:45: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mobile/tworayground.cc:45: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/tworayground.cc:45: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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/nakagami.o mobile/nakagami.cc In file included from mobile/nakagami.cc:58: In file included from ./link/delay.h:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mobile/nakagami.cc:65: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mobile/nakagami.cc:65: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mobile/nakagami.cc:65: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mobile/nakagami.cc:65: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/nakagami.cc:65: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mobile/nakagami.cc:65: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/nakagami.cc:65: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mobile/antenna.cc:41: In file included from ./mobile/antenna.h:43: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 mobile/omni-antenna.cc:40: In file included from ./mobile/omni-antenna.h:43: In file included from ./mobile/antenna.h:43: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mobile/shadowing.cc:57: In file included from ./link/delay.h:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mobile/shadowing.cc:62: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mobile/shadowing.cc:62: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mobile/shadowing.cc:62: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mobile/shadowing.cc:62: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/shadowing.cc:62: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mobile/shadowing.cc:62: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/shadowing.cc:62: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mobile/shadowing-vis.cc:55: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mobile/shadowing-vis.cc:65: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mobile/shadowing-vis.cc:65: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mobile/shadowing-vis.cc:65: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mobile/shadowing-vis.cc:65: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/shadowing-vis.cc:65: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mobile/shadowing-vis.cc:65: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/shadowing-vis.cc:65: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mobile/dumb-agent.cc:49: In file included from ./mobile/dumb-agent.h:56: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mobile/dumb-agent.cc:49: In file included from ./mobile/dumb-agent.h:58: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mobile/dumb-agent.cc:49: ./mobile/dumb-agent.h:66:8: warning: 'DumbAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/bi-connector.cc:36: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/node.cc:43: In file included from ./routing/address.h:38: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from common/node.cc:46: ./nix/nixnode.h:38:8: warning: 'NixNode::AddAdj' hides overloaded virtual function [-Woverloaded-virtual] void AddAdj(nodeid_t); // Add a simplex link from this to neighbor ^ ./routealgo/rnode.h:33:18: note: hidden overloaded virtual function 'RNode::AddAdj' declared here: different number of parameters (2 vs 1) virtual void AddAdj(nodeid_t a, int w = 1); ^ In file included from common/node.cc:46: ./nix/nixnode.h:44:21: warning: 'NixNode::GetNeighbor' hides overloaded virtual function [-Woverloaded-virtual] virtual nodeid_t GetNeighbor(Nix_t, NixVec*); // Get neighbor from nix ^ ./routealgo/rnode.h:38:23: note: hidden overloaded virtual function 'RNode::GetNeighbor' declared here: different number of parameters (1 vs 2) virtual nodeid_t GetNeighbor(Nix_t);// Get neighbor from nix ^ In file included from common/node.cc:48: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from common/node.cc:48: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from common/node.cc:48: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from common/node.cc:48: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from common/node.cc:48: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from common/node.cc:48: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from common/node.cc:48: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/mobilenode.cc:50: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from common/mobilenode.cc:53: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from common/mobilenode.cc:54: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from common/mobilenode.cc:58: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from common/mobilenode.cc:58: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from common/mobilenode.cc:58: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from common/mobilenode.cc:58: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from common/mobilenode.cc:58: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mac/arp.cc:50: In file included from ./link/delay.h:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/arp.cc:52: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/arp.cc:52: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/arp.cc:52: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/arp.cc:52: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/arp.cc:52: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/arp.cc:52: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/arp.cc:52: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/arp.cc:55: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 mobile/god.cc:52: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mobile/god.cc:55: In file included from ./mobile/god.h:51: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mobile/god.cc:55: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/god.cc:55: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mobile/god.cc:55: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/god.cc:55: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mobile/god.cc:55: In file included from ./mobile/god.h:53: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mobile/god.cc:55: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mobile/dem.cc:37: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mobile/topography.cc:39: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mobile/topography.cc:42: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mobile/topography.cc:42: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mobile/topography.cc:42: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mobile/topography.cc:42: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/topography.cc:42: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mobile/topography.cc:42: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/topography.cc:42: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mobile/modulation.cc:38: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mobile/modulation.cc:38: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/priqueue.cc:43: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/priqueue.cc:47: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from queue/priqueue.cc:47: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from queue/priqueue.cc:47: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from queue/priqueue.cc:47: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from queue/priqueue.cc:47: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from queue/priqueue.cc:47: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from queue/priqueue.cc:47: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from queue/priqueue.cc:47: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/dsr-priqueue.cc:8: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/dsr-priqueue.cc:10: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from queue/dsr-priqueue.cc:10: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from queue/dsr-priqueue.cc:10: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from queue/dsr-priqueue.cc:10: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from queue/dsr-priqueue.cc:10: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from queue/dsr-priqueue.cc:10: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from queue/dsr-priqueue.cc:10: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from queue/dsr-priqueue.cc:10: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ In file included from queue/dsr-priqueue.cc:11: ./queue/dsr-priqueue.h:116:8: warning: 'CMUPriQueue::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar*); ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mac/phy.cc:44: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/phy.cc:46: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/phy.cc:46: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/phy.cc:46: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/phy.cc:46: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/phy.cc:46: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/phy.cc:46: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/phy.cc:46: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mac/wired-phy.cc:36: In file included from ./mac/wired-phy.h:39: In file included from ./mac/phy.h:54: In file included from ./common/bi-connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/wired-phy.cc:36: In file included from ./mac/wired-phy.h:39: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/wired-phy.cc:36: In file included from ./mac/wired-phy.h:39: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/wired-phy.cc:36: In file included from ./mac/wired-phy.h:39: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/wired-phy.cc:36: In file included from ./mac/wired-phy.h:39: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/wired-phy.cc:36: In file included from ./mac/wired-phy.h:39: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/wired-phy.cc:36: In file included from ./mac/wired-phy.h:39: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/wired-phy.cc:36: In file included from ./mac/wired-phy.h:39: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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/wireless-phy.cc:43: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/wireless-phy.cc:45: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/wireless-phy.cc:45: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/wireless-phy.cc:45: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/wireless-phy.cc:45: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/wireless-phy.cc:45: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/wireless-phy.cc:45: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/wireless-phy.cc:45: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mac/wireless-phyExt.cc:61: In file included from ./mac/wireless-phyExt.h:61: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/wireless-phyExt.cc:61: In file included from ./mac/wireless-phyExt.h:61: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/wireless-phyExt.cc:61: In file included from ./mac/wireless-phyExt.h:61: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/wireless-phyExt.cc:61: In file included from ./mac/wireless-phyExt.h:61: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/wireless-phyExt.cc:61: In file included from ./mac/wireless-phyExt.h:61: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/wireless-phyExt.cc:61: In file included from ./mac/wireless-phyExt.h:61: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/wireless-phyExt.cc:61: In file included from ./mac/wireless-phyExt.h:61: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 7 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mac/mac-timers.cc:39: In file included from ./link/delay.h:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/mac-timers.cc:42: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/mac-timers.cc:48: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/mac-timers.cc:48: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/mac-timers.cc:48: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/mac-timers.cc:48: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/mac-timers.cc:48: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/mac-timers.cc:48: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/mac-timers.cc:49: ./mac/mac-timers.h:79:7: warning: 'BackoffTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(int cw, int idle, double difs = 0.0); ^ ./mac/mac-timers.h:52:15: note: hidden overloaded virtual function 'MacTimer::start' declared here: different number of parameters (1 vs 3) virtual void start(double time); ^ ./mac/mac-timers.h:82:7: warning: 'BackoffTimer::resume' hides overloaded virtual function [-Woverloaded-virtual] void resume(double difs); ^ ./mac/mac-timers.h:55:15: note: hidden overloaded virtual function 'MacTimer::resume' declared here: different number of parameters (0 vs 1) virtual void resume(void) { assert(0); } ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from trace/cmu-trace.cc:40: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from trace/cmu-trace.cc:43: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from trace/cmu-trace.cc:43: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from trace/cmu-trace.cc:43: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from trace/cmu-trace.cc:43: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from trace/cmu-trace.cc:43: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from trace/cmu-trace.cc:43: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from trace/cmu-trace.cc:43: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from trace/cmu-trace.cc:48: In file included from ./mac/mac-802_11.h:47: ./mac/mac-timers.h:79:7: warning: 'BackoffTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(int cw, int idle, double difs = 0.0); ^ ./mac/mac-timers.h:52:15: note: hidden overloaded virtual function 'MacTimer::start' declared here: different number of parameters (1 vs 3) virtual void start(double time); ^ ./mac/mac-timers.h:82:7: warning: 'BackoffTimer::resume' hides overloaded virtual function [-Woverloaded-virtual] void resume(double difs); ^ ./mac/mac-timers.h:55:15: note: hidden overloaded virtual function 'MacTimer::resume' declared here: different number of parameters (0 vs 1) virtual void resume(void) { assert(0); } ^ In file included from trace/cmu-trace.cc:49: In file included from ./mac/smac.h:90: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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/varp.cc:36: In file included from ./mac/varp.h:41: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/varp.cc:37: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/varp.cc:37: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/varp.cc:37: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/varp.cc:37: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/varp.cc:37: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/varp.cc:37: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/varp.cc:37: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mac/mac-simple.cc:47: In file included from ./mac/ll.h:42: In file included from ./link/delay.h:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mac/mac-simple.cc:48: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mac/mac-simple.cc:48: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mac/mac-simple.cc:48: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mac/mac-simple.cc:48: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/mac-simple.cc:48: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/mac-simple.cc:48: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mac/mac-simple.cc:48: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mac/mac-simple.cc:56: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from satellite/sat-hdlc.cc:37: In file included from ./satellite/sat-hdlc.h:46: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:53: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from satellite/sat-hdlc.cc:37: In file included from ./satellite/sat-hdlc.h:46: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/sat-hdlc.cc:37: In file included from ./satellite/sat-hdlc.h:46: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/sat-hdlc.cc:37: In file included from ./satellite/sat-hdlc.h:46: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/sat-hdlc.cc:37: In file included from ./satellite/sat-hdlc.h:46: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/sat-hdlc.cc:37: In file included from ./satellite/sat-hdlc.h:46: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from satellite/sat-hdlc.cc:37: In file included from ./satellite/sat-hdlc.h:46: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from satellite/sat-hdlc.cc:37: In file included from ./satellite/sat-hdlc.h:46: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from satellite/sat-hdlc.cc:37: ./satellite/sat-hdlc.h:188:9: warning: class 'ARQstate' was previously declared as a struct [-Wmismatched-tags] friend class ARQstate; ^ ./satellite/sat-hdlc.h:66:8: note: previous use is here struct ARQstate { ^ ./satellite/sat-hdlc.h:188:9: note: did you mean struct here? friend class ARQstate; ^~~~~ struct ./satellite/sat-hdlc.h:204:7: warning: 'HDLC::reset' hides overloaded virtual function [-Woverloaded-virtual] void reset(ARQstate *a); ^ ./link/delay.h:61:7: note: hidden overloaded virtual function 'LinkDelay::reset' declared here: different number of parameters (0 vs 1) void reset(); ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dsdv/dsdv.cc:44: In file included from dsdv/dsdv.h:44: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from dsdv/dsdv.cc:44: In file included from dsdv/dsdv.h:50: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from dsdv/dsdv.cc:44: In file included from dsdv/dsdv.h:53: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from dsdv/dsdv.cc:44: In file included from dsdv/dsdv.h:53: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from dsdv/dsdv.cc:44: In file included from dsdv/dsdv.h:53: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from dsdv/dsdv.cc:44: In file included from dsdv/dsdv.h:53: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from dsdv/dsdv.cc:44: In file included from dsdv/dsdv.h:53: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from dsdv/dsdv.cc:44: In file included from dsdv/dsdv.h:53: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from dsdv/dsdv.cc:44: dsdv/dsdv.h:82:8: warning: 'DSDV_Agent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ In file included from dsdv/dsdv.cc:49: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dsdv/rtable.cc:40: In file included from dsdv/rtable.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/rtqueue.cc:3: In file included from ./queue/rtqueue.h:8: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/rtqueue.cc:4: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from queue/rtqueue.cc:4: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from queue/rtqueue.cc:4: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from queue/rtqueue.cc:4: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from queue/rtqueue.cc:4: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from queue/rtqueue.cc:4: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from queue/rtqueue.cc:4: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from queue/rtqueue.cc:4: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from routing/rttable.cc:39: In file included from ./routing/rttable.h:45: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from imep/imep.cc:39: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from imep/imep.cc:41: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from imep/imep.cc:43: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from imep/imep.cc:43: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from imep/imep.cc:43: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from imep/imep.cc:43: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from imep/imep.cc:43: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from imep/imep.cc:43: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from imep/imep.cc:43: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ In file included from imep/imep.cc:44: ./imep/imep.h:245:7: warning: 'imepAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from imep/dest_queue.cc:44: In file included from ./imep/dest_queue.h:44: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from imep/dest_queue.cc:48: In file included from ./imep/imep.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from imep/dest_queue.cc:48: ./imep/imep.h:245:7: warning: 'imepAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from imep/imep_api.cc:41: In file included from ./imep/imep.h:45: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from imep/imep_api.cc:41: In file included from ./imep/imep.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from imep/imep_api.cc:41: ./imep/imep.h:245:7: warning: 'imepAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from imep/imep_rt.cc:43: In file included from ./imep/imep.h:45: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from imep/imep_rt.cc:43: In file included from ./imep/imep.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from imep/imep_rt.cc:43: ./imep/imep.h:245:7: warning: 'imepAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from imep/rxmit_queue.cc:43: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from imep/imep_timers.cc:41: In file included from ./imep/imep.h:45: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from imep/imep_timers.cc:41: In file included from ./imep/imep.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from imep/imep_timers.cc:41: ./imep/imep.h:245:7: warning: 'imepAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 imep/imep_util.cc:41: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from imep/imep_util.cc:43: In file included from ./imep/imep.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from imep/imep_util.cc:43: ./imep/imep.h:245:7: warning: 'imepAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from imep/imep_io.cc:43: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from imep/imep_io.cc:43: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from imep/imep_io.cc:45: In file included from ./imep/imep.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from imep/imep_io.cc:45: ./imep/imep.h:245:7: warning: 'imepAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 tora/tora.cc:39: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tora/tora.cc:40: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tora/tora.cc:41: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from tora/tora.cc:46: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tora/tora.cc:46: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tora/tora.cc:46: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tora/tora.cc:46: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tora/tora.cc:46: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from tora/tora.cc:46: In file included from ./tora/tora.h:44: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ In file included from tora/tora.cc:46: In file included from ./tora/tora.h:50: ./imep/imep.h:245:7: warning: 'imepAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ In file included from tora/tora.cc:46: ./tora/tora.h:141:7: warning: 'toraAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 tora/tora_api.cc:43: In file included from ./tora/tora.h:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tora/tora_api.cc:43: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from tora/tora_api.cc:43: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tora/tora_api.cc:43: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tora/tora_api.cc:43: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tora/tora_api.cc:43: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tora/tora_api.cc:43: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tora/tora_api.cc:43: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from tora/tora_api.cc:43: In file included from ./tora/tora.h:44: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ In file included from tora/tora_api.cc:43: In file included from ./tora/tora.h:50: ./imep/imep.h:245:7: warning: 'imepAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ In file included from tora/tora_api.cc:43: ./tora/tora.h:141:7: warning: 'toraAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tora/tora_dest.cc:39: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tora/tora_dest.cc:40: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tora/tora_dest.cc:41: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from tora/tora_dest.cc:46: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tora/tora_dest.cc:46: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tora/tora_dest.cc:46: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tora/tora_dest.cc:46: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tora/tora_dest.cc:46: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from tora/tora_dest.cc:46: In file included from ./tora/tora.h:44: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ In file included from tora/tora_dest.cc:46: In file included from ./tora/tora.h:50: ./imep/imep.h:245:7: warning: 'imepAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ In file included from tora/tora_dest.cc:46: ./tora/tora.h:141:7: warning: 'toraAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_io.cc:42: In file included from ./tora/tora_packet.h:44: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tora/tora_io.cc:43: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from tora/tora_io.cc:43: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tora/tora_io.cc:43: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tora/tora_io.cc:43: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tora/tora_io.cc:43: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tora/tora_io.cc:43: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tora/tora_io.cc:43: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from tora/tora_io.cc:43: In file included from ./tora/tora.h:44: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ In file included from tora/tora_io.cc:43: In file included from ./tora/tora.h:50: ./imep/imep.h:245:7: warning: 'imepAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ In file included from tora/tora_io.cc:43: ./tora/tora.h:141:7: warning: 'toraAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tora/tora_logs.cc:5: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tora/tora_logs.cc:6: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tora/tora_logs.cc:7: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from tora/tora_logs.cc:12: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tora/tora_logs.cc:12: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tora/tora_logs.cc:12: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tora/tora_logs.cc:12: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tora/tora_logs.cc:12: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from tora/tora_logs.cc:12: In file included from ./tora/tora.h:44: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ In file included from tora/tora_logs.cc:12: In file included from ./tora/tora.h:50: ./imep/imep.h:245:7: warning: 'imepAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ In file included from tora/tora_logs.cc:12: ./tora/tora.h:141:7: warning: 'toraAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tora/tora_neighbor.cc:40: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tora/tora_neighbor.cc:41: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tora/tora_neighbor.cc:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from tora/tora_neighbor.cc:47: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tora/tora_neighbor.cc:47: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tora/tora_neighbor.cc:47: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tora/tora_neighbor.cc:47: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tora/tora_neighbor.cc:47: In file included from ./tora/tora.h:44: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from tora/tora_neighbor.cc:47: In file included from ./tora/tora.h:44: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ In file included from tora/tora_neighbor.cc:47: In file included from ./tora/tora.h:50: ./imep/imep.h:245:7: warning: 'imepAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ In file included from tora/tora_neighbor.cc:47: ./tora/tora.h:141:7: warning: 'toraAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dsr/dsragent.cc:67: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from dsr/dsragent.cc:69: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from dsr/dsragent.cc:72: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from dsr/dsragent.cc:74: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from dsr/dsragent.cc:74: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from dsr/dsragent.cc:74: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from dsr/dsragent.cc:74: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from dsr/dsragent.cc:74: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from dsr/dsragent.cc:76: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ In file included from dsr/dsragent.cc:78: dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from dsr/dsragent.cc:79: dsr/srpacket.h:69:23: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] SRPacket(Packet *p, struct hdr_sr *srh) : pkt(p), route(srh) {} ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/srpacket.h:69:23: note: did you mean class here? SRPacket(Packet *p, struct hdr_sr *srh) : pkt(p), route(srh) {} ^~~~~~ class In file included from dsr/dsragent.cc:80: dsr/routecache.h:100:8: warning: 'RouteCache::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar*); ^ In file included from dsr/dsragent.cc:82: In file included from dsr/dsragent.h:65: ./queue/dsr-priqueue.h:116:8: warning: 'CMUPriQueue::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar*); ^ In file included from dsr/dsragent.cc:82: dsr/dsragent.h:265:8: warning: 'DSRAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ dsr/dsragent.cc:414:3: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] struct hdr_sr hsr; ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/dsragent.cc:414:3: note: did you mean class here? struct hdr_sr hsr; ^~~~~~ class 16 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 dsr/hdr_sr.cc:58: In file included from dsr/hdr_sr.h:63: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dsr/mobicache.cc:64: In file included from ./mobile/god.h:48: In file included from ./common/bi-connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from dsr/mobicache.cc:64: In file included from ./mobile/god.h:51: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from dsr/mobicache.cc:64: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from dsr/mobicache.cc:64: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from dsr/mobicache.cc:64: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from dsr/mobicache.cc:64: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from dsr/mobicache.cc:64: In file included from ./mobile/god.h:53: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from dsr/mobicache.cc:64: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from dsr/mobicache.cc:65: dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from dsr/mobicache.cc:66: dsr/routecache.h:100:8: warning: 'RouteCache::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar*); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dsr/path.cc:63: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from dsr/path.cc:66: dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class dsr/path.cc:154:12: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path::Path(struct hdr_sr *srh) ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.cc:154:12: note: did you mean class here? Path::Path(struct hdr_sr *srh) ^~~~~~ class dsr/path.cc:174:14: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path::fillSR(struct hdr_sr *srh) ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.cc:174:14: note: did you mean class here? Path::fillSR(struct hdr_sr *srh) ^~~~~~ class 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dsr/requesttable.cc:59: In file included from dsr/path.h:65: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from dsr/requesttable.cc:59: dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class dsr/requesttable.cc:66:8: warning: assigning field to itself [-Wself-assign-field] size = size; ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dsr/routecache.cc:62: In file included from dsr/path.h:65: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from dsr/routecache.cc:62: dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from dsr/routecache.cc:63: In file included from dsr/routecache.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from dsr/routecache.cc:63: dsr/routecache.h:100:8: warning: 'RouteCache::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar*); ^ In file included from dsr/routecache.cc:64: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from dsr/routecache.cc:64: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from dsr/routecache.cc:64: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from dsr/routecache.cc:64: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from dsr/routecache.cc:64: In file included from ./mobile/god.h:53: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from dsr/routecache.cc:64: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dsr/add_sr.cc:57: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dsr/dsr_proto.cc:61: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from dsr/dsr_proto.cc:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from dsr/dsr_proto.cc:66: In file included from dsr/routecache.h:66: dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from dsr/dsr_proto.cc:66: dsr/routecache.h:100:8: warning: 'RouteCache::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar*); ^ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dsr/flowstruct.cc:53: In file included from dsr/flowstruct.h:60: In file included from dsr/path.h:65: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from dsr/flowstruct.cc:53: In file included from dsr/flowstruct.h:60: dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from dsr/flowstruct.cc:53: In file included from dsr/flowstruct.h:61: dsr/srpacket.h:69:23: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] SRPacket(Packet *p, struct hdr_sr *srh) : pkt(p), route(srh) {} ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/srpacket.h:69:23: note: did you mean class here? SRPacket(Packet *p, struct hdr_sr *srh) : pkt(p), route(srh) {} ^~~~~~ class In file included from dsr/flowstruct.cc:53: In file included from dsr/flowstruct.h:64: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from dsr/flowstruct.cc:53: In file included from dsr/flowstruct.h:64: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from dsr/flowstruct.cc:53: In file included from dsr/flowstruct.h:64: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from dsr/flowstruct.cc:53: In file included from dsr/flowstruct.h:64: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from dsr/flowstruct.cc:53: In file included from dsr/flowstruct.h:64: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from dsr/flowstruct.cc:53: In file included from dsr/flowstruct.h:64: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from dsr/flowstruct.cc:53: In file included from dsr/flowstruct.h:64: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from dsr/sr_forwarder.cc:59: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from dsr/sr_forwarder.cc:62: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from dsr/sr_forwarder.cc:62: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from dsr/sr_forwarder.cc:62: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from dsr/sr_forwarder.cc:62: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from dsr/sr_forwarder.cc:62: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from dsr/sr_forwarder.cc:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from dsr/sr_forwarder.cc:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from dsr/sr_forwarder.cc:64: In file included from dsr/dsr_proto.h:65: dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from dsr/sr_forwarder.cc:64: In file included from dsr/dsr_proto.h:66: dsr/routecache.h:100:8: warning: 'RouteCache::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* fmt, ...); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar*); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from aodv/aodv_logs.cc:31: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:43: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from aodv/aodv_logs.cc:31: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from aodv/aodv_logs.cc:31: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from aodv/aodv_logs.cc:31: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from aodv/aodv_logs.cc:31: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from aodv/aodv_logs.cc:31: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from aodv/aodv_logs.cc:31: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from aodv/aodv_logs.cc:31: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from aodv/aodv_logs.cc:31: In file included from ./aodv/aodv.h:40: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from aodv/aodv.cc:33: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:43: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from aodv/aodv.cc:33: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from aodv/aodv.cc:33: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from aodv/aodv.cc:33: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from aodv/aodv.cc:33: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from aodv/aodv.cc:33: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from aodv/aodv.cc:33: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from aodv/aodv.cc:33: In file included from ./aodv/aodv.h:40: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from aodv/aodv.cc:33: In file included from ./aodv/aodv.h:40: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from aodv/aodv_rtable.cc:31: In file included from ./aodv/aodv_rtable.h:36: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 aodv/aodv_rqueue.cc:33: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:43: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from aodv/aodv_rqueue.cc:33: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from aodv/aodv_rqueue.cc:33: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from aodv/aodv_rqueue.cc:33: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from aodv/aodv_rqueue.cc:33: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from aodv/aodv_rqueue.cc:33: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from aodv/aodv_rqueue.cc:33: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from aodv/aodv_rqueue.cc:33: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from aodv/aodv_rqueue.cc:33: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from aomdv/aomdv_logs.cc:83: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:43: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from aomdv/aomdv_logs.cc:83: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from aomdv/aomdv_logs.cc:83: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from aomdv/aomdv_logs.cc:83: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from aomdv/aomdv_logs.cc:83: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from aomdv/aomdv_logs.cc:83: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from aomdv/aomdv_logs.cc:83: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from aomdv/aomdv_logs.cc:83: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from aomdv/aomdv_logs.cc:83: In file included from ./aomdv/aomdv.h:92: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 aomdv/aomdv.cc:85: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:43: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from aomdv/aomdv.cc:85: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from aomdv/aomdv.cc:85: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from aomdv/aomdv.cc:85: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from aomdv/aomdv.cc:85: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from aomdv/aomdv.cc:85: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from aomdv/aomdv.cc:85: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from aomdv/aomdv.cc:85: In file included from ./aomdv/aomdv.h:92: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from aomdv/aomdv.cc:85: In file included from ./aomdv/aomdv.h:92: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from aomdv/aomdv_rtable.cc:82: In file included from ./aomdv/aomdv_rtable.h:87: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 aomdv/aomdv_rqueue.cc:85: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:43: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from aomdv/aomdv_rqueue.cc:85: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from aomdv/aomdv_rqueue.cc:85: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from aomdv/aomdv_rqueue.cc:85: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from aomdv/aomdv_rqueue.cc:85: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from aomdv/aomdv_rqueue.cc:85: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from aomdv/aomdv_rqueue.cc:85: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from aomdv/aomdv_rqueue.cc:85: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from aomdv/aomdv_rqueue.cc:85: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from puma/puma.cc:23: In file included from ./classifier/classifier-port.h:54: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from puma/puma.cc:29: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from puma/puma.cc:30: In file included from ./trace/cmu-trace.h:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from puma/puma.cc:30: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from puma/puma.cc:30: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from puma/puma.cc:30: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from puma/puma.cc:30: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from puma/puma.cc:30: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from puma/puma.cc:30: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ puma/puma.cc:515:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((HDR_CMN(p)->ptype() == PT_PUMA)) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ puma/puma.cc:515:28: note: remove extraneous parentheses around the comparison to silence this warning if ((HDR_CMN(p)->ptype() == PT_PUMA)) ~ ^ ~ puma/puma.cc:515:28: note: use '=' to turn this equality comparison into an assignment if ((HDR_CMN(p)->ptype() == PT_PUMA)) ^~ = puma/puma.cc:589:13: warning: delete called on 'RoutingEvent' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] delete re; ^ puma/puma.cc:859:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ puma/puma.cc:1152:34: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] else if ((group->core_id == id)) ~~~~~~~~~~~~~~~^~~~~ puma/puma.cc:1152:34: note: remove extraneous parentheses around the comparison to silence this warning else if ((group->core_id == id)) ~ ^ ~ puma/puma.cc:1152:34: note: use '=' to turn this equality comparison into an assignment else if ((group->core_id == id)) ^~ = 13 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 mdart/mdart_adp.cc:47: In file included from ./mdart/mdart_adp.h:51: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mdart/mdart_adp.cc:47: In file included from ./mdart/mdart_adp.h:51: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mdart/mdart_adp.cc:47: In file included from ./mdart/mdart_adp.h:51: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:55: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mdart/mdart_adp.cc:47: In file included from ./mdart/mdart_adp.h:51: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mdart/mdart_adp.cc:47: In file included from ./mdart/mdart_adp.h:51: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mdart/mdart_adp.cc:47: In file included from ./mdart/mdart_adp.h:51: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mdart/mdart_adp.cc:47: In file included from ./mdart/mdart_adp.h:51: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mdart/mdart_adp.cc:47: In file included from ./mdart/mdart_adp.h:51: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mdart/mdart_adp.cc:47: In file included from ./mdart/mdart_adp.h:51: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mdart/mdart_dht.cc:47: In file included from ./mdart/mdart_dht.h:52: In file included from ./mdart/mdart_function.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mdart/mdart_dht.cc:47: In file included from ./mdart/mdart_dht.h:52: In file included from ./mdart/mdart_function.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mdart/mdart_dht.cc:47: In file included from ./mdart/mdart_dht.h:52: In file included from ./mdart/mdart_function.h:55: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mdart/mdart_dht.cc:47: In file included from ./mdart/mdart_dht.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mdart/mdart_dht.cc:47: In file included from ./mdart/mdart_dht.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mdart/mdart_dht.cc:47: In file included from ./mdart/mdart_dht.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mdart/mdart_dht.cc:47: In file included from ./mdart/mdart_dht.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mdart/mdart_dht.cc:47: In file included from ./mdart/mdart_dht.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mdart/mdart_dht.cc:47: In file included from ./mdart/mdart_dht.h:52: In file included from ./mdart/mdart_function.h:58: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_ndp.o mdart/mdart_ndp.cc In file included from mdart/mdart_ndp.cc:47: In file included from ./mdart/mdart_ndp.h:52: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mdart/mdart_ndp.cc:47: In file included from ./mdart/mdart_ndp.h:52: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mdart/mdart_ndp.cc:47: In file included from ./mdart/mdart_ndp.h:52: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:55: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mdart/mdart_ndp.cc:47: In file included from ./mdart/mdart_ndp.h:52: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mdart/mdart_ndp.cc:47: In file included from ./mdart/mdart_ndp.h:52: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mdart/mdart_ndp.cc:47: In file included from ./mdart/mdart_ndp.h:52: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mdart/mdart_ndp.cc:47: In file included from ./mdart/mdart_ndp.h:52: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mdart/mdart_ndp.cc:47: In file included from ./mdart/mdart_ndp.h:52: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mdart/mdart_ndp.cc:47: In file included from ./mdart/mdart_ndp.h:52: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_neighbor.o mdart/mdart_neighbor.cc In file included from mdart/mdart_neighbor.cc:47: In file included from ./mdart/mdart_neighbor.h:52: In file included from ./mdart/mdart_function.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mdart/mdart_neighbor.cc:47: In file included from ./mdart/mdart_neighbor.h:52: In file included from ./mdart/mdart_function.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mdart/mdart_neighbor.cc:47: In file included from ./mdart/mdart_neighbor.h:52: In file included from ./mdart/mdart_function.h:55: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mdart/mdart_neighbor.cc:47: In file included from ./mdart/mdart_neighbor.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mdart/mdart_neighbor.cc:47: In file included from ./mdart/mdart_neighbor.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mdart/mdart_neighbor.cc:47: In file included from ./mdart/mdart_neighbor.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mdart/mdart_neighbor.cc:47: In file included from ./mdart/mdart_neighbor.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mdart/mdart_neighbor.cc:47: In file included from ./mdart/mdart_neighbor.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mdart/mdart_neighbor.cc:47: In file included from ./mdart/mdart_neighbor.h:52: In file included from ./mdart/mdart_function.h:58: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mdart/mdart_queue.cc:47: In file included from ./mdart/mdart_queue.h:52: In file included from ./mdart/mdart_function.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mdart/mdart_queue.cc:47: In file included from ./mdart/mdart_queue.h:52: In file included from ./mdart/mdart_function.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mdart/mdart_queue.cc:47: In file included from ./mdart/mdart_queue.h:52: In file included from ./mdart/mdart_function.h:55: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mdart/mdart_queue.cc:47: In file included from ./mdart/mdart_queue.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mdart/mdart_queue.cc:47: In file included from ./mdart/mdart_queue.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mdart/mdart_queue.cc:47: In file included from ./mdart/mdart_queue.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mdart/mdart_queue.cc:47: In file included from ./mdart/mdart_queue.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mdart/mdart_queue.cc:47: In file included from ./mdart/mdart_queue.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mdart/mdart_queue.cc:47: In file included from ./mdart/mdart_queue.h:52: In file included from ./mdart/mdart_function.h:58: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mdart/mdart_table.cc:47: In file included from ./mdart/mdart_table.h:52: In file included from ./mdart/mdart_function.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mdart/mdart_table.cc:47: In file included from ./mdart/mdart_table.h:52: In file included from ./mdart/mdart_function.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mdart/mdart_table.cc:47: In file included from ./mdart/mdart_table.h:52: In file included from ./mdart/mdart_function.h:55: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mdart/mdart_table.cc:47: In file included from ./mdart/mdart_table.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mdart/mdart_table.cc:47: In file included from ./mdart/mdart_table.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mdart/mdart_table.cc:47: In file included from ./mdart/mdart_table.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mdart/mdart_table.cc:47: In file included from ./mdart/mdart_table.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mdart/mdart_table.cc:47: In file included from ./mdart/mdart_table.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mdart/mdart_table.cc:47: In file included from ./mdart/mdart_table.h:52: In file included from ./mdart/mdart_function.h:58: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mdart/mdart.cc:47: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mdart/mdart.cc:47: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mdart/mdart.cc:47: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:55: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mdart/mdart.cc:47: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mdart/mdart.cc:47: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mdart/mdart.cc:47: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mdart/mdart.cc:47: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mdart/mdart.cc:47: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: In file included from ./trace/cmu-trace.h:43: In file included from ./mobile/god.h:53: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mdart/mdart.cc:47: In file included from ./mdart/mdart.h:52: In file included from ./mdart/mdart_function.h:58: ./trace/cmu-trace.h:141:7: warning: 'CMUTrace::format' hides overloaded virtual function [-Woverloaded-virtual] void format(Packet *p, const char *why); ^ ./trace/trace.h:61:22: note: hidden overloaded virtual function 'Trace::format' declared here: different number of parameters (4 vs 2) virtual void format(int tt, int s, int d, Packet* p); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/ns-process.cc:56: In file included from ./common/ns-process.h:57: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from satellite/satgeometry.cc:42: In file included from ./satellite/satgeometry.h:43: In file included from ./trace/trace.h:43: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from satellite/satgeometry.cc:42: In file included from ./satellite/satgeometry.h:43: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from satellite/satgeometry.cc:42: ./satellite/satgeometry.h:87:13: warning: 'SatGeometry::command' hides overloaded virtual function [-Woverloaded-virtual] int command(/*int argc, const char*const* argv */) { return 0; } ^ /usr/include/tclcl/tclcl.h:174:14: note: hidden overloaded virtual function 'TclObject::command' declared here: different number of parameters (2 vs 0) virtual int command(int argc, const char*const* argv); ^ In file included from satellite/satgeometry.cc:43: In file included from ./satellite/satposition.h:46: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from satellite/satgeometry.cc:43: In file included from ./satellite/satposition.h:46: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from satellite/satgeometry.cc:43: In file included from ./satellite/satposition.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/satgeometry.cc:43: In file included from ./satellite/satposition.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/satgeometry.cc:43: In file included from ./satellite/satposition.h:46: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/satgeometry.cc:43: In file included from ./satellite/satposition.h:46: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from satellite/sathandoff.cc:42: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from satellite/sathandoff.cc:42: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from satellite/sathandoff.cc:43: In file included from ./satellite/sathandoff.h:44: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/sathandoff.cc:43: In file included from ./satellite/sathandoff.h:44: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/sathandoff.cc:43: In file included from ./satellite/sathandoff.h:44: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/sathandoff.cc:43: In file included from ./satellite/sathandoff.h:44: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/sathandoff.cc:43: In file included from ./satellite/sathandoff.h:44: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from satellite/sathandoff.cc:43: In file included from ./satellite/sathandoff.h:44: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from satellite/sathandoff.cc:46: In file included from ./satellite/satposition.h:49: ./satellite/satgeometry.h:87:13: warning: 'SatGeometry::command' hides overloaded virtual function [-Woverloaded-virtual] int command(/*int argc, const char*const* argv */) { return 0; } ^ /usr/include/tclcl/tclcl.h:174:14: note: hidden overloaded virtual function 'TclObject::command' declared here: different number of parameters (2 vs 0) virtual int command(int argc, const char*const* argv); ^ In file included from satellite/sathandoff.cc:47: ./satellite/satnode.h:61:12: warning: 'SatNode::trace' hides overloaded virtual function [-Woverloaded-virtual] SatTrace* trace() { return trace_; } ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from satellite/satlink.cc:51: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:53: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from satellite/satlink.cc:51: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/satlink.cc:51: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/satlink.cc:51: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/satlink.cc:51: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/satlink.cc:51: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from satellite/satlink.cc:51: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from satellite/satlink.cc:51: In file included from ./satellite/satlink.h:42: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from satellite/satlink.cc:53: In file included from ./satellite/satposition.h:49: ./satellite/satgeometry.h:87:13: warning: 'SatGeometry::command' hides overloaded virtual function [-Woverloaded-virtual] int command(/*int argc, const char*const* argv */) { return 0; } ^ /usr/include/tclcl/tclcl.h:174:14: note: hidden overloaded virtual function 'TclObject::command' declared here: different number of parameters (2 vs 0) virtual int command(int argc, const char*const* argv); ^ In file included from satellite/satlink.cc:55: ./satellite/satnode.h:61:12: warning: 'SatNode::trace' hides overloaded virtual function [-Woverloaded-virtual] SatTrace* trace() { return trace_; } ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from satellite/satlink.cc:58: ./satellite/sat-hdlc.h:188:9: warning: class 'ARQstate' was previously declared as a struct [-Wmismatched-tags] friend class ARQstate; ^ ./satellite/sat-hdlc.h:66:8: note: previous use is here struct ARQstate { ^ ./satellite/sat-hdlc.h:188:9: note: did you mean struct here? friend class ARQstate; ^~~~~ struct ./satellite/sat-hdlc.h:204:7: warning: 'HDLC::reset' hides overloaded virtual function [-Woverloaded-virtual] void reset(ARQstate *a); ^ ./link/delay.h:61:7: note: hidden overloaded virtual function 'LinkDelay::reset' declared here: different number of parameters (0 vs 1) void reset(); ^ 12 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from satellite/satnode.cc:42: In file included from ./satellite/satnode.h:42: In file included from ./trace/trace.h:43: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from satellite/satnode.cc:42: In file included from ./satellite/satnode.h:42: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from satellite/satnode.cc:42: In file included from ./satellite/satnode.h:43: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/satnode.cc:42: In file included from ./satellite/satnode.h:43: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/satnode.cc:42: In file included from ./satellite/satnode.h:43: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/satnode.cc:42: In file included from ./satellite/satnode.h:43: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/satnode.cc:42: In file included from ./satellite/satnode.h:43: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from satellite/satnode.cc:42: In file included from ./satellite/satnode.h:43: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from satellite/satnode.cc:42: ./satellite/satnode.h:61:12: warning: 'SatNode::trace' hides overloaded virtual function [-Woverloaded-virtual] SatTrace* trace() { return trace_; } ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from satellite/satnode.cc:46: In file included from ./satellite/satposition.h:49: ./satellite/satgeometry.h:87:13: warning: 'SatGeometry::command' hides overloaded virtual function [-Woverloaded-virtual] int command(/*int argc, const char*const* argv */) { return 0; } ^ /usr/include/tclcl/tclcl.h:174:14: note: hidden overloaded virtual function 'TclObject::command' declared here: different number of parameters (2 vs 0) virtual int command(int argc, const char*const* argv); ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from satellite/satposition.cc:42: In file included from ./satellite/satposition.h:44: In file included from ./trace/trace.h:43: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from satellite/satposition.cc:42: In file included from ./satellite/satposition.h:44: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from satellite/satposition.cc:42: In file included from ./satellite/satposition.h:46: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from satellite/satposition.cc:42: In file included from ./satellite/satposition.h:46: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from satellite/satposition.cc:42: In file included from ./satellite/satposition.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/satposition.cc:42: In file included from ./satellite/satposition.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/satposition.cc:42: In file included from ./satellite/satposition.h:46: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/satposition.cc:42: In file included from ./satellite/satposition.h:46: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/satposition.cc:42: In file included from ./satellite/satposition.h:49: ./satellite/satgeometry.h:87:13: warning: 'SatGeometry::command' hides overloaded virtual function [-Woverloaded-virtual] int command(/*int argc, const char*const* argv */) { return 0; } ^ /usr/include/tclcl/tclcl.h:174:14: note: hidden overloaded virtual function 'TclObject::command' declared here: different number of parameters (2 vs 0) virtual int command(int argc, const char*const* argv); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from satellite/satroute.cc:42: In file included from ./satellite/satroute.h:42: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from satellite/satroute.cc:42: In file included from ./satellite/satroute.h:44: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/satroute.cc:42: In file included from ./satellite/satroute.h:44: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/satroute.cc:42: In file included from ./satellite/satroute.h:44: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/satroute.cc:42: In file included from ./satellite/satroute.h:44: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/satroute.cc:42: In file included from ./satellite/satroute.h:44: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from satellite/satroute.cc:42: In file included from ./satellite/satroute.h:44: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from satellite/satroute.cc:42: In file included from ./satellite/satroute.h:44: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from satellite/satroute.cc:44: ./satellite/satnode.h:61:12: warning: 'SatNode::trace' hides overloaded virtual function [-Woverloaded-virtual] SatTrace* trace() { return trace_; } ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from satellite/sattrace.cc:44: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from satellite/sattrace.cc:47: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/sattrace.cc:47: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/sattrace.cc:47: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from satellite/sattrace.cc:47: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from satellite/sattrace.cc:47: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from satellite/sattrace.cc:47: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from satellite/sattrace.cc:47: In file included from ./sctp/sctp.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from satellite/sattrace.cc:54: In file included from ./satellite/satposition.h:49: ./satellite/satgeometry.h:87:13: warning: 'SatGeometry::command' hides overloaded virtual function [-Woverloaded-virtual] int command(/*int argc, const char*const* argv */) { return 0; } ^ /usr/include/tclcl/tclcl.h:174:14: note: hidden overloaded virtual function 'TclObject::command' declared here: different number of parameters (2 vs 0) virtual int command(int argc, const char*const* argv); ^ In file included from satellite/sattrace.cc:55: ./satellite/satnode.h:61:12: warning: 'SatNode::trace' hides overloaded virtual function [-Woverloaded-virtual] SatTrace* trace() { return trace_; } ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from satellite/sattrace.cc:56: ./satellite/sat-hdlc.h:188:9: warning: class 'ARQstate' was previously declared as a struct [-Wmismatched-tags] friend class ARQstate; ^ ./satellite/sat-hdlc.h:66:8: note: previous use is here struct ARQstate { ^ ./satellite/sat-hdlc.h:188:9: note: did you mean struct here? friend class ARQstate; ^~~~~ struct ./satellite/sat-hdlc.h:204:7: warning: 'HDLC::reset' hides overloaded virtual function [-Woverloaded-virtual] void reset(ARQstate *a); ^ ./link/delay.h:61:7: note: hidden overloaded virtual function 'LinkDelay::reset' declared here: different number of parameters (0 vs 1) void reset(); ^ 12 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from rap/raplist.cc:51: In file included from rap/utilities.h:66: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from rap/raplist.cc:51: In file included from rap/utilities.h:71: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from rap/rap.cc:57: In file included from rap/rap.h:60: In file included from ./common/ns-process.h:57: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from rap/rap.cc:57: In file included from rap/rap.h:62: In file included from rap/utilities.h:71: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from rap/media-app.cc:55: In file included from ./tcp/template.h:42: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from rap/media-app.cc:56: In file included from rap/media-app.h:68: In file included from ./webcache/http-aux.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 rap/utilities.cc:58: In file included from rap/utilities.h:66: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from rap/utilities.cc:58: In file included from rap/utilities.h:71: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/fsm.cc:66: In file included from ./common/fsm.h:53: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-abs.cc:51: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tcp-abs.cc:53: ./tcp/tcp-abs.h:68:14: warning: 'AbsTcpAgent::timeout' hides overloaded virtual function [-Woverloaded-virtual] void timeout(); ^ ./common/agent.h:85:15: note: hidden overloaded virtual function 'Agent::timeout' declared here: different number of parameters (1 vs 0) virtual void timeout(int tno); ^ In file included from tcp/tcp-abs.cc:53: ./tcp/tcp-abs.h:69:14: warning: 'AbsTcpAgent::sendmsg' hides overloaded virtual functions [-Woverloaded-virtual] void sendmsg(int pktcnt); ^ ./common/agent.h:87:15: note: hidden overloaded virtual function 'Agent::sendmsg' declared here: different number of parameters (3 vs 1) virtual void sendmsg(int sz, AppData*, const char* flags = 0); ^ ./common/agent.h:94:15: note: hidden overloaded virtual function 'Agent::sendmsg' declared here: different number of parameters (2 vs 1) virtual void sendmsg(int nbytes, const char *flags = 0); ^ In file included from tcp/tcp-abs.cc:53: ./tcp/tcp-abs.h:73:7: warning: 'AbsTcpAgent::drop' hides overloaded virtual functions [-Woverloaded-virtual] void drop(int seqno); ^ ./common/connector.h:50:15: note: hidden overloaded virtual function 'Connector::drop' declared here: type mismatch at 1st parameter ('Packet *' vs 'int') virtual void drop(Packet* p); ^ ./common/connector.h:53:15: note: hidden overloaded virtual function 'Connector::drop' declared here: different number of parameters (2 vs 1) virtual void drop(Packet* p, const char *s); ^ In file included from tcp/tcp-abs.cc:53: ./tcp/tcp-abs.h:140:14: warning: 'AbsDelAckSink::timeout' hides overloaded virtual function [-Woverloaded-virtual] void timeout(); ^ ./common/agent.h:85:15: note: hidden overloaded virtual function 'Agent::timeout' declared here: different number of parameters (1 vs 0) virtual void timeout(int tno); ^ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion/diffusion.cc:63: In file included from diffusion/diff_header.h:71: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion/diffusion.cc:69: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion/diffusion.cc:70: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion/diffusion.cc:72: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/diffusion.cc:72: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/diffusion.cc:72: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/diffusion.cc:72: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/diffusion.cc:72: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion/diffusion.cc:73: In file included from diffusion/diffusion.h:80: ./dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class ./dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from diffusion/diffusion.cc:73: diffusion/diffusion.h:204:8: warning: 'DiffusionAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char *fmt,...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion/diff_rate.cc:62: In file included from diffusion/diff_header.h:71: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion/diff_rate.cc:68: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion/diff_rate.cc:69: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion/diff_rate.cc:71: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/diff_rate.cc:71: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/diff_rate.cc:71: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/diff_rate.cc:71: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/diff_rate.cc:71: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion/diff_rate.cc:72: In file included from diffusion/diffusion.h:80: ./dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class ./dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from diffusion/diff_rate.cc:72: diffusion/diffusion.h:204:8: warning: 'DiffusionAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char *fmt,...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_prob.o diffusion/diff_prob.cc In file included from diffusion/diff_prob.cc:62: In file included from diffusion/diff_header.h:71: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion/diff_prob.cc:68: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion/diff_prob.cc:69: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion/diff_prob.cc:71: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/diff_prob.cc:71: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/diff_prob.cc:71: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/diff_prob.cc:71: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/diff_prob.cc:71: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion/diff_prob.cc:72: In file included from diffusion/diffusion.h:80: ./dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class ./dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from diffusion/diff_prob.cc:72: diffusion/diffusion.h:204:8: warning: 'DiffusionAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char *fmt,...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion/diff_sink.cc:52: In file included from diffusion/diff_sink.h:57: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion/diff_sink.cc:52: In file included from diffusion/diff_sink.h:62: In file included from diffusion/diffusion.h:71: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion/diff_sink.cc:52: In file included from diffusion/diff_sink.h:62: In file included from diffusion/diffusion.h:72: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion/diff_sink.cc:52: In file included from diffusion/diff_sink.h:62: In file included from diffusion/diffusion.h:74: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/diff_sink.cc:52: In file included from diffusion/diff_sink.h:62: In file included from diffusion/diffusion.h:74: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/diff_sink.cc:52: In file included from diffusion/diff_sink.h:62: In file included from diffusion/diffusion.h:74: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/diff_sink.cc:52: In file included from diffusion/diff_sink.h:62: In file included from diffusion/diffusion.h:74: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/diff_sink.cc:52: In file included from diffusion/diff_sink.h:62: In file included from diffusion/diffusion.h:74: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion/diff_sink.cc:52: In file included from diffusion/diff_sink.h:62: In file included from diffusion/diffusion.h:80: ./dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class ./dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from diffusion/diff_sink.cc:52: In file included from diffusion/diff_sink.h:62: diffusion/diffusion.h:204:8: warning: 'DiffusionAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char *fmt,...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion/flooding.cc:64: In file included from diffusion/diff_header.h:71: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion/flooding.cc:70: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion/flooding.cc:71: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion/flooding.cc:73: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/flooding.cc:73: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/flooding.cc:73: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/flooding.cc:73: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/flooding.cc:73: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion/flooding.cc:74: In file included from diffusion/flooding.h:82: ./dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class ./dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from diffusion/flooding.cc:74: diffusion/flooding.h:143:8: warning: 'FloodingAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char *fmt,...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion/omni_mcast.cc:64: In file included from diffusion/diff_header.h:71: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion/omni_mcast.cc:70: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion/omni_mcast.cc:71: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion/omni_mcast.cc:73: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/omni_mcast.cc:73: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/omni_mcast.cc:73: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/omni_mcast.cc:73: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/omni_mcast.cc:73: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion/omni_mcast.cc:74: In file included from diffusion/omni_mcast.h:82: ./dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class ./dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from diffusion/omni_mcast.cc:74: diffusion/omni_mcast.h:219:8: warning: 'OmniMcastAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char *fmt,...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion/hash_table.cc:51: In file included from diffusion/diff_header.h:71: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion/hash_table.cc:53: In file included from diffusion/diff_prob.h:71: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion/hash_table.cc:53: In file included from diffusion/diff_prob.h:72: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion/hash_table.cc:53: In file included from diffusion/diff_prob.h:74: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/hash_table.cc:53: In file included from diffusion/diff_prob.h:74: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/hash_table.cc:53: In file included from diffusion/diff_prob.h:74: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/hash_table.cc:53: In file included from diffusion/diff_prob.h:74: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/hash_table.cc:53: In file included from diffusion/diff_prob.h:74: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion/hash_table.cc:53: In file included from diffusion/diff_prob.h:80: ./dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class ./dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from diffusion/hash_table.cc:53: In file included from diffusion/diff_prob.h:82: diffusion/diffusion.h:204:8: warning: 'DiffusionAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char *fmt,...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion/routing_table.cc:62: In file included from diffusion/diff_header.h:71: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion/routing_table.cc:68: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion/routing_table.cc:69: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion/routing_table.cc:71: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/routing_table.cc:71: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/routing_table.cc:71: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion/routing_table.cc:71: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion/routing_table.cc:71: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion/routing_table.cc:72: In file included from diffusion/diffusion.h:80: ./dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class ./dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from diffusion/routing_table.cc:72: diffusion/diffusion.h:204:8: warning: 'DiffusionAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char *fmt,...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion/iflist.cc:53: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion/iflist.cc:54: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tfrc.cc:40: In file included from ./tcp/tfrc.h:36: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tfrc.cc:40: In file included from ./tcp/tfrc.h:40: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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-sink.o tcp/tfrc-sink.cc In file included from tcp/tfrc-sink.cc:40: In file included from ./tcp/tfrc-sink.h:36: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tfrc-sink.cc:40: In file included from ./tcp/tfrc-sink.h:40: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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/energy-model.o mobile/energy-model.cc In file included from mobile/energy-model.cc:42: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mobile/energy-model.cc:42: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mobile/energy-model.cc:43: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mobile/energy-model.cc:44: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mobile/energy-model.cc:44: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/energy-model.cc:44: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mobile/energy-model.cc:44: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mobile/energy-model.cc:44: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from apps/ping.cc:59: In file included from ./apps/ping.h:64: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-rfc793edu.cc:41: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/rio.cc:72: In file included from ./queue/rio.h:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/rio.cc:72: In file included from ./queue/rio.h:43: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from queue/rio.cc:72: In file included from ./queue/rio.h:47: In file included from ./queue/red.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/semantic-rio.cc:9: In file included from ./queue/rio.h:42: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/semantic-rio.cc:9: In file included from ./queue/rio.h:43: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from queue/semantic-rio.cc:9: In file included from ./queue/rio.h:47: In file included from ./queue/red.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/tcp-sack-rh.cc:35: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tcp/tcp-sack-rh.cc:39: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tcp/scoreboard-rh.cc:51: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from plm/loss-monitor-plm.cc:41: In file included from ./tools/loss-monitor.h:40: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from plm/cbr-traffic-PP.cc:49: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from plm/cbr-traffic-PP.cc:49: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from plm/cbr-traffic-PP.cc:50: ./tools/trafgen.h:85:15: warning: 'TrafficGenerator::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init() {} ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from plm/cbr-traffic-PP.cc:50: ./tools/trafgen.h:90:15: warning: 'TrafficGenerator::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv() {} ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 0) virtual void recv(int nbytes); ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from linkstate/hdr-ls.cc:64: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mpls/classifier-addr-mpls.cc:73: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mpls/classifier-addr-mpls.cc:74: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mpls/classifier-addr-mpls.cc:75: mpls/classifier-addr-mpls.h:224:7: warning: 'MPLSAddressClassifier::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* ptype, int psize, int ilabel, char *op, ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 7) virtual void trace(TracedVar*); ^ mpls/classifier-addr-mpls.cc:943:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((LIB_.Entry_[i].LIBptr_ == entrynb)) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ mpls/classifier-addr-mpls.cc:943:32: note: remove extraneous parentheses around the comparison to silence this warning if ((LIB_.Entry_[i].LIBptr_ == entrynb)) ~ ^ ~ mpls/classifier-addr-mpls.cc:943:32: note: use '=' to turn this equality comparison into an assignment if ((LIB_.Entry_[i].LIBptr_ == entrynb)) ^~ = mpls/classifier-addr-mpls.cc:983:31: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((LIB_.Entry_[i].iLabel_ == iLabel)) { ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ mpls/classifier-addr-mpls.cc:983:31: note: remove extraneous parentheses around the comparison to silence this warning if ((LIB_.Entry_[i].iLabel_ == iLabel)) { ~ ^ ~ mpls/classifier-addr-mpls.cc:983:31: note: use '=' to turn this equality comparison into an assignment if ((LIB_.Entry_[i].iLabel_ == iLabel)) { ^~ = 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mpls/ldp.cc:67: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mpls/ldp.cc:71: mpls/ldp.h:169:9: warning: 'LDPAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(ns_addr_t src, hdr_ldp *hdrldp); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: different number of parameters (1 vs 2) virtual void trace(TracedVar *v); ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mpls/mpls-module.cc:55: In file included from ./common/node.h:53: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mpls/mpls-module.cc:55: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mpls/mpls-module.cc:55: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mpls/mpls-module.cc:55: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mpls/mpls-module.cc:55: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mpls/mpls-module.cc:55: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mpls/mpls-module.cc:55: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mpls/mpls-module.cc:55: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from mpls/mpls-module.cc:56: ./mpls/ldp.h:169:9: warning: 'LDPAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(ns_addr_t src, hdr_ldp *hdrldp); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: different number of parameters (1 vs 2) virtual void trace(TracedVar *v); ^ In file included from mpls/mpls-module.cc:58: ./mpls/classifier-addr-mpls.h:224:7: warning: 'MPLSAddressClassifier::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char* ptype, int psize, int ilabel, char *op, ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 7) virtual void trace(TracedVar*); ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from routing/rtmodule.cc:50: In file included from ./routing/rtmodule.h:60: In file included from ./classifier/classifier.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from routing/rtmodule.cc:50: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from routing/rtmodule.cc:52: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from routing/rtmodule.cc:52: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from routing/rtmodule.cc:52: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from routing/rtmodule.cc:52: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from routing/rtmodule.cc:52: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from routing/rtmodule.cc:52: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from classifier/classifier-hier.cc:51: In file included from ./classifier/classifier-hier.h:54: In file included from ./classifier/classifier.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from nix/hdr_nv.cc:54: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from nix/classifier-nix.cc:55: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from nix/classifier-nix.cc:63: In file included from nix/classifier-nix.h:64: nix/nixnode.h:38:8: warning: 'NixNode::AddAdj' hides overloaded virtual function [-Woverloaded-virtual] void AddAdj(nodeid_t); // Add a simplex link from this to neighbor ^ ./routealgo/rnode.h:33:18: note: hidden overloaded virtual function 'RNode::AddAdj' declared here: different number of parameters (2 vs 1) virtual void AddAdj(nodeid_t a, int w = 1); ^ In file included from nix/classifier-nix.cc:63: In file included from nix/classifier-nix.h:64: nix/nixnode.h:44:21: warning: 'NixNode::GetNeighbor' hides overloaded virtual function [-Woverloaded-virtual] virtual nodeid_t GetNeighbor(Nix_t, NixVec*); // Get neighbor from nix ^ ./routealgo/rnode.h:38:23: note: hidden overloaded virtual function 'RNode::GetNeighbor' declared here: different number of parameters (1 vs 2) virtual nodeid_t GetNeighbor(Nix_t);// Get neighbor from nix ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from nix/nixnode.cc:54: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from nix/nixnode.cc:60: ./nix/nixnode.h:38:8: warning: 'NixNode::AddAdj' hides overloaded virtual function [-Woverloaded-virtual] void AddAdj(nodeid_t); // Add a simplex link from this to neighbor ^ ./routealgo/rnode.h:33:18: note: hidden overloaded virtual function 'RNode::AddAdj' declared here: different number of parameters (2 vs 1) virtual void AddAdj(nodeid_t a, int w = 1); ^ In file included from nix/nixnode.cc:60: ./nix/nixnode.h:44:21: warning: 'NixNode::GetNeighbor' hides overloaded virtual function [-Woverloaded-virtual] virtual nodeid_t GetNeighbor(Nix_t, NixVec*); // Get neighbor from nix ^ ./routealgo/rnode.h:38:23: note: hidden overloaded virtual function 'RNode::GetNeighbor' declared here: different number of parameters (1 vs 2) virtual nodeid_t GetNeighbor(Nix_t);// Get neighbor from nix ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from routealgo/rnode.cc:53: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 routealgo/bfs.cc:54: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from routealgo/rbitmap.cc:52: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from routealgo/rlookup.cc:7: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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/routealgo.o routealgo/routealgo.cc In file included from routealgo/routealgo.cc:53: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from nix/nixvec.cc:54: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from nix/nixroute.cc:54: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from nix/nixroute.cc:57: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffserv/dsred.cc:38: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffserv/dsred.cc:39: In file included from ./diffserv/dsred.h:72: In file included from ./queue/red.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffserv/dsred.cc:41: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffserv/dsredq.cc:38: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffserv/dsredq.cc:39: In file included from ./diffserv/dsred.h:72: In file included from ./queue/red.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffserv/dsredq.cc:40: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffserv/dsEdge.cc:42: In file included from ./diffserv/dsEdge.h:40: In file included from ./diffserv/dsred.h:72: In file included from ./queue/red.h:62: In file included from ./queue/queue.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffserv/dsEdge.cc:42: In file included from ./diffserv/dsEdge.h:40: In file included from ./diffserv/dsred.h:72: In file included from ./queue/red.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffserv/dsEdge.cc:43: ./diffserv/ew.h:371:8: warning: 'EWPolicy::init' hides overloaded virtual function [-Woverloaded-virtual] void init(int, int, int); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 3) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffserv/dsEdge.cc:44: ./diffserv/dewp.h:81:8: warning: 'DEWPPolicy::init' hides overloaded virtual function [-Woverloaded-virtual] void init(double); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 1) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffserv/dsEdge.cc:47: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffserv/dsCore.cc:37: In file included from ./diffserv/dsCore.h:39: In file included from ./diffserv/dsred.h:72: In file included from ./queue/red.h:62: In file included from ./queue/queue.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffserv/dsCore.cc:37: In file included from ./diffserv/dsCore.h:39: In file included from ./diffserv/dsred.h:72: In file included from ./queue/red.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffserv/dsPolicy.cc:59: In file included from ./diffserv/dsPolicy.h:39: In file included from ./diffserv/dsred.h:72: In file included from ./queue/red.h:62: In file included from ./queue/queue.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffserv/dsPolicy.cc:59: In file included from ./diffserv/dsPolicy.h:39: In file included from ./diffserv/dsred.h:72: In file included from ./queue/red.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffserv/dsPolicy.cc:60: ./diffserv/ew.h:371:8: warning: 'EWPolicy::init' hides overloaded virtual function [-Woverloaded-virtual] void init(int, int, int); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 3) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffserv/dsPolicy.cc:61: ./diffserv/dewp.h:81:8: warning: 'DEWPPolicy::init' hides overloaded virtual function [-Woverloaded-virtual] void init(double); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 1) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffserv/dsPolicy.cc:64: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffserv/ew.cc:51: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffserv/ew.cc:53: ./tcp/tcp-full.h:215:7: warning: 'FullTcpAgent::connect' hides overloaded virtual function [-Woverloaded-virtual] void connect(); // do active open ^ ./common/agent.h:98:15: note: hidden overloaded virtual function 'Agent::connect' declared here: different number of parameters (1 vs 0) virtual void connect(nsaddr_t dst); ^ In file included from diffserv/ew.cc:54: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffserv/ew.cc:56: In file included from ./diffserv/ew.h:55: In file included from ./diffserv/dsPolicy.h:39: In file included from ./diffserv/dsred.h:72: In file included from ./queue/red.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffserv/ew.cc:56: ./diffserv/ew.h:371:8: warning: 'EWPolicy::init' hides overloaded virtual function [-Woverloaded-virtual] void init(int, int, int); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 3) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffserv/dewp.cc:51: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffserv/dewp.cc:53: ./tcp/tcp-full.h:215:7: warning: 'FullTcpAgent::connect' hides overloaded virtual function [-Woverloaded-virtual] void connect(); // do active open ^ ./common/agent.h:98:15: note: hidden overloaded virtual function 'Agent::connect' declared here: different number of parameters (1 vs 0) virtual void connect(nsaddr_t dst); ^ In file included from diffserv/dewp.cc:54: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffserv/dewp.cc:56: In file included from ./diffserv/dewp.h:55: In file included from ./diffserv/dsPolicy.h:39: In file included from ./diffserv/dsred.h:72: In file included from ./queue/red.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffserv/dewp.cc:56: ./diffserv/dewp.h:81:8: warning: 'DEWPPolicy::init' hides overloaded virtual function [-Woverloaded-virtual] void init(double); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 1) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 queue/red-pd.cc:41: In file included from ./queue/red-pd.h:42: In file included from ./queue/red.h:62: In file included from ./queue/queue.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/red-pd.cc:41: In file included from ./queue/red-pd.h:42: In file included from ./queue/red.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from queue/red-pd.cc:41: In file included from ./queue/red-pd.h:43: In file included from ./tools/flowmon.h:51: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/pi.cc:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/pi.cc:49: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from queue/pi.cc:52: In file included from ./queue/pi.h:51: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/vq.cc:97: In file included from ./common/flags.h:44: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/rem.cc:48: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/rem.cc:50: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/gk.cc:63: In file included from ./common/flags.h:44: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from pushback/rate-limit.cc:37: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:53: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from pushback/rate-limit.cc:37: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from pushback/rate-limit.cc:37: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from pushback/rate-limit.cc:37: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from pushback/rate-limit.cc:37: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from pushback/rate-limit.cc:37: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from pushback/rate-limit.cc:37: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from pushback/rate-limit.cc:37: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from pushback/rate-limit.cc:41: pushback/pushback.h:89:8: warning: 'PushbackAgent::timeout' hides overloaded virtual function [-Woverloaded-virtual] void timeout(PushbackEvent * event); ^ ./common/agent.h:85:15: note: hidden overloaded virtual function 'Agent::timeout' declared here: type mismatch at 1st parameter ('int' vs 'PushbackEvent *') virtual void timeout(int tno); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from pushback/rate-limit-strategy.cc:37: In file included from pushback/rate-limit-strategy.h:41: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from pushback/ident-tree.cc:37: In file included from pushback/ident-tree.h:6: In file included from ./routing/address.h:38: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from pushback/ident-tree.cc:38: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from pushback/ident-tree.cc:38: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from pushback/ident-tree.cc:38: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from pushback/ident-tree.cc:38: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from pushback/ident-tree.cc:38: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from pushback/ident-tree.cc:38: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from pushback/ident-tree.cc:38: In file included from pushback/rate-limit.h:40: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from pushback/agg-spec.cc:1: In file included from pushback/agg-spec.h:41: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from pushback/logging-data-struct.cc:37: In file included from pushback/logging-data-struct.h:40: In file included from ./common/node.h:53: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from pushback/logging-data-struct.cc:37: In file included from pushback/logging-data-struct.h:40: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from pushback/logging-data-struct.cc:37: In file included from pushback/logging-data-struct.h:40: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from pushback/logging-data-struct.cc:37: In file included from pushback/logging-data-struct.h:40: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from pushback/logging-data-struct.cc:37: In file included from pushback/logging-data-struct.h:40: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from pushback/logging-data-struct.cc:37: In file included from pushback/logging-data-struct.h:40: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from pushback/logging-data-struct.cc:37: In file included from pushback/logging-data-struct.h:40: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from pushback/logging-data-struct.cc:37: In file included from pushback/logging-data-struct.h:40: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from pushback/rate-estimator.cc:1: In file included from pushback/rate-estimator.h:4: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from pushback/pushback-queue.cc:37: In file included from pushback/pushback-queue.h:40: In file included from ./queue/red.h:62: In file included from ./queue/queue.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from pushback/pushback-queue.cc:37: In file included from pushback/pushback-queue.h:40: In file included from ./queue/red.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from pushback/pushback-queue.cc:40: In file included from pushback/pushback.h:45: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from pushback/pushback-queue.cc:40: In file included from pushback/pushback.h:45: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from pushback/pushback-queue.cc:40: In file included from pushback/pushback.h:45: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from pushback/pushback-queue.cc:40: In file included from pushback/pushback.h:45: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from pushback/pushback-queue.cc:40: In file included from pushback/pushback.h:45: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from pushback/pushback-queue.cc:40: In file included from pushback/pushback.h:45: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from pushback/pushback-queue.cc:40: pushback/pushback.h:89:8: warning: 'PushbackAgent::timeout' hides overloaded virtual function [-Woverloaded-virtual] void timeout(PushbackEvent * event); ^ ./common/agent.h:85:15: note: hidden overloaded virtual function 'Agent::timeout' declared here: type mismatch at 1st parameter ('int' vs 'PushbackEvent *') virtual void timeout(int tno); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 pushback/pushback.cc:37: In file included from pushback/pushback.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from pushback/pushback.cc:37: In file included from pushback/pushback.h:45: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from pushback/pushback.cc:37: In file included from pushback/pushback.h:45: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from pushback/pushback.cc:37: In file included from pushback/pushback.h:45: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from pushback/pushback.cc:37: In file included from pushback/pushback.h:45: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from pushback/pushback.cc:37: In file included from pushback/pushback.h:45: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from pushback/pushback.cc:37: In file included from pushback/pushback.h:45: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from pushback/pushback.cc:37: In file included from pushback/pushback.h:45: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from pushback/pushback.cc:37: pushback/pushback.h:89:8: warning: 'PushbackAgent::timeout' hides overloaded virtual function [-Woverloaded-virtual] void timeout(PushbackEvent * event); ^ ./common/agent.h:85:15: note: hidden overloaded virtual function 'Agent::timeout' declared here: type mismatch at 1st parameter ('int' vs 'PushbackEvent *') virtual void timeout(int tno); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/parentnode.cc:54: In file included from ./common/parentnode.h:54: In file included from ./routing/address.h:38: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from common/parentnode.cc:54: In file included from ./common/parentnode.h:56: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from trace/basetrace.cc:37: In file included from ./trace/basetrace.h:41: In file included from ./tcp/tcp.h:38: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from trace/basetrace.cc:37: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/simulator.cc:47: In file included from ./common/simulator.h:55: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from common/simulator.cc:48: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from common/simulator.cc:48: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from common/simulator.cc:48: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from common/simulator.cc:48: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from common/simulator.cc:48: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from common/simulator.cc:48: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from common/simulator.cc:48: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from asim/asim.cc:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/scheduler-map.cc:36: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/splay-scheduler.cc:82: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from linkstate/ls.cc:64: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from linkstate/ls.cc:67: linkstate/ls.h:607:19: warning: private field 'messageCenterPtr_' is not used [-Wunused-private-field] LsMessageCenter* messageCenterPtr_; // points to static messageCenter ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from linkstate/rtProtoLS.cc:64: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from pgm/classifier-pgm.cc:58: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from pgm/pgm-agent.cc:58: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from pgm/pgm-agent.cc:73: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from pgm/pgm-agent.cc:74: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ pgm/pgm-agent.cc:285:16: warning: 'PgmAgent::timeout' hides overloaded virtual function [-Woverloaded-virtual] virtual void timeout(int type, void *data); ^ ./common/agent.h:85:15: note: hidden overloaded virtual function 'Agent::timeout' declared here: different number of parameters (1 vs 2) virtual void timeout(int tno); ^ pgm/pgm-agent.cc:307:8: warning: 'PgmAgent::trace_event' hides overloaded virtual function [-Woverloaded-virtual] void trace_event(char *evType, double evTime); ^ ./common/agent.h:153:22: note: hidden overloaded virtual function 'Agent::trace_event' declared here: different number of parameters (1 vs 2) virtual void trace_event(char *eventtype); ^ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from pgm/pgm-sender.cc:58: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from pgm/pgm-sender.cc:74: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from pgm/pgm-sender.cc:75: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ pgm/pgm-sender.cc:167:16: warning: 'PgmSender::timeout' hides overloaded virtual function [-Woverloaded-virtual] virtual void timeout(int type, void *data); ^ ./common/agent.h:85:15: note: hidden overloaded virtual function 'Agent::timeout' declared here: different number of parameters (1 vs 2) virtual void timeout(int tno); ^ pgm/pgm-sender.cc:189:8: warning: 'PgmSender::trace_event' hides overloaded virtual function [-Woverloaded-virtual] void trace_event(char *evType, nsaddr_t daddr, double evTime); ^ ./common/agent.h:153:22: note: hidden overloaded virtual function 'Agent::trace_event' declared here: different number of parameters (1 vs 3) virtual void trace_event(char *eventtype); ^ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from pgm/pgm-receiver.cc:58: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from pgm/pgm-receiver.cc:71: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from pgm/pgm-receiver.cc:72: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ pgm/pgm-receiver.cc:167:16: warning: 'PgmReceiver::timeout' hides overloaded virtual function [-Woverloaded-virtual] virtual void timeout(int type, void *data); ^ ./common/agent.h:85:15: note: hidden overloaded virtual function 'Agent::timeout' declared here: different number of parameters (1 vs 2) virtual void timeout(int tno); ^ pgm/pgm-receiver.cc:186:8: warning: 'PgmReceiver::trace_event' hides overloaded virtual function [-Woverloaded-virtual] void trace_event(char *evType, double evTime); ^ ./common/agent.h:153:22: note: hidden overloaded virtual function 'Agent::trace_event' declared here: different number of parameters (1 vs 2) virtual void trace_event(char *eventtype); ^ 5 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mcast/rcvbuf.cc:59: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mcast/classifier-lms.cc:58: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mcast/lms-agent.cc:60: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mcast/lms-agent.cc:63: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mcast/lms-agent.cc:64: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mcast/lms-agent.cc:64: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mcast/lms-agent.cc:64: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mcast/lms-agent.cc:64: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mcast/lms-agent.cc:64: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mcast/lms-agent.cc:64: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mcast/lms-receiver.cc:59: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mcast/lms-receiver.cc:64: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mcast/lms-receiver.cc:64: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mcast/lms-receiver.cc:64: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mcast/lms-receiver.cc:64: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mcast/lms-receiver.cc:64: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mcast/lms-receiver.cc:64: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mcast/lms-receiver.cc:64: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ mcast/lms-receiver.cc:105:15: warning: 'LmsReceiver::timeout' hides overloaded virtual function [-Woverloaded-virtual] virtual void timeout (int type, int lo, int hi); ^ ./common/agent.h:85:15: note: hidden overloaded virtual function 'Agent::timeout' declared here: different number of parameters (1 vs 3) virtual void timeout(int tno); ^ mcast/lms-receiver.cc:171:7: warning: private field 'fid_' is not used [-Wunused-private-field] int fid_; ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from mcast/lms-sender.cc:58: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from mcast/lms-sender.cc:64: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mcast/lms-sender.cc:65: ./tools/trafgen.h:85:15: warning: 'TrafficGenerator::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init() {} ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from mcast/lms-sender.cc:65: ./tools/trafgen.h:90:15: warning: 'TrafficGenerator::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv() {} ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 0) virtual void recv(int nbytes); ^ In file included from mcast/lms-sender.cc:66: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mcast/lms-sender.cc:66: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mcast/lms-sender.cc:66: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from mcast/lms-sender.cc:66: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from mcast/lms-sender.cc:66: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from mcast/lms-sender.cc:66: In file included from ./mcast/lms.h:64: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from queue/delayer.cc:36: In file included from ./queue/delayer.h:37: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from queue/delayer.cc:36: In file included from ./queue/delayer.h:38: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from xcp/xcpq.cc:23: In file included from xcp/xcpq.h:28: In file included from ./queue/drop-tail.h:41: In file included from ./queue/queue.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from xcp/xcpq.cc:23: In file included from xcp/xcpq.h:30: In file included from xcp/xcp-end-sys.h:56: ./tcp/tcp-full.h:215:7: warning: 'FullTcpAgent::connect' hides overloaded virtual function [-Woverloaded-virtual] void connect(); // do active open ^ ./common/agent.h:98:15: note: hidden overloaded virtual function 'Agent::connect' declared here: different number of parameters (1 vs 0) virtual void connect(nsaddr_t dst); ^ In file included from xcp/xcpq.cc:25: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from xcp/xcp.cc:29: In file included from xcp/xcp.h:50: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from xcp/xcp.cc:29: In file included from xcp/xcp.h:52: In file included from xcp/xcpq.h:30: In file included from xcp/xcp-end-sys.h:56: ./tcp/tcp-full.h:215:7: warning: 'FullTcpAgent::connect' hides overloaded virtual function [-Woverloaded-virtual] void connect(); // do active open ^ ./common/agent.h:98:15: note: hidden overloaded virtual function 'Agent::connect' declared here: different number of parameters (1 vs 0) virtual void connect(nsaddr_t dst); ^ In file included from xcp/xcp.cc:30: In file included from ./queue/red.h:64: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from xcp/xcp-end-sys.cc:48: In file included from ./common/ip.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from xcp/xcp-end-sys.cc:57: In file included from xcp/xcp-end-sys.h:56: ./tcp/tcp-full.h:215:7: warning: 'FullTcpAgent::connect' hides overloaded virtual function [-Woverloaded-virtual] void connect(); // do active open ^ ./common/agent.h:98:15: note: hidden overloaded virtual function 'Agent::connect' declared here: different number of parameters (1 vs 0) virtual void connect(nsaddr_t dst); ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from wpan/p802_15_4csmaca.cc:49: In file included from ./wpan/p802_15_4csmaca.h:52: In file included from ./wpan/p802_15_4timer.h:52: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from wpan/p802_15_4csmaca.cc:49: In file included from ./wpan/p802_15_4csmaca.h:52: ./wpan/p802_15_4timer.h:153:7: warning: 'macExtractTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(double time,bool onlycap); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 2) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:203:7: warning: 'macBeaconTxTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(bool reset = false, bool fortx = false, double wt = 0.0); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 3) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:215:7: warning: 'macBeaconRxTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(void); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 0) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:236:7: warning: 'macWakeupTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(void); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 0) virtual void start(double time); ^ In file included from wpan/p802_15_4csmaca.cc:49: In file included from ./wpan/p802_15_4csmaca.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from wpan/p802_15_4csmaca.cc:49: In file included from ./wpan/p802_15_4csmaca.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from wpan/p802_15_4csmaca.cc:49: In file included from ./wpan/p802_15_4csmaca.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from wpan/p802_15_4csmaca.cc:49: In file included from ./wpan/p802_15_4csmaca.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4csmaca.cc:49: In file included from ./wpan/p802_15_4csmaca.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4csmaca.cc:49: In file included from ./wpan/p802_15_4csmaca.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4csmaca.cc:49: In file included from ./wpan/p802_15_4csmaca.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4csmaca.cc:49: In file included from ./wpan/p802_15_4csmaca.h:54: ./wpan/p802_15_4mac.h:500:7: warning: 'Mac802_15_4::init' hides overloaded virtual function [-Woverloaded-virtual] void init(bool reset = false); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 1) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from wpan/p802_15_4csmaca.cc:49: In file included from ./wpan/p802_15_4csmaca.h:54: ./wpan/p802_15_4mac.h:570:7: warning: 'Mac802_15_4::sendDown' hides overloaded virtual function [-Woverloaded-virtual] void sendDown(Packet *p,Handler* h); ^ ./mac/mac.h:178:15: note: hidden overloaded virtual function 'Mac::sendDown' declared here: different number of parameters (1 vs 2) virtual void sendDown(Packet* p); ^ wpan/p802_15_4csmaca.cc:420:26: warning: if statement has empty body [-Wempty-body] if (canProceed(wtime)); ^ wpan/p802_15_4csmaca.cc:420:26: note: put the semicolon on a separate line to silence this warning wpan/p802_15_4csmaca.cc:427:26: warning: if statement has empty body [-Wempty-body] if (canProceed(wtime)); ^ wpan/p802_15_4csmaca.cc:427:26: note: put the semicolon on a separate line to silence this warning 16 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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_4fail.o wpan/p802_15_4fail.cc g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from wpan/p802_15_4hlist.cc:49: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from wpan/p802_15_4hlist.cc:50: In file included from ./wpan/p802_15_4hlist.h:52: In file included from ./wpan/p802_15_4def.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from wpan/p802_15_4mac.cc:49: In file included from ./wpan/p802_15_4pkt.h:52: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from wpan/p802_15_4mac.cc:49: In file included from ./wpan/p802_15_4pkt.h:53: In file included from ./wpan/p802_15_4const.h:52: In file included from ./wpan/p802_15_4def.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from wpan/p802_15_4mac.cc:50: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from wpan/p802_15_4mac.cc:50: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from wpan/p802_15_4mac.cc:50: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4mac.cc:50: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4mac.cc:50: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4mac.cc:50: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4mac.cc:50: In file included from ./wpan/p802_15_4mac.h:54: ./wpan/p802_15_4timer.h:153:7: warning: 'macExtractTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(double time,bool onlycap); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 2) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:203:7: warning: 'macBeaconTxTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(bool reset = false, bool fortx = false, double wt = 0.0); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 3) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:215:7: warning: 'macBeaconRxTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(void); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 0) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:236:7: warning: 'macWakeupTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(void); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 0) virtual void start(double time); ^ In file included from wpan/p802_15_4mac.cc:50: ./wpan/p802_15_4mac.h:500:7: warning: 'Mac802_15_4::init' hides overloaded virtual function [-Woverloaded-virtual] void init(bool reset = false); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 1) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from wpan/p802_15_4mac.cc:50: ./wpan/p802_15_4mac.h:570:7: warning: 'Mac802_15_4::sendDown' hides overloaded virtual function [-Woverloaded-virtual] void sendDown(Packet *p,Handler* h); ^ ./mac/mac.h:178:15: note: hidden overloaded virtual function 'Mac::sendDown' declared here: different number of parameters (1 vs 2) virtual void sendDown(Packet* p); ^ wpan/p802_15_4mac.cc:2751:9: warning: variable 'kpTime' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if ((DstAddrMode == defFrmCtrl_AddrMode16) //16-bit address available ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wpan/p802_15_4mac.cc:2766:22: note: uninitialized use occurs here dataWaitT->start(kpTime); ^~~~~~ wpan/p802_15_4mac.cc:2751:5: note: remove the 'if' if its condition is always true if ((DstAddrMode == defFrmCtrl_AddrMode16) //16-bit address available ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wpan/p802_15_4mac.cc:2687:15: note: initialize the variable 'kpTime' to silence this warning double kpTime; ^ = 0.0 15 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from wpan/p802_15_4nam.cc:49: In file included from ./wpan/p802_15_4mac.h:52: In file included from ./wpan/p802_15_4pkt.h:52: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from wpan/p802_15_4nam.cc:49: In file included from ./wpan/p802_15_4mac.h:52: In file included from ./wpan/p802_15_4pkt.h:53: In file included from ./wpan/p802_15_4const.h:52: In file included from ./wpan/p802_15_4def.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from wpan/p802_15_4nam.cc:49: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from wpan/p802_15_4nam.cc:49: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from wpan/p802_15_4nam.cc:49: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4nam.cc:49: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4nam.cc:49: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4nam.cc:49: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4nam.cc:49: In file included from ./wpan/p802_15_4mac.h:54: ./wpan/p802_15_4timer.h:153:7: warning: 'macExtractTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(double time,bool onlycap); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 2) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:203:7: warning: 'macBeaconTxTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(bool reset = false, bool fortx = false, double wt = 0.0); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 3) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:215:7: warning: 'macBeaconRxTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(void); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 0) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:236:7: warning: 'macWakeupTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(void); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 0) virtual void start(double time); ^ In file included from wpan/p802_15_4nam.cc:49: ./wpan/p802_15_4mac.h:500:7: warning: 'Mac802_15_4::init' hides overloaded virtual function [-Woverloaded-virtual] void init(bool reset = false); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 1) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from wpan/p802_15_4nam.cc:49: ./wpan/p802_15_4mac.h:570:7: warning: 'Mac802_15_4::sendDown' hides overloaded virtual function [-Woverloaded-virtual] void sendDown(Packet *p,Handler* h); ^ ./mac/mac.h:178:15: note: hidden overloaded virtual function 'Mac::sendDown' declared here: different number of parameters (1 vs 2) virtual void sendDown(Packet* p); ^ 14 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from wpan/p802_15_4phy.cc:49: In file included from ./wpan/p802_15_4pkt.h:52: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from wpan/p802_15_4phy.cc:49: In file included from ./wpan/p802_15_4pkt.h:53: In file included from ./wpan/p802_15_4const.h:52: In file included from ./wpan/p802_15_4def.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from wpan/p802_15_4phy.cc:50: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from wpan/p802_15_4phy.cc:50: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from wpan/p802_15_4phy.cc:50: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4phy.cc:50: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4phy.cc:50: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4phy.cc:50: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4phy.cc:51: In file included from ./wpan/p802_15_4mac.h:54: ./wpan/p802_15_4timer.h:153:7: warning: 'macExtractTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(double time,bool onlycap); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 2) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:203:7: warning: 'macBeaconTxTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(bool reset = false, bool fortx = false, double wt = 0.0); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 3) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:215:7: warning: 'macBeaconRxTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(void); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 0) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:236:7: warning: 'macWakeupTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(void); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 0) virtual void start(double time); ^ In file included from wpan/p802_15_4phy.cc:51: ./wpan/p802_15_4mac.h:500:7: warning: 'Mac802_15_4::init' hides overloaded virtual function [-Woverloaded-virtual] void init(bool reset = false); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 1) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from wpan/p802_15_4phy.cc:51: ./wpan/p802_15_4mac.h:570:7: warning: 'Mac802_15_4::sendDown' hides overloaded virtual function [-Woverloaded-virtual] void sendDown(Packet *p,Handler* h); ^ ./mac/mac.h:178:15: note: hidden overloaded virtual function 'Mac::sendDown' declared here: different number of parameters (1 vs 2) virtual void sendDown(Packet* p); ^ 14 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from wpan/p802_15_4sscs.cc:53: In file included from ./wpan/p802_15_4sscs.h:59: In file included from ./wpan/p802_15_4def.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from wpan/p802_15_4sscs.cc:53: In file included from ./wpan/p802_15_4sscs.h:59: In file included from ./wpan/p802_15_4def.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from wpan/p802_15_4sscs.cc:53: In file included from ./wpan/p802_15_4sscs.h:60: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from wpan/p802_15_4sscs.cc:53: In file included from ./wpan/p802_15_4sscs.h:60: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from wpan/p802_15_4sscs.cc:53: In file included from ./wpan/p802_15_4sscs.h:60: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4sscs.cc:53: In file included from ./wpan/p802_15_4sscs.h:60: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4sscs.cc:53: In file included from ./wpan/p802_15_4sscs.h:60: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4sscs.cc:53: In file included from ./wpan/p802_15_4sscs.h:60: In file included from ./wpan/p802_15_4mac.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4sscs.cc:53: In file included from ./wpan/p802_15_4sscs.h:60: In file included from ./wpan/p802_15_4mac.h:54: ./wpan/p802_15_4timer.h:153:7: warning: 'macExtractTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(double time,bool onlycap); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 2) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:203:7: warning: 'macBeaconTxTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(bool reset = false, bool fortx = false, double wt = 0.0); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 3) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:215:7: warning: 'macBeaconRxTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(void); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 0) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:236:7: warning: 'macWakeupTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(void); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 0) virtual void start(double time); ^ In file included from wpan/p802_15_4sscs.cc:53: In file included from ./wpan/p802_15_4sscs.h:60: ./wpan/p802_15_4mac.h:500:7: warning: 'Mac802_15_4::init' hides overloaded virtual function [-Woverloaded-virtual] void init(bool reset = false); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 1) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from wpan/p802_15_4sscs.cc:53: In file included from ./wpan/p802_15_4sscs.h:60: ./wpan/p802_15_4mac.h:570:7: warning: 'Mac802_15_4::sendDown' hides overloaded virtual function [-Woverloaded-virtual] void sendDown(Packet *p,Handler* h); ^ ./mac/mac.h:178:15: note: hidden overloaded virtual function 'Mac::sendDown' declared here: different number of parameters (1 vs 2) virtual void sendDown(Packet* p); ^ 14 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from wpan/p802_15_4timer.cc:49: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from wpan/p802_15_4timer.cc:50: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from wpan/p802_15_4timer.cc:51: In file included from ./wpan/p802_15_4csmaca.h:52: ./wpan/p802_15_4timer.h:153:7: warning: 'macExtractTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(double time,bool onlycap); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 2) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:203:7: warning: 'macBeaconTxTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(bool reset = false, bool fortx = false, double wt = 0.0); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 3) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:215:7: warning: 'macBeaconRxTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(void); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 0) virtual void start(double time); ^ ./wpan/p802_15_4timer.h:236:7: warning: 'macWakeupTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(void); ^ ./wpan/p802_15_4timer.h:66:15: note: hidden overloaded virtual function 'Mac802_15_4Timer::start' declared here: different number of parameters (1 vs 0) virtual void start(double time); ^ In file included from wpan/p802_15_4timer.cc:51: In file included from ./wpan/p802_15_4csmaca.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from wpan/p802_15_4timer.cc:51: In file included from ./wpan/p802_15_4csmaca.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:61: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from wpan/p802_15_4timer.cc:51: In file included from ./wpan/p802_15_4csmaca.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4timer.cc:51: In file included from ./wpan/p802_15_4csmaca.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4timer.cc:51: In file included from ./wpan/p802_15_4csmaca.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4timer.cc:51: In file included from ./wpan/p802_15_4csmaca.h:53: In file included from ./wpan/p802_15_4phy.h:54: In file included from ./mac/wireless-phy.h:45: In file included from ./mobile/propagation.h:47: In file included from ./mobile/topography.h:44: In file included from ./mac/channel.h:46: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4timer.cc:51: In file included from ./wpan/p802_15_4csmaca.h:54: ./wpan/p802_15_4mac.h:500:7: warning: 'Mac802_15_4::init' hides overloaded virtual function [-Woverloaded-virtual] void init(bool reset = false); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 1) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from wpan/p802_15_4timer.cc:51: In file included from ./wpan/p802_15_4csmaca.h:54: ./wpan/p802_15_4mac.h:570:7: warning: 'Mac802_15_4::sendDown' hides overloaded virtual function [-Woverloaded-virtual] void sendDown(Packet *p,Handler* h); ^ ./mac/mac.h:178:15: note: hidden overloaded virtual function 'Mac::sendDown' declared here: different number of parameters (1 vs 2) virtual void sendDown(Packet* p); ^ 14 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from wpan/p802_15_4trace.cc:49: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from wpan/p802_15_4trace.cc:50: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from wpan/p802_15_4trace.cc:50: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from wpan/p802_15_4trace.cc:50: In file included from ./mac/mac.h:48: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from wpan/p802_15_4trace.cc:50: In file included from ./mac/mac.h:48: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4trace.cc:50: In file included from ./mac/mac.h:48: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4trace.cc:50: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4trace.cc:50: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from wpan/p802_15_4trace.cc:51: In file included from ./mac/mac-802_11.h:47: ./mac/mac-timers.h:79:7: warning: 'BackoffTimer::start' hides overloaded virtual function [-Woverloaded-virtual] void start(int cw, int idle, double difs = 0.0); ^ ./mac/mac-timers.h:52:15: note: hidden overloaded virtual function 'MacTimer::start' declared here: different number of parameters (1 vs 3) virtual void start(double time); ^ ./mac/mac-timers.h:82:7: warning: 'BackoffTimer::resume' hides overloaded virtual function [-Woverloaded-virtual] void resume(double difs); ^ ./mac/mac-timers.h:55:15: note: hidden overloaded virtual function 'MacTimer::resume' declared here: different number of parameters (0 vs 1) virtual void resume(void) { assert(0); } ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from wpan/p802_15_4transac.cc:49: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from wpan/p802_15_4transac.cc:50: In file included from ./wpan/p802_15_4transac.h:53: In file included from ./wpan/p802_15_4def.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from apps/pbc.cc:55: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/lib/dr.cc:47: In file included from ./diffusion3/lib/dr.hh:54: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/lib/dr.cc:47: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/lib/dr.cc:47: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/lib/dr.cc:47: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/lib/dr.cc:47: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/lib/dr.cc:47: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/lib/dr.cc:47: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/lib/dr.cc:47: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/filters/diffusion/one_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/one_phase_pull.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/filters/diffusion/one_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/one_phase_pull.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/filters/diffusion/one_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/one_phase_pull.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/filters/diffusion/one_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/one_phase_pull.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/filters/diffusion/one_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/one_phase_pull.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/diffusion/one_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/one_phase_pull.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/diffusion/one_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/one_phase_pull.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/diffusion/one_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/one_phase_pull.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/diffusion/one_phase_pull.cc:43: diffusion3/filters/diffusion/one_phase_pull.hh:303:8: warning: 'OnePhasePullFilter::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(Message *msg, handle h); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/filters/diffusion/two_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/two_phase_pull.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/filters/diffusion/two_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/two_phase_pull.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/filters/diffusion/two_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/two_phase_pull.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/filters/diffusion/two_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/two_phase_pull.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/filters/diffusion/two_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/two_phase_pull.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/diffusion/two_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/two_phase_pull.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/diffusion/two_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/two_phase_pull.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/diffusion/two_phase_pull.cc:43: In file included from diffusion3/filters/diffusion/two_phase_pull.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/diffusion/two_phase_pull.cc:43: diffusion3/filters/diffusion/two_phase_pull.hh:274:8: warning: 'GradientFilter::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(Message *msg, handle h); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/lib/diffapp.cc:44: In file included from ./diffusion3/lib/diffapp.hh:58: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/lib/diffapp.cc:44: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/lib/diffapp.cc:44: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/lib/diffapp.cc:44: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/lib/diffapp.cc:44: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/lib/diffapp.cc:44: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/lib/diffapp.cc:44: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/lib/diffapp.cc:44: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/ns/diffagent.cc:50: In file included from ./diffusion3/ns/diffagent.h:55: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/ns/diffagent.cc:50: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/ns/diffagent.cc:50: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/ns/diffagent.cc:50: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/ns/diffagent.cc:50: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/ns/diffagent.cc:50: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/ns/diffagent.cc:50: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/ns/diffagent.cc:50: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/ns/diffagent.cc:51: ./diffusion3/ns/diffrtg.h:121:7: warning: 'DiffRoutingAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace (char *fmt,...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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/diffrtg.cc:51: In file included from ./diffusion3/ns/diffrtg.h:55: In file included from ./diffusion3/filter_core/filter_core.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/ns/diffrtg.cc:51: In file included from ./diffusion3/ns/diffrtg.h:62: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/ns/diffrtg.cc:51: ./diffusion3/ns/diffrtg.h:121:7: warning: 'DiffRoutingAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace (char *fmt,...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ In file included from diffusion3/ns/diffrtg.cc:54: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/ns/diffrtg.cc:54: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/ns/diffrtg.cc:54: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/ns/diffrtg.cc:54: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/ns/diffrtg.cc:54: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/ns/diffrtg.cc:54: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/ns/difftimer.cc:52: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/ns/difftimer.cc:52: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/ns/difftimer.cc:52: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/ns/difftimer.cc:52: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/ns/difftimer.cc:52: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/ns/difftimer.cc:52: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/ns/difftimer.cc:52: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/ns/difftimer.cc:53: ./diffusion3/ns/diffrtg.h:121:7: warning: 'DiffRoutingAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace (char *fmt,...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/filter_core/filter_core.cc:43: In file included from ./diffusion3/filter_core/filter_core.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/filter_core/filter_core.cc:43: In file included from ./diffusion3/filter_core/filter_core.hh:72: In file included from ./diffusion3/ns/diffrtg.h:62: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/filter_core/filter_core.cc:43: In file included from ./diffusion3/filter_core/filter_core.hh:72: ./diffusion3/ns/diffrtg.h:121:7: warning: 'DiffRoutingAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace (char *fmt,...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 3 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/filter_core/iolog.cc:46: In file included from ./diffusion3/filter_core/iolog.hh:48: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/filter_core/iostats.cc:43: In file included from ./diffusion3/filter_core/iostats.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/lib/main/attrs.cc:47: In file included from ./diffusion3/lib/main/attrs.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/lib/main/events.cc:46: In file included from ./diffusion3/lib/main/events.hh:55: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/lib/main/iodev.cc:43: In file included from ./diffusion3/lib/main/iodev.hh:54: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/lib/main/iohook.cc:47: In file included from ./diffusion3/lib/main/iohook.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/lib/main/timers.cc:46: In file included from ./diffusion3/lib/main/timers.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/lib/main/message.cc:44: In file included from ./diffusion3/lib/main/message.hh:65: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/lib/main/tools.cc:45: In file included from ./diffusion3/lib/main/tools.hh:59: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/lib/main/tools.cc:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/apps/gear_examples/gear_common.cc:43: In file included from diffusion3/apps/gear_examples/gear_common.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/apps/gear_examples/gear_common.cc:43: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/apps/gear_examples/gear_common.cc:43: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/apps/gear_examples/gear_common.cc:43: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/apps/gear_examples/gear_common.cc:43: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/gear_examples/gear_common.cc:43: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/gear_examples/gear_common.cc:43: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/gear_examples/gear_common.cc:43: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/apps/gear_examples/gear_receiver.cc:43: In file included from diffusion3/apps/gear_examples/gear_receiver.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/apps/gear_examples/gear_receiver.cc:43: In file included from diffusion3/apps/gear_examples/gear_receiver.hh:50: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/apps/gear_examples/gear_receiver.cc:43: In file included from diffusion3/apps/gear_examples/gear_receiver.hh:50: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/apps/gear_examples/gear_receiver.cc:43: In file included from diffusion3/apps/gear_examples/gear_receiver.hh:50: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/apps/gear_examples/gear_receiver.cc:43: In file included from diffusion3/apps/gear_examples/gear_receiver.hh:50: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/gear_examples/gear_receiver.cc:43: In file included from diffusion3/apps/gear_examples/gear_receiver.hh:50: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/gear_examples/gear_receiver.cc:43: In file included from diffusion3/apps/gear_examples/gear_receiver.hh:50: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/gear_examples/gear_receiver.cc:43: In file included from diffusion3/apps/gear_examples/gear_receiver.hh:50: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/gear_examples/gear_receiver.cc:43: diffusion3/apps/gear_examples/gear_receiver.hh:62:8: warning: 'GearReceiverApp::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(NRAttrVec *data, NR::handle my_handle); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/apps/gear_examples/gear_sender.cc:43: In file included from diffusion3/apps/gear_examples/gear_sender.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/apps/gear_examples/gear_sender.cc:43: In file included from diffusion3/apps/gear_examples/gear_sender.hh:50: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/apps/gear_examples/gear_sender.cc:43: In file included from diffusion3/apps/gear_examples/gear_sender.hh:50: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/apps/gear_examples/gear_sender.cc:43: In file included from diffusion3/apps/gear_examples/gear_sender.hh:50: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/apps/gear_examples/gear_sender.cc:43: In file included from diffusion3/apps/gear_examples/gear_sender.hh:50: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/gear_examples/gear_sender.cc:43: In file included from diffusion3/apps/gear_examples/gear_sender.hh:50: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/gear_examples/gear_sender.cc:43: In file included from diffusion3/apps/gear_examples/gear_sender.hh:50: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/gear_examples/gear_sender.cc:43: In file included from diffusion3/apps/gear_examples/gear_sender.hh:50: In file included from diffusion3/apps/gear_examples/gear_common.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/gear_examples/gear_sender.cc:43: diffusion3/apps/gear_examples/gear_sender.hh:72:8: warning: 'GearSenderApp::send' hides overloaded virtual function [-Woverloaded-virtual] void send(); ^ ./apps/app.h:51:15: note: hidden overloaded virtual function 'Application::send' declared here: different number of parameters (1 vs 0) virtual void send(int nbytes); ^ In file included from diffusion3/apps/gear_examples/gear_sender.cc:43: diffusion3/apps/gear_examples/gear_sender.hh:83:8: warning: 'GearSenderApp::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(NRAttrVec *data, NR::handle my_handle); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/apps/rmst_examples/rmst_sink.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_sink.hh:48: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/apps/rmst_examples/rmst_sink.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_sink.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/apps/rmst_examples/rmst_sink.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_sink.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/apps/rmst_examples/rmst_sink.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_sink.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/apps/rmst_examples/rmst_sink.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_sink.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/rmst_examples/rmst_sink.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_sink.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/rmst_examples/rmst_sink.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_sink.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/rmst_examples/rmst_sink.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_sink.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/rmst_examples/rmst_sink.cc:43: diffusion3/apps/rmst_examples/rmst_sink.hh:76:8: warning: 'RmstSink::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(void *blob, int size); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 diffusion3/apps/rmst_examples/rmst_source.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_source.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/apps/rmst_examples/rmst_source.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_source.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/apps/rmst_examples/rmst_source.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_source.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/apps/rmst_examples/rmst_source.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_source.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/apps/rmst_examples/rmst_source.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_source.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/rmst_examples/rmst_source.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_source.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/rmst_examples/rmst_source.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_source.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/rmst_examples/rmst_source.cc:43: In file included from diffusion3/apps/rmst_examples/rmst_source.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/rmst_examples/rmst_source.cc:43: diffusion3/apps/rmst_examples/rmst_source.hh:78:8: warning: 'RmstSource::send' hides overloaded virtual function [-Woverloaded-virtual] void send(); ^ ./apps/app.h:51:15: note: hidden overloaded virtual function 'Application::send' declared here: different number of parameters (1 vs 0) virtual void send(int nbytes); ^ In file included from diffusion3/apps/rmst_examples/rmst_source.cc:43: diffusion3/apps/rmst_examples/rmst_source.hh:88:8: warning: 'RmstSource::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(Message *msg, handle h); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ diffusion3/apps/rmst_examples/rmst_source.cc:65:11: warning: variable 'sleep_interval' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (!sent_first_blob){ ^~~~~~~~~~~~~~~~ diffusion3/apps/rmst_examples/rmst_source.cc:78:16: note: uninitialized use occurs here sdt_.resched(sleep_interval); ^~~~~~~~~~~~~~ diffusion3/apps/rmst_examples/rmst_source.cc:65:7: note: remove the 'if' if its condition is always true if (!sent_first_blob){ ^~~~~~~~~~~~~~~~~~~~~ diffusion3/apps/rmst_examples/rmst_source.cc:61:21: note: initialize the variable 'sleep_interval' to silence this warning int sleep_interval; ^ = 0 11 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/apps/ping/1pp_ping_sender.cc:44: In file included from diffusion3/apps/ping/1pp_ping_sender.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/apps/ping/1pp_ping_sender.cc:44: In file included from diffusion3/apps/ping/1pp_ping_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/apps/ping/1pp_ping_sender.cc:44: In file included from diffusion3/apps/ping/1pp_ping_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/apps/ping/1pp_ping_sender.cc:44: In file included from diffusion3/apps/ping/1pp_ping_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/apps/ping/1pp_ping_sender.cc:44: In file included from diffusion3/apps/ping/1pp_ping_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/1pp_ping_sender.cc:44: In file included from diffusion3/apps/ping/1pp_ping_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/1pp_ping_sender.cc:44: In file included from diffusion3/apps/ping/1pp_ping_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/1pp_ping_sender.cc:44: In file included from diffusion3/apps/ping/1pp_ping_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/1pp_ping_sender.cc:44: diffusion3/apps/ping/1pp_ping_sender.hh:72:8: warning: 'OPPPingSenderApp::send' hides overloaded virtual function [-Woverloaded-virtual] void send(); ^ ./apps/app.h:51:15: note: hidden overloaded virtual function 'Application::send' declared here: different number of parameters (1 vs 0) virtual void send(int nbytes); ^ In file included from diffusion3/apps/ping/1pp_ping_sender.cc:44: diffusion3/apps/ping/1pp_ping_sender.hh:83:8: warning: 'OPPPingSenderApp::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(NRAttrVec *data, NR::handle my_handle); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/apps/ping/1pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/1pp_ping_receiver.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/apps/ping/1pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/1pp_ping_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/apps/ping/1pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/1pp_ping_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/apps/ping/1pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/1pp_ping_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/apps/ping/1pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/1pp_ping_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/1pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/1pp_ping_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/1pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/1pp_ping_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/1pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/1pp_ping_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/1pp_ping_receiver.cc:43: diffusion3/apps/ping/1pp_ping_receiver.hh:63:8: warning: 'OPPPingReceiverApp::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(NRAttrVec *data, NR::handle my_handle); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/apps/ping/2pp_ping_sender.cc:43: In file included from diffusion3/apps/ping/2pp_ping_sender.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/apps/ping/2pp_ping_sender.cc:43: In file included from diffusion3/apps/ping/2pp_ping_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/apps/ping/2pp_ping_sender.cc:43: In file included from diffusion3/apps/ping/2pp_ping_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/apps/ping/2pp_ping_sender.cc:43: In file included from diffusion3/apps/ping/2pp_ping_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/apps/ping/2pp_ping_sender.cc:43: In file included from diffusion3/apps/ping/2pp_ping_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/2pp_ping_sender.cc:43: In file included from diffusion3/apps/ping/2pp_ping_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/2pp_ping_sender.cc:43: In file included from diffusion3/apps/ping/2pp_ping_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/2pp_ping_sender.cc:43: In file included from diffusion3/apps/ping/2pp_ping_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/2pp_ping_sender.cc:43: diffusion3/apps/ping/2pp_ping_sender.hh:72:8: warning: 'TPPPingSenderApp::send' hides overloaded virtual function [-Woverloaded-virtual] void send(); ^ ./apps/app.h:51:15: note: hidden overloaded virtual function 'Application::send' declared here: different number of parameters (1 vs 0) virtual void send(int nbytes); ^ In file included from diffusion3/apps/ping/2pp_ping_sender.cc:43: diffusion3/apps/ping/2pp_ping_sender.hh:83:8: warning: 'TPPPingSenderApp::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(NRAttrVec *data, NR::handle my_handle); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/apps/ping/2pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/2pp_ping_receiver.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/apps/ping/2pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/2pp_ping_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/apps/ping/2pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/2pp_ping_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/apps/ping/2pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/2pp_ping_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/apps/ping/2pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/2pp_ping_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/2pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/2pp_ping_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/2pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/2pp_ping_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/2pp_ping_receiver.cc:43: In file included from diffusion3/apps/ping/2pp_ping_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/2pp_ping_receiver.cc:43: diffusion3/apps/ping/2pp_ping_receiver.hh:63:8: warning: 'TPPPingReceiverApp::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(NRAttrVec *data, NR::handle my_handle); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/apps/ping/ping_common.cc:43: In file included from diffusion3/apps/ping/ping.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/apps/ping/ping_common.cc:43: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/apps/ping/ping_common.cc:43: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/apps/ping/ping_common.cc:43: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/apps/ping/ping_common.cc:43: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/ping_common.cc:43: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/ping_common.cc:43: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/ping_common.cc:43: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/apps/ping/push_receiver.cc:43: In file included from diffusion3/apps/ping/push_receiver.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/apps/ping/push_receiver.cc:43: In file included from diffusion3/apps/ping/push_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/apps/ping/push_receiver.cc:43: In file included from diffusion3/apps/ping/push_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/apps/ping/push_receiver.cc:43: In file included from diffusion3/apps/ping/push_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/apps/ping/push_receiver.cc:43: In file included from diffusion3/apps/ping/push_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/push_receiver.cc:43: In file included from diffusion3/apps/ping/push_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/push_receiver.cc:43: In file included from diffusion3/apps/ping/push_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/push_receiver.cc:43: In file included from diffusion3/apps/ping/push_receiver.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/push_receiver.cc:43: diffusion3/apps/ping/push_receiver.hh:63:8: warning: 'PushReceiverApp::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(NRAttrVec *data, NR::handle my_handle); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/apps/ping/push_sender.cc:43: In file included from diffusion3/apps/ping/push_sender.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/apps/ping/push_sender.cc:43: In file included from diffusion3/apps/ping/push_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/apps/ping/push_sender.cc:43: In file included from diffusion3/apps/ping/push_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/apps/ping/push_sender.cc:43: In file included from diffusion3/apps/ping/push_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/apps/ping/push_sender.cc:43: In file included from diffusion3/apps/ping/push_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/push_sender.cc:43: In file included from diffusion3/apps/ping/push_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/push_sender.cc:43: In file included from diffusion3/apps/ping/push_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/push_sender.cc:43: In file included from diffusion3/apps/ping/push_sender.hh:50: In file included from diffusion3/apps/ping/ping.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/apps/ping/push_sender.cc:43: diffusion3/apps/ping/push_sender.hh:71:8: warning: 'PushSenderApp::send' hides overloaded virtual function [-Woverloaded-virtual] void send(); ^ ./apps/app.h:51:15: note: hidden overloaded virtual function 'Application::send' declared here: different number of parameters (1 vs 0) virtual void send(int nbytes); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/filters/gear/gear_attr.cc:44: In file included from diffusion3/filters/gear/gear_attr.hh:48: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/filters/gear/gear_attr.cc:44: In file included from diffusion3/filters/gear/gear_attr.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/filters/gear/gear_attr.cc:44: In file included from diffusion3/filters/gear/gear_attr.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/filters/gear/gear_attr.cc:44: In file included from diffusion3/filters/gear/gear_attr.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/filters/gear/gear_attr.cc:44: In file included from diffusion3/filters/gear/gear_attr.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/gear/gear_attr.cc:44: In file included from diffusion3/filters/gear/gear_attr.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/gear/gear_attr.cc:44: In file included from diffusion3/filters/gear/gear_attr.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/gear/gear_attr.cc:44: In file included from diffusion3/filters/gear/gear_attr.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/filters/gear/gear.cc:44: In file included from diffusion3/filters/gear/gear.hh:48: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/filters/gear/gear.cc:44: In file included from diffusion3/filters/gear/gear.hh:62: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/filters/gear/gear.cc:44: In file included from diffusion3/filters/gear/gear.hh:62: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/filters/gear/gear.cc:44: In file included from diffusion3/filters/gear/gear.hh:62: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/filters/gear/gear.cc:44: In file included from diffusion3/filters/gear/gear.hh:62: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/gear/gear.cc:44: In file included from diffusion3/filters/gear/gear.hh:62: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/gear/gear.cc:44: In file included from diffusion3/filters/gear/gear.hh:62: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/gear/gear.cc:44: In file included from diffusion3/filters/gear/gear.hh:62: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/gear/gear.cc:44: diffusion3/filters/gear/gear.hh:224:8: warning: 'GeoRoutingFilter::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(Message *msg, handle h); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/filters/gear/gear_tools.cc:44: In file included from diffusion3/filters/gear/gear_tools.hh:48: In file included from ./diffusion3/lib/diffapp.hh:58: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/filters/gear/gear_tools.cc:44: In file included from diffusion3/filters/gear/gear_tools.hh:48: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/filters/gear/gear_tools.cc:44: In file included from diffusion3/filters/gear/gear_tools.hh:48: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/filters/gear/gear_tools.cc:44: In file included from diffusion3/filters/gear/gear_tools.hh:48: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/filters/gear/gear_tools.cc:44: In file included from diffusion3/filters/gear/gear_tools.hh:48: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/gear/gear_tools.cc:44: In file included from diffusion3/filters/gear/gear_tools.hh:48: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/gear/gear_tools.cc:44: In file included from diffusion3/filters/gear/gear_tools.hh:48: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/gear/gear_tools.cc:44: In file included from diffusion3/filters/gear/gear_tools.hh:48: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/filters/misc/log.cc:43: In file included from diffusion3/filters/misc/log.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/filters/misc/log.cc:43: In file included from diffusion3/filters/misc/log.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/filters/misc/log.cc:43: In file included from diffusion3/filters/misc/log.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/filters/misc/log.cc:43: In file included from diffusion3/filters/misc/log.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/filters/misc/log.cc:43: In file included from diffusion3/filters/misc/log.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/misc/log.cc:43: In file included from diffusion3/filters/misc/log.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/misc/log.cc:43: In file included from diffusion3/filters/misc/log.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/misc/log.cc:43: In file included from diffusion3/filters/misc/log.hh:50: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/misc/log.cc:43: diffusion3/filters/misc/log.hh:74:8: warning: 'LogFilter::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(Message *msg, handle h); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/filters/misc/srcrt.cc:43: In file included from diffusion3/filters/misc/srcrt.hh:47: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/filters/misc/srcrt.cc:43: In file included from diffusion3/filters/misc/srcrt.hh:51: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/filters/misc/srcrt.cc:43: In file included from diffusion3/filters/misc/srcrt.hh:51: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/filters/misc/srcrt.cc:43: In file included from diffusion3/filters/misc/srcrt.hh:51: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/filters/misc/srcrt.cc:43: In file included from diffusion3/filters/misc/srcrt.hh:51: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/misc/srcrt.cc:43: In file included from diffusion3/filters/misc/srcrt.hh:51: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/misc/srcrt.cc:43: In file included from diffusion3/filters/misc/srcrt.hh:51: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/misc/srcrt.cc:43: In file included from diffusion3/filters/misc/srcrt.hh:51: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/misc/srcrt.cc:43: diffusion3/filters/misc/srcrt.hh:78:8: warning: 'SrcRtFilter::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(Message *msg, handle h); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/filters/misc/tag.cc:43: In file included from diffusion3/filters/misc/tag.hh:48: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from diffusion3/filters/misc/tag.cc:43: In file included from diffusion3/filters/misc/tag.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/filters/misc/tag.cc:43: In file included from diffusion3/filters/misc/tag.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/filters/misc/tag.cc:43: In file included from diffusion3/filters/misc/tag.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/filters/misc/tag.cc:43: In file included from diffusion3/filters/misc/tag.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/misc/tag.cc:43: In file included from diffusion3/filters/misc/tag.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/misc/tag.cc:43: In file included from diffusion3/filters/misc/tag.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/misc/tag.cc:43: In file included from diffusion3/filters/misc/tag.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/misc/tag.cc:43: diffusion3/filters/misc/tag.hh:76:8: warning: 'TagFilter::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(Message *msg, handle h); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/filters/rmst/rmst.cc:44: In file included from diffusion3/filters/rmst/rmst.hh:49: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from diffusion3/filters/rmst/rmst_filter.cc:43: In file included from diffusion3/filters/rmst/rmst_filter.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:57: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from diffusion3/filters/rmst/rmst_filter.cc:43: In file included from diffusion3/filters/rmst/rmst_filter.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from diffusion3/filters/rmst/rmst_filter.cc:43: In file included from diffusion3/filters/rmst/rmst_filter.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:60: In file included from ./mac/channel.h:47: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from diffusion3/filters/rmst/rmst_filter.cc:43: In file included from diffusion3/filters/rmst/rmst_filter.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/rmst/rmst_filter.cc:43: In file included from diffusion3/filters/rmst/rmst_filter.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/rmst/rmst_filter.cc:43: In file included from diffusion3/filters/rmst/rmst_filter.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from diffusion3/filters/rmst/rmst_filter.cc:43: In file included from diffusion3/filters/rmst/rmst_filter.hh:51: In file included from ./diffusion3/lib/diffapp.hh:63: In file included from ./diffusion3/lib/dr.hh:69: In file included from ./diffusion3/ns/diffagent.h:57: In file included from ./common/mobilenode.h:59: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from diffusion3/filters/rmst/rmst_filter.cc:43: diffusion3/filters/rmst/rmst_filter.hh:107:8: warning: 'RmstFilter::recv' hides overloaded virtual function [-Woverloaded-virtual] void recv(Message *msg, handle h); ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 2) virtual void recv(int nbytes); ^ 8 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from delaybox/delaybox.cc:89: In file included from delaybox/delaybox.h:42: In file included from ./classifier/classifier.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from delaybox/delaybox.cc:89: In file included from delaybox/delaybox.h:43: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from delaybox/delaybox.cc:89: In file included from delaybox/delaybox.h:43: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from delaybox/delaybox.cc:89: In file included from delaybox/delaybox.h:43: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from delaybox/delaybox.cc:89: In file included from delaybox/delaybox.h:43: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from delaybox/delaybox.cc:89: In file included from delaybox/delaybox.h:43: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from delaybox/delaybox.cc:89: In file included from delaybox/delaybox.h:43: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from delaybox/delaybox.cc:89: In file included from delaybox/delaybox.h:43: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from delaybox/delaybox.cc:89: delaybox/delaybox.h:113:9: warning: struct 'DelayBoxClassifier' was previously declared as a class [-Wmismatched-tags] friend struct DelayBoxClassifier; ^ delaybox/delaybox.h:47:7: note: previous use is here class DelayBoxClassifier; ^ delaybox/delaybox.h:132:9: warning: struct 'DelayBoxClassifier' was previously declared as a class [-Wmismatched-tags] friend struct DelayBoxClassifier; ^ delaybox/delaybox.h:47:7: note: previous use is here class DelayBoxClassifier; ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from packmime/packmime_HTTP.cc:46: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from packmime/packmime_HTTP.cc:46: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from packmime/packmime_HTTP.cc:47: ./tcp/tcp-full.h:215:7: warning: 'FullTcpAgent::connect' hides overloaded virtual function [-Woverloaded-virtual] void connect(); // do active open ^ ./common/agent.h:98:15: note: hidden overloaded virtual function 'Agent::connect' declared here: different number of parameters (1 vs 0) virtual void connect(nsaddr_t dst); ^ In file included from packmime/packmime_HTTP.cc:48: In file included from packmime/packmime_HTTP.h:49: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from packmime/packmime_HTTP.cc:48: In file included from packmime/packmime_HTTP.h:49: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from packmime/packmime_HTTP.cc:48: In file included from packmime/packmime_HTTP.h:49: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from packmime/packmime_HTTP.cc:48: In file included from packmime/packmime_HTTP.h:49: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from packmime/packmime_HTTP.cc:48: In file included from packmime/packmime_HTTP.h:49: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from packmime/packmime_HTTP.cc:48: In file included from packmime/packmime_HTTP.h:49: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ 9 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from packmime/packmime_HTTP_rng.cc:45: In file included from ./tools/rng.h:72: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from packmime/packmime_HTTP_rng.cc:45: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from packmime/packmime_OL.cc:56: In file included from packmime/packmime_OL.h:53: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from packmime/packmime_OL.cc:56: In file included from packmime/packmime_OL.h:54: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from packmime/packmime_OL.cc:56: In file included from packmime/packmime_OL.h:55: ./tools/trafgen.h:85:15: warning: 'TrafficGenerator::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init() {} ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from packmime/packmime_OL.cc:56: In file included from packmime/packmime_OL.h:55: ./tools/trafgen.h:90:15: warning: 'TrafficGenerator::recv' hides overloaded virtual function [-Woverloaded-virtual] virtual void recv() {} ^ ./apps/app.h:52:15: note: hidden overloaded virtual function 'Application::recv' declared here: different number of parameters (1 vs 0) virtual void recv(int nbytes); ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from packmime/packmime_OL_ranvar.cc:51: In file included from packmime/packmime_OL_ranvar.h:44: In file included from packmime/packmime_ranvar.h:45: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from packmime/packmime_OL_ranvar.cc:51: In file included from packmime/packmime_OL_ranvar.h:44: In file included from packmime/packmime_ranvar.h:45: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ 2 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from packmime/packmime_ranvar.cc:48: In file included from packmime/packmime_ranvar.h:45: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:41: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from packmime/packmime_ranvar.cc:48: In file included from packmime/packmime_ranvar.h:45: In file included from ./tools/ranvar.h:52: In file included from ./tools/random.h:42: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from packmime/packmime_ranvar.cc:48: packmime/packmime_ranvar.h:175:10: warning: private field 'loc_' is not used [-Wunused-private-field] double loc_; ^ packmime/packmime_ranvar.h:176:10: warning: private field 'scale2_' is not used [-Wunused-private-field] double scale2_; ^ 4 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tmix/tmix.cc:49: In file included from ./tcp/tcp-full.h:40: In file included from ./tcp/tcp.h:38: In file included from ./common/agent.h:40: In file included from ./common/connector.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tmix/tmix.cc:49: ./tcp/tcp-full.h:215:7: warning: 'FullTcpAgent::connect' hides overloaded virtual function [-Woverloaded-virtual] void connect(); // do active open ^ ./common/agent.h:98:15: note: hidden overloaded virtual function 'Agent::connect' declared here: different number of parameters (1 vs 0) virtual void connect(nsaddr_t dst); ^ In file included from tmix/tmix.cc:50: In file included from tmix/tmix.h:52: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tmix/tmix.cc:50: In file included from tmix/tmix.h:52: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tmix/tmix.cc:50: In file included from tmix/tmix.h:52: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tmix/tmix.cc:50: In file included from tmix/tmix.h:52: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tmix/tmix.cc:50: In file included from tmix/tmix.h:52: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from tmix/tmix.cc:50: In file included from tmix/tmix.h:52: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tmix/tmix.cc:50: In file included from tmix/tmix.h:52: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from tmix/tmix.cc:50: In file included from tmix/tmix.h:59: tmix/tmixAgent.h:99:17: warning: 'TmixOneWayAgent::getSink' hides overloaded virtual function [-Woverloaded-virtual] inline Agent* getSink() const { return sink; } ^ tmix/tmixAgent.h:65:25: note: hidden overloaded virtual function 'TmixAgent::getSink' declared here: different qualifiers (none vs const) virtual inline Agent* getSink() { return NULL; } ^ 10 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tmix/tmixAgent.cc:39: In file included from tmix/tmixAgent.h:45: In file included from tmix/tmix.h:50: In file included from ./common/timer-handler.h:54: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tmix/tmixAgent.cc:39: In file included from tmix/tmixAgent.h:45: In file included from tmix/tmix.h:52: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tmix/tmixAgent.cc:39: In file included from tmix/tmixAgent.h:45: In file included from tmix/tmix.h:52: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tmix/tmixAgent.cc:39: In file included from tmix/tmixAgent.h:45: In file included from tmix/tmix.h:52: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tmix/tmixAgent.cc:39: In file included from tmix/tmixAgent.h:45: In file included from tmix/tmix.h:52: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tmix/tmixAgent.cc:39: In file included from tmix/tmixAgent.h:45: In file included from tmix/tmix.h:52: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from tmix/tmixAgent.cc:39: In file included from tmix/tmixAgent.h:45: In file included from tmix/tmix.h:52: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tmix/tmixAgent.cc:39: In file included from tmix/tmixAgent.h:45: In file included from tmix/tmix.h:52: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from tmix/tmixAgent.cc:39: tmix/tmixAgent.h:99:17: warning: 'TmixOneWayAgent::getSink' hides overloaded virtual function [-Woverloaded-virtual] inline Agent* getSink() const { return sink; } ^ tmix/tmixAgent.h:65:25: note: hidden overloaded virtual function 'TmixAgent::getSink' declared here: different qualifiers (none vs const) virtual inline Agent* getSink() { return NULL; } ^ In file included from tmix/tmixAgent.cc:43: ./tcp/tcp-full.h:215:7: warning: 'FullTcpAgent::connect' hides overloaded virtual function [-Woverloaded-virtual] void connect(); // do active open ^ ./common/agent.h:98:15: note: hidden overloaded virtual function 'Agent::connect' declared here: different number of parameters (1 vs 0) virtual void connect(nsaddr_t dst); ^ In file included from tmix/tmixAgent.cc:44: In file included from ./diffusion/diff_sink.h:62: In file included from ./diffusion/diffusion.h:80: ./dsr/path.h:131:8: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] Path(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:131:8: note: did you mean class here? Path(struct hdr_sr *srh); ^~~~~~ class ./dsr/path.h:135:15: warning: struct 'hdr_sr' was previously declared as a class [-Wmismatched-tags] void fillSR(struct hdr_sr *srh); ^ ./dsr/hdr_sr.h:146:7: note: previous use is here class hdr_sr { ^ ./dsr/path.h:135:15: note: did you mean class here? void fillSR(struct hdr_sr *srh); ^~~~~~ class In file included from tmix/tmixAgent.cc:44: In file included from ./diffusion/diff_sink.h:62: ./diffusion/diffusion.h:204:8: warning: 'DiffusionAgent::trace' hides overloaded virtual function [-Woverloaded-virtual] void trace(char *fmt,...); ^ ./common/agent.h:143:15: note: hidden overloaded virtual function 'Agent::trace' declared here: type mismatch at 1st parameter ('TracedVar *' vs 'char *') virtual void trace(TracedVar *v); ^ 13 warnings generated. g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from tmix/tmix_delaybox.cc:40: In file included from tmix/tmix_delaybox.h:39: In file included from ./delaybox/delaybox.h:42: In file included from ./classifier/classifier.h:40: In file included from ./common/object.h:40: In file included from ./common/scheduler.h:40: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ In file included from tmix/tmix_delaybox.cc:40: In file included from tmix/tmix_delaybox.h:39: In file included from ./delaybox/delaybox.h:43: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:178:15: warning: 'Mac::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet* p); ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tmix/tmix_delaybox.cc:40: In file included from tmix/tmix_delaybox.h:39: In file included from ./delaybox/delaybox.h:43: In file included from ./common/node.h:57: In file included from ./mac/phy.h:62: ./mac/mac.h:179:15: warning: 'Mac::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendUp(Packet *p); ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tmix/tmix_delaybox.cc:40: In file included from tmix/tmix_delaybox.h:39: In file included from ./delaybox/delaybox.h:43: In file included from ./common/node.h:57: ./mac/phy.h:77:15: warning: 'Phy::sendDown' hides overloaded virtual function [-Woverloaded-virtual] virtual void sendDown(Packet *p)=0; ^ ./common/bi-connector.h:55:15: note: hidden overloaded virtual function 'BiConnector::sendDown' declared here: different number of parameters (2 vs 1) virtual void sendDown(Packet* p, Handler* h) ^ In file included from tmix/tmix_delaybox.cc:40: In file included from tmix/tmix_delaybox.h:39: In file included from ./delaybox/delaybox.h:43: In file included from ./common/node.h:57: ./mac/phy.h:79:14: warning: 'Phy::sendUp' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendUp(Packet *p)=0; ^ ./common/bi-connector.h:57:22: note: hidden overloaded virtual function 'BiConnector::sendUp' declared here: different number of parameters (2 vs 1) inline virtual void sendUp(Packet* p, Handler* h) ^ In file included from tmix/tmix_delaybox.cc:40: In file included from tmix/tmix_delaybox.h:39: In file included from ./delaybox/delaybox.h:43: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:48: In file included from ./trace/trace.h:44: ./trace/basetrace.h:90:15: warning: 'EventTrace::trace' hides overloaded virtual function [-Woverloaded-virtual] virtual void trace(); ^ /usr/include/tclcl/tclcl.h:175:15: note: hidden overloaded virtual function 'TclObject::trace' declared here: different number of parameters (1 vs 0) virtual void trace(TracedVar*); ^ In file included from tmix/tmix_delaybox.cc:40: In file included from tmix/tmix_delaybox.h:39: In file included from ./delaybox/delaybox.h:43: In file included from ./common/node.h:59: In file included from ./mobile/energy-model.h:49: ./tools/rng.h:115:7: warning: 'RNG::init' hides overloaded virtual function [-Woverloaded-virtual] void init(); ^ /usr/include/tclcl/tclcl.h:196:14: note: hidden overloaded virtual function 'TclObject::init' declared here: different number of parameters (2 vs 0) virtual int init(int /*argc*/, const char*const* /*argv*/) { ^ In file included from tmix/tmix_delaybox.cc:40: In file included from tmix/tmix_delaybox.h:39: In file included from ./delaybox/delaybox.h:43: In file included from ./common/node.h:61: In file included from ./routing/rtmodule.h:61: ./classifier/classifier-hash.h:70:7: warning: 'HashClassifier::set_table_size' hides overloaded virtual function [-Woverloaded-virtual] void set_table_size(int nn); ^ ./classifier/classifier.h:75:15: note: hidden overloaded virtual function 'Classifier::set_table_size' declared here: different number of parameters (2 vs 1) virtual void set_table_size(int level, int nn); ^ In file included from tmix/tmix_delaybox.cc:40: In file included from tmix/tmix_delaybox.h:39: ./delaybox/delaybox.h:113:9: warning: struct 'DelayBoxClassifier' was previously declared as a class [-Wmismatched-tags] friend struct DelayBoxClassifier; ^ ./delaybox/delaybox.h:47:7: note: previous use is here class DelayBoxClassifier; ^ ./delaybox/delaybox.h:132:9: warning: struct 'DelayBoxClassifier' was previously declared as a class [-Wmismatched-tags] friend struct DelayBoxClassifier; ^ ./delaybox/delaybox.h:47:7: note: previous use is here class DelayBoxClassifier; ^ In file included from tmix/tmix_delaybox.cc:40: tmix/tmix_delaybox.h:41:1: warning: class 'Tmix_DelayBoxClassifier' was previously declared as a struct [-Wmismatched-tags] class Tmix_DelayBoxClassifier; ^ ./delaybox/delaybox.h:133:16: note: previous use is here friend struct Tmix_DelayBoxClassifier; ^ In file included from tmix/tmix_delaybox.cc:40: tmix/tmix_delaybox.h:47:1: warning: 'Tmix_DelayBoxClassifier' defined as a class here but previously declared as a struct [-Wmismatched-tags] class Tmix_DelayBoxClassifier : public DelayBoxClassifier { ^ ./delaybox/delaybox.h:133:9: note: did you mean class here? friend struct Tmix_DelayBoxClassifier; ^~~~~~ class 12 warnings generated. rm -f gen/version.c /usr/bin/tclsh8.5 bin/string2c.tcl version_string < VERSION > gen/version.c gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 /usr/bin/tclsh8.5 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 g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/ptypes2tcl.cc:3: In file included from ./common/packet.h:43: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. g++ -Wl,-z,relro -Wl,-export-dynamic -o common/ptypes2tcl common/ptypes2tcl.o ./common/ptypes2tcl > gen/ptypes.cc g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from gen/ptypes.cc:167: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ 1 warning generated. gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/usr/include/tclcl -I/usr/include -I/usr/include/tcl -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/tcl8.5/tcl-private/generic -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./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 In file included from common/tclAppInit.cc:17: In file included from ./config.h:54: ./autoconf.h:95:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace CPP_NAMESPACE; ^ :18:23: note: expanded from here #define CPP_NAMESPACE std ^ common/tclAppInit.cc:240:26: error: declaration of 'globalMemTrace' has a different language linkage extern MemTrace *globalMemTrace; ^ common/tclAppInit.cc:26:11: note: previous definition is here MemTrace *globalMemTrace; ^ 1 warning and 1 error generated. make[1]: *** [common/tclAppInit.o] Error 1 make[1]: Leaving directory `/«BUILDDIR»/ns2-2.35+dfsg' dh_auto_build: make -j1 returned exit code 2 make: *** [build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20130715-1654 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 133340 Build-Time: 176 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 20 Job: ns2_2.35+dfsg-1 Machine Architecture: amd64 Package: ns2 Package-Time: 257 Source-Version: 2.35+dfsg-1 Space: 133340 Status: attempted Version: 2.35+dfsg-1clang1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20130715-1654 Build needed 00:04:17, 133340k disc space DC-Status: Failed 259.367633516s DC-Time-Estimation: 259.367633516 versus expected 2568 (r/m: 8.90100408901477 ; m: 259.367633516)