Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 658686 Details for
Bug 740654
net-analyzer/xprobe-0.3 - ../defines.h:27:15: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 132.87 KB, created by
Agostino Sarubbo
on 2020-09-06 07:35:29 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-09-06 07:35:29 UTC
Size:
132.87 KB
patch
obsolete
> * Package: net-analyzer/xprobe-0.3 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo-mirror/gentoo/commit/d10869331a6a044b23081053922b6c76a6eacd91 (Sat Sep 5 20:05:29 UTC 2020) >@@@@@ END @@@@@ > > > >emerge --info: >Portage 3.0.5 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r1, 5.4.0-1021-aws x86_64) >================================================================= >System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-gentoo-2.7 >KiB Mem: 64359960 total, 30996756 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Sat, 05 Sep 2020 20:05:28 +0000 >sh bash 5.0_p18 >ld GNU ld (Gentoo 2.34 p6) 2.34.0 >app-shells/bash: 5.0_p18::gentoo >dev-lang/perl: 5.30.3-r1::gentoo >dev-lang/python: 2.7.18-r1::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo >dev-util/cmake: 3.18.2::gentoo >sys-apps/baselayout: 2.7::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.20::gentoo >sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo >sys-devel/automake: 1.16.2::gentoo >sys-devel/binutils: 2.34-r2::gentoo >sys-devel/gcc: 10.2.0-r1::gentoo >sys-devel/gcc-config: 2.3.2::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) >sys-libs/glibc: 2.32-r1::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-jobs: 1 > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-max-age: 24 > sync-rsync-extra-opts: > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* GPL-2" >CBUILD="x86_64-pc-linux-gnu" >CC="x86_64-pc-linux-gnu-clang" >CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXX="x86_64-pc-linux-gnu-clang++" >CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >DISTDIR="/var/tmp/portage/net-analyzer/xprobe-0.3/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" >ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" >FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="C.UTF-8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" >MAKEOPTS="-j16 V=1" >PKGDIR="/root/.packages" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" >Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS > > > >>>> Unpacking source... >>>> Unpacking xprobe2-0.3.tar.gz to /var/tmp/portage/net-analyzer/xprobe-0.3/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/xprobe-0.3/work >>>> Preparing source in /var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3 ... > * Applying xprobe-0.3-gcc43.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3 ... > * econf: updating xprobe2-0.3/libs-external/USI++/src/cfgaux/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating xprobe2-0.3/libs-external/USI++/src/cfgaux/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating xprobe2-0.3/cfg-scripts/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating xprobe2-0.3/cfg-scripts/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-clang >checking for C compiler default output file name... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-clang accepts -g... yes >checking for x86_64-pc-linux-gnu-clang option to accept ANSI C... none needed >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-clang++ >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-pc-linux-gnu-clang++ accepts -g... yes >checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-clang++ -E >checking for egrep... 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 for strings.h... (cached) yes >checking for string.h... (cached) yes >checking for stdlib.h... (cached) yes >checking for unistd.h... (cached) yes >checking glib.h usability... no >checking glib.h presence... no >checking for glib.h... no >checking dlfcn.h usability... yes >checking dlfcn.h presence... yes >checking for dlfcn.h... yes >checking if sa_len is in struct sockaddr... no >checking for pcap_datalink in -lpcap... yes >checking for dlfcn.h... (cached) yes >checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c >checking whether make sets $(MAKE)... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/defines.h >config.status: creating src/Makefile >config.status: creating src/xplib/Makefile >config.status: creating src/xpmodules/Makefile >config.status: creating src/xpmodules/alive_probe/Makefile >config.status: creating src/xpmodules/alive_probe/ttl_calc/Makefile >config.status: creating src/xpmodules/alive_probe/portscanner/Makefile >config.status: creating src/xpmodules/os_probe/Makefile >config.status: creating src/xpmodules/os_probe/icmp_echo_id/Makefile >config.status: creating src/xpmodules/os_probe/icmp_timestamp/Makefile >config.status: creating src/xpmodules/os_probe/icmp_addrmask/Makefile >config.status: creating src/xpmodules/os_probe/icmp_inforeq/Makefile >config.status: creating src/xpmodules/os_probe/icmp_port_unreach/Makefile >config.status: creating src/xpmodules/os_probe/tcp_handshake/Makefile >config.status: creating src/xpmodules/os_probe/tcp_rst/Makefile >config.status: creating src/xpmodules/os_probe/smb/Makefile >config.status: creating src/xpmodules/os_probe/snmp/Makefile >config.status: creating src/config.h >configure: configuring in libs-external/USI++/src >configure: running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' 'CC=x86_64-pc-linux-gnu-clang' 'CFLAGS=-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color' 'CXXFLAGS=-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color' 'CXX=x86_64-pc-linux-gnu-clang++' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' --cache-file=/dev/null --srcdir=. >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-clang++ >checking for C++ compiler default output file name... a.out >checking whether the C++ compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-pc-linux-gnu-clang++ accepts -g... yes >checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib >checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-clang >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-clang accepts -g... yes >checking for x86_64-pc-linux-gnu-clang option to accept ANSI C... none needed >checking for main in -lpcap... yes >checking for pcap_setnonblock in -lpcap... yes >checking for socket in -lsocket... no >checking for inet_ntoa in -lnsl... yes >checking how to run the C preprocessor... x86_64-pc-linux-gnu-clang -E >checking for egrep... 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 fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking sys/ioctl.h usability... yes >checking sys/ioctl.h presence... yes >checking for sys/ioctl.h... yes >checking sys/time.h usability... yes >checking sys/time.h presence... yes >checking for sys/time.h... yes >checking for unistd.h... (cached) yes >checking linux/filter.h usability... yes >checking linux/filter.h presence... yes >checking for linux/filter.h... yes >checking for an ANSI C-conforming const... yes >checking for size_t... yes >checking whether time.h and sys/time.h may both be included... yes >checking whether byte ordering is bigendian... no >configure: creating ./config.status >config.status: creating Makefile >config.status: creating config.h >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3 ... >make -j16 V=1 >cd libs-external/USI++/src; make >make[1]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/libs-external/USI++/src' >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIC -I/usr/include/pcap -I. -Wall -c -O2 icmp.cc >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIC -I/usr/include/pcap -I. -Wall -c -O2 datalink.cc >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIC -I/usr/include/pcap -I. -Wall -c -O2 ip.cc >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIC -I/usr/include/pcap -I. -Wall -c -O2 misc.cc >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIC -I/usr/include/pcap -I. -Wall -c -O2 udp.cc >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIC -I/usr/include/pcap -I. -Wall -c -O2 tcp.cc >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIC -I/usr/include/pcap -I. -Wall -c -O2 TX_IP.cc >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIC -I/usr/include/pcap -I. -Wall -c -O2 Layer2.cc >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIC -I/usr/include/pcap -I. -Wall -c -O2 arp.cc >In file included from tcp.cc:14: >In file included from ./usi++/tcp.h:17: >./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual > function [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >./usi++/Layer2.h:44:14: note: hidden overloaded virtual function > 'usipp::Layer2::sendpack' declared here: different number of parameters > (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from tcp.cc:14: >In file included from ./usi++/tcp.h:17: >./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual > function [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >./usi++/Layer2.h:44:14: note: hidden overloaded virtual function > 'usipp::Layer2::sendpack' declared here: different number of parameters > (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from udp.cc:13: >In file included from ./usi++/udp.h:17: >./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual > function [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >./usi++/Layer2.h:44:14: note: hidden overloaded virtual function > 'usipp::Layer2::sendpack' declared here: different number of parameters > (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from In file included from udp.ccip.cc::1313: >: >In file included from ./usi++/udp.h./usi++/ip.h::17182: >:./usi++/ip.h14::185 :warning14: : 'usipp::IP::sendpack'warning : hides'usipp::IP::sendpack' overloadedhides virtualoverloaded > virtualfunction > [-Woverloaded-virtual]function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >./usi++/Layer2.h:44:14: note virtual int sendpack(void *payload, size_t paylen);: >hidden ^ >overloaded virtual function > 'usipp::Layer2::sendpack' declared here: ./usi++/Layer2.hdifferent: 44number: 14of: parametersnote >: hidden(3 vs 1) >overloaded virtual function > 'usipp::Layer2::sendpack' declared virtual int sendpack(void *buf, size_t len, struct sockaddr *);here: > ^different > number of parameters > (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from ip.cc:13: >./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual > function [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >./usi++/Layer2.h:44:14: note: hidden overloaded virtual function > 'usipp::Layer2::sendpack' declared here: different number of parameters > (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >TX_IP.cc:37:2: warning: misleading indentation; statement is not part of the > previous 'if' [-Wmisleading-indentation] > int r; > ^ >TX_IP.cc:33:5: note: previous statement is here > if (tx_timeout != false) > ^ >misc.cc:21:3: warning: 'register' storage class specifier is deprecated and > incompatible with C++17 [-Wdeprecated-register] > register long sum; /* assumes long == 32 bits */ > ^~~~~~~~~ >misc.cc:23:3: warning: 'register' storage class specifier is deprecated and > incompatible with C++17 [-Wdeprecated-register] > register u_short answer; /* assumes u_short == 16 bits */ > ^~~~~~~~~ >udp.cc:217:24: warning: ISO C++11 does not allow conversion from string literal > to 'char *' [-Wwritable-strings] > r = Layer2::setfilter("udp"); > ^ >tcp.cc:321:24: warning: ISO C++11 does not allow conversion from string literal > to 'char *' [-Wwritable-strings] > r = Layer2::setfilter("tcp"); > ^ >datalink.cc:274:12: warning: explicitly assigning value of variable of type > 'size_t' (aka 'unsigned long') to itself [-Wself-assign] > d_snaplen = d_snaplen; > ~~~~~~~~~ ^ ~~~~~~~~~ >1 warning generated. >3 warnings generated. >2 warnings generated. >1 warning generated. >In file included from icmp.cc:14: >In file included from ./usi++/icmp.h:16: >./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual > function [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >./usi++/Layer2.h:44:14: note: hidden overloaded virtual function > 'usipp::Layer2::sendpack' declared here: different number of parameters > (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from icmp.cc:14: >In file included from ./usi++/icmp.h:16: >./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual > function [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >./usi++/Layer2.h:44:14: note: hidden overloaded virtual function > 'usipp::Layer2::sendpack' declared here: different number of parameters > (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from arp.cc:13: >./usi++/arp.h:66:21: warning: 'usipp::ARP::sniffpack' hides overloaded virtual > function [-Woverloaded-virtual] > virtual int sniffpack(); > ^ >./usi++/Layer2.h:41:14: note: hidden overloaded virtual function > 'usipp::Layer2::sniffpack' declared here: different number of parameters > (2 vs 0) > virtual int sniffpack(void *, size_t); > ^ >3 warnings generated. >ip.cc:559:24: warning: ISO C++11 does not allow conversion from string literal > to 'char *' [-Wwritable-strings] > r = Layer2::setfilter("ip"); > ^ >1 warning generated. >icmp.cc:296:24: warning: ISO C++11 does not allow conversion from string literal > to 'char *' [-Wwritable-strings] > r = Layer2::setfilter("icmp"); > ^ >3 warnings generated. >3 warnings generated. >ar cr libusi++.a *.o >llvm-ranlib libusi++.a >rm -f *.o >make[1]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/libs-external/USI++/src' >cd src; make >make[1]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src' >Makefile:60: warning: ignoring prerequisites on suffix rule definition >Makefile:63: warning: ignoring prerequisites on suffix rule definition >cd xplib; make >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ./ -I ../libs-external/USI++/src/ cmd_opts.cc >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ./ -I ../libs-external/USI++/src/ config_set.cc >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ./ -I ../libs-external/USI++/src/ interface.cc >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ./ -I ../libs-external/USI++/src/ interface_con.cc >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ./ -I ../libs-external/USI++/src/ log.cc >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ./ -I ../libs-external/USI++/src/ os_matrix.cc >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ./ -I ../libs-external/USI++/src/ scan_engine.cc >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ./ -I ../libs-external/USI++/src/ target.cc >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ./ -I ../libs-external/USI++/src/ targets_list.cc >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ./ -I ../libs-external/USI++/src/ xprobe.cc >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ./ -I ../libs-external/USI++/src/ xprobe_module_hdlr.cc >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ./ -I ../libs-external/USI++/src/ xprobe_module_param.cc >cd xpmodules; make >make[2]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xplib' >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ../ xp_get_interface.cc >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ../ xp_get_iface_addr.cc >x86_64-pc-linux-gnu-clang++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I ../ xp_get_random_data.cc >make[2]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules' >Makefile:53: warning: ignoring prerequisites on suffix rule definition >cd alive_probe; make >make[3]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/alive_probe' >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c icmp_ping.cc >In file included from xp_get_interface.cc:26: >In file included from ./xp_get_interface.h:28: >In file included from ./xplib.h:25: >In file included from ../xprobe.h:141: >../defines.h:27:15: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from cmd_opts.cc:23: >In file included from ./xprobe.h:141: >./defines.h:27:15: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from config_set.cc:In file included from 23: >In file included from ./xprobe.hos_matrix.cc::14122: >./defines.h: >In file included from :27./xprobe.h::15141: : >./defines.herror: :27invalid: suffix15: on error literal;: C++11invalid requires suffix a on space literal; > C++11between requiresliteral aand spaceidentifier > [-Wreserved-user-defined-literal] >between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >"\nXprobe2 v."VERSION\ > ^ > >In file included from scan_engine.cc:23: >In file included from ./xprobe.h:141: >./defines.h:27:15: error: invalid suffix on literal; C++11 requires a space > between literalIn file included from and identifier log.cc[-Wreserved-user-defined-literal]:1 >: >In file included from ./xprobe.h:141: >./defines.h:"\nXprobe2 v."VERSION\27 > ^:15 > : > error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from interface.cc:23: >In file included from ./xprobe.h:141: >./defines.h:27:15: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from target.cc:23: >In file included from ./xprobe.h:141: >./defines.h:27:15: error: invalid In file included from suffix on xprobe.cc:literal; C++1122: > requiresIn file included from ./xprobe.h a:141 space: >./defines.h > :27between :15literal : and error: identifierinvalid [-Wreserved-user-defined-literal]suffix >on literal; C++11 requires a"\nXprobe2 v."VERSION\ > space ^ > > between >literal and identifier [-Wreserved-user-defined-literal] >In file included from xprobe_module_hdlr.cc:"\nXprobe2 v."VERSION\22: > >In file included from ./xprobe.h ^ >: >141: >./defines.h:27:15: error: invalid suffix on literal;In file included from C++11 requires targets_list.cca:23 space >: >In file included from between./xprobe.h literal:141 and: >./defines.h identifier:27 [-Wreserved-user-defined-literal]: >15: error: invalid suffix"\nXprobe2 v."VERSION\ on > literal; ^ > C++11 > requires a space > between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from xprobe_module_param.cc:22: >In file included from ./xprobe.h:141: >./defines.h:27:15: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from interface_con.cc:23: >In file included from ./xprobe.h:141: >./defines.h:In file included from xp_get_iface_addr.cc:26: >In file included from ./xp_get_iface_addr.h:28: >In file included from ./xplib.h:25: >In file included from ../xprobe.h:141: >../defines.h:27:15: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >27:15: error: invalid suffixIn file included from xp_get_random_data.cc:23: >In file included from ./xp_get_random_data.h:25: >In file included from ./xplib.h:25: >In file included from ../xprobe.h:141: >../defines.h:27:15: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > > on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from icmp_ping.cc:24: >In file included from ../../xprobe.h:141: >../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from xprobe_module_param.cc:23: >In file included from ./xprobe_module_param.h:32: >In file included from ../libs-external/USI++/src/usi++/usi++.h:23: >../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual > function 'usipp::Layer2::sendpack' declared here: different number of > parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from xprobe_module_param.cc:23: >In file included from ./xprobe_module_param.h:32: >In file included from ../libs-external/USI++/src/usi++/usi++.h:23: >../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual > function 'usipp::Layer2::sendpack' declared here: different number of > parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >xp_get_interface.cc:102:13: warning: cast from 'struct sockaddr *' to > 'struct sockaddr_in *' increases required alignment from 2 to 4 > [-Wcast-align] > if (((struct sockaddr_in *)&ifrtemp.ifr_addr)->sin_addr.s_addr > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from os_matrix.cc:23: >./os_matrix.h:50:22: warning: address of stack memory associated with local > variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from xp_get_iface_addr.cc:26: >In file included from ./xp_get_iface_addr.h:28: >In file included from ./xplib.h:31: >./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header > guard here, followed by #define of a different macro [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you > mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >xp_get_iface_addr.cc:54:15: warning: cast from 'struct sockaddr *' to > 'struct sockaddr_in *' increases required alignment from 2 to 4 > [-Wcast-align] > sinaddr = (struct sockaddr_in *) &ifr.ifr_addr; > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from xp_get_random_data.cc:23: >In file included from ./xp_get_random_data.h:25: >In file included from ./xplib.h:31: >./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header > guard here, followed by #define of a different macro [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you > mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >1 error generated. >In file included from config_set.cc:26: >./os_matrix.h:50:22: warning: address of stack memory associated with local > variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >make[1]: *** [Makefile:63: interface.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c tcp_ping.cc >1 warning and 1 error generated. >make[2]: *** [Makefile:54: xp_get_interface.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c udp_ping.cc >2 warnings and 1 error generated. >1 warning and 1 error generated. >make[2]: *** [Makefile:54: xp_get_iface_addr.o] Error 1 >cd ttl_calc; make >In file included from icmp_ping.cc:25: >In file included from ../../../libs-external/USI++/usi++/usi++.h:23make[2]: *** [Makefile:54: xp_get_random_data.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xplib' >: >../../../libs-external/USI++/usi++/ip.h:182make[1]: *** [Makefile:57: lib] Error 2 >cd portscanner; make >:14:In file included from cmd_opts.cc:26: >In file included from ./xprobe_module_hdlr.h:26: >In file included from ./xprobe_module.h:27: >./os_matrix.h:50:22: warning: address of stack memory associated with local > variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ > warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] >In file included from target.cc:26: >In file included from ./xprobe_module_hdlr.h:26: >In file included from ./xprobe_module.h:27: >./os_matrix.h:50:22: warning: address of stack memory associated with local > variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../libs-external/USI++/usi++/Layer2.h:44:In file included from In file included from log.ccxprobe_module_hdlr.cc::523: >: >In file included from In file included from ./xprobe_module.h./xprobe_module_hdlr.h::2726: >: >./os_matrix.hIn file included from :./xprobe_module.h50::2722: >:./os_matrix.h :warning50: :address22 :of warningstack: addressmemory ofassociated stackwith memorylocal >associated variablewith 's'local >returned variable[-Wreturn-stack-address] >'s' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ > return (s.c_str()); > ^ >14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared make[4]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/alive_probe/ttl_calc' >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ ttl_calc.cc >here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from icmp_ping.cc:25: >In file included from ../../../libs-external/USI++/usi++/usi++.h:23: >../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from cmd_opts.cc:26: >In file included from ./xprobe_module_hdlr.h:26: >In file included from ./xprobe_module.h:28: >In file included from ../libs-external/USI++/src/usi++/usi++.h:23: >../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual > function 'usipp::Layer2::sendpack' declared here: different number of > parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from cmd_opts.cc:26: >In file included from ./xprobe_module_hdlr.h:26: >In file included from ./xprobe_module.h:28: >In file included from ../libs-external/USI++/src/usi++/usi++.h:23: >../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual > function 'usipp::Layer2::sendpack' declared here: different number of > parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from icmp_ping.cc:29: >In file included from ../../xplib/xplib.h:31: >../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a > header guard here, followed by #define of a different macro > [-Wheader-guard] >In file included from target.cc:26: >In file included from ./xprobe_module_hdlr.h:26: >In file included from ./xprobe_module.h:28: >In file included from ../libs-external/USI++/src/usi++/usi++.h:23: >../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual > function 'usipp::Layer2::sendpack' declared here: different number of > parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from target.cc:26: >In file included from ./xprobe_module_hdlr.h:26: >In file included from ./xprobe_module.h:28: >In file included from ../libs-external/USI++/src/usi++/usi++.h:23: >../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual > function 'usipp::Layer2::sendpack' declared here: different number of > parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from In file included from log.cc#ifndef XP_GET_INTERFACE_Hxprobe_module_hdlr.cc::5 >23: >: >In file included from In file included from ./xprobe_module.h./xprobe_module_hdlr.h::2826: >: >In file included from In file included from ../libs-external/USI++/src/usi++/usi++.h./xprobe_module.h::2328: >: >../libs-external/USI++/src/usi++/ip.hIn file included from :../libs-external/USI++/src/usi++/usi++.h182::2314: >:../libs-external/USI++/src/usi++/ip.h :warning182: :14'usipp::IP::sendpack': > warninghides: 'usipp::IP::sendpack'overloaded > virtualhides functionoverloaded [-Woverloaded-virtual]virtual > function [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ > virtual int sendpack(void *payload, size_t paylen); > ^ >../libs-external/USI++/src/usi++/Layer2.h:44../libs-external/USI++/src/usi++/Layer2.h::1444:: 14note:: hiddennote : overloadedhidden virtualoverloaded > virtualfunction > 'usipp::Layer2::sendpack'function declared'usipp::Layer2::sendpack' here:declared differenthere: numberdifferent ofnumber > ofparameters > (3 vs 2)parameters > (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^In file included from >log.cc:In file included from 5xprobe_module_hdlr.cc: >:In file included from 23./xprobe_module.h: >:In file included from 28./xprobe_module_hdlr.h: >:In file included from 26../libs-external/USI++/src/usi++/usi++.h: >:In file included from 23./xprobe_module.h: >:../libs-external/USI++/src/usi++/ip.h28:: >185In file included from :../libs-external/USI++/src/usi++/usi++.h14::23 : >warning../libs-external/USI++/src/usi++/ip.h: :'usipp::IP::sendpack'185 >: 14hides: overloadedwarning : virtual'usipp::IP::sendpack' >function hides[-Woverloaded-virtual] >overloaded virtual function virtual int sendpack(char *pay_string);[-Woverloaded-virtual] > > ^ >../libs-external/USI++/src/usi++/Layer2.h virtual int sendpack(char *pay_string);: >44 ^: >14: ../libs-external/USI++/src/usi++/Layer2.hnote:: 44hidden: 14overloadedIn file included from : xprobe_module_param.cc virtual:note >23: : >hiddenfunctionIn file included from ./xprobe_module_param.hoverloaded'usipp::Layer2::sendpack': 34 virtual: >declared >./os_matrix.h :here:function50 :different'usipp::Layer2::sendpack' 22 number:declared ofwarninghere: >: addressdifferentparameters numberof(3 vs 1) >ofstack > memoryparameters associated(3 vs 1) >with virtual int sendpack(void *buf, size_t len, struct sockaddr *);local > > ^ virtual int sendpack(void *buf, size_t len, struct sockaddr *); > >variable ^ >'s' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >make[4]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/alive_probe/portscanner' > ^~~~~~~~~~~~~~~~~~x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ portscanner.cc > >../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; > did you mean 'XP_GET_INTERFACE_H'? >In file included from os_matrix.cc:25: >In file included from ./xprobe_module_hdlr.h:26: >In file included from ./xprobe_module.h:28: >In file included from ../libs-external/USI++/src/usi++/usi++.h:23: >../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual > function 'usipp::Layer2::sendpack' declared here: different number of > parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from os_matrix.cc:25: >In file included from ./xprobe_module_hdlr.h:26: >In file included from ./xprobe_module.h:28: >In file included from ../libs-external/USI++/src/usi++/usi++.h:23: >../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual > function 'usipp::Layer2::sendpack' declared here: different number of > parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >In file included from xprobe_module_param.cc:25: >In file included from ./xplib/xplib.h:31: >./xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used In file included from asconfig_set.cc :a27 >: > In file included from header./xprobe_module_hdlr.h :guard26 : >here,In file included from ./xprobe_module.hfollowed: 28by: > In file included from #define../libs-external/USI++/src/usi++/usi++.h :of23 : >a../libs-external/USI++/src/usi++/ip.h :different182 :macro14 >: [-Wheader-guard]warning >: 'usipp::IP::sendpack' >#ifndef XP_GET_INTERFACE_H >hides ^~~~~~~~~~~~~~~~~~ >overloaded virtual function [-Woverloaded-virtual]log.cc >:245:11: warning: ISO virtual int sendpack(void *payload, size_t paylen);C++11 > ^does > not allow conversion ../libs-external/USI++/src/usi++/Layer2.hfrom: 44string: 14literal: > noteto: hidden'char *' overloaded[-Wwritable-strings] >./xplib/xp_get_interface.hvirtual: >27 state="closed";:function >9 ^:'usipp::Layer2::sendpack' > notedeclared: 'XP_GET_INETRFACE_H'here: isdifferent definedlog.ccnumber : here;248of : >did11 >:parameters youwarning(3 vs 2) : >meanISO 'XP_GET_INTERFACE_H'?C++11 > does virtual int sendpack(void *buf, size_t len, struct sockaddr *); >not ^#define XP_GET_INETRFACE_H > >allow ^~~~~~~~~~~~~~~~~~ >In file included from conversion XP_GET_INTERFACE_Hconfig_set.cc >:from27 : >stringIn file included from ./xprobe_module_hdlr.hliteral: >26 : >toIn file included from ./xprobe_module.h'char *': 28[-Wwritable-strings]: > >In file included from ../libs-external/USI++/src/usi++/usi++.h:23 state="open";: > >../libs-external/USI++/src/usi++/ip.h ^: >185:14: warning: 'usipp::IP::sendpack' > hides overloaded log.ccvirtual: 251function: 11[-Woverloaded-virtual]: > warning: ISO C++11 virtual int sendpack(char *pay_string); >does ^ >not allow../libs-external/USI++/src/usi++/Layer2.h :conversion44 :from14 :string noteliteral: >hidden tooverloaded 'char *'virtual >[-Wwritable-strings] >function 'usipp::Layer2::sendpack' declared state="filtered"; >here: ^ >different number of > parameters (3 vs 1) >log.cc:254:11: warning: virtual int sendpack(void *buf, size_t len, struct sockaddr *);ISO > ^C++11 > does not allow conversion from string literal > to 'char *' [-Wwritable-strings] > state="unknown"; > ^ >In file included from cmd_opts.cc:27: >In file included from ./xplib/xplib.h:31: >./xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a > header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >In file included from scan_engine.cc:27: >In file included from ./xprobe_module_hdlr.h:26: >In file included from ./xprobe_module.h./xplib/xp_get_interface.h::2727: >:./os_matrix.h9::50 :note22: :'XP_GET_INETRFACE_H' warningis: addressdefined ofhere; stackdid >memory youassociated meanwith 'XP_GET_INTERFACE_H'?local > > variable 's' #define XP_GET_INETRFACE_Hreturned > ^~~~~~~~~~~~~~~~~~[-Wreturn-stack-address] > > XP_GET_INTERFACE_H > return (s.c_str()); > ^ >In file included from target.cc:29: >In file included from ./xplib/xplib.h:31: >./xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a > header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >./xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did > you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >In file included from xprobe.cc:26: >In file included from ./xprobe_module.h:27: >./os_matrix.h:50:22: warning: address of stack memory associated with local > variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from xprobe_module_hdlr.cc:26: >./xpmodules/static_modules.h:50:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > {"ping:icmp_ping", icmp_ping_mod_init}, > ^ >./xpmodules/static_modules.h:51:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > {"ping:tcp_ping", tcp_ping_mod_init}, > ^ >./xpmodules/static_modules.h:52:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > {"ping:udp_ping", udp_ping_mod_init }, > ^ >./xpmodules/static_modules.h:53:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > {"infogather:ttl_calc",ttl_mod_init }, > ^ >./xpmodules/static_modules.h:54:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > {"infogather:portscan", portscan_mod_init}, > ^ >./xpmodules/static_modules.h:55:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > {"fingerprint:icmp_echo", icmp_echo_id_mod_init}, > ^ >./xpmodules/static_modules.h:56:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > {"fingerprint:icmp_tstamp", icmp_timestamp_mod_init}, > ^ >./xpmodules/static_modules.h:57:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > {"fingerprint:icmp_amask", icmp_addrmask_mod_init}, > ^ >./xpmodules/static_modules.h:58:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > {"fingerprint:icmp_info", icmp_inforeq_mod_init }, > ^ >./xpmodules/static_modules.h:59:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] >cmd_opts.cc {"fingerprint:icmp_port_unreach", icmp_port_unreach_init},: >209 ^: >2: warning: ./xpmodules/static_modules.hmisleading: 60indentation;: 3statement: iswarning : notISO partC++11 ofdoes thenot > allowprevious conversion'while' > [-Wmisleading-indentation]from > string literal to if (xml && !logfile) {'char *' > ^[-Wwritable-strings] > >cmd_opts.cc:83:5: {"fingerprint:tcp_hshake", tcp_handshake_mod_init}, >note ^: >previous statement is here >./xpmodules/static_modules.h:61:3: warning while((c = getopt(argc, argv, "vi:p:ho:t:d:c:rD:m:M:PT:U:s:fLFXBA")) !=EOF) : >ISO ^ >C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > {"fingerprint:tcp_rst", tcp_rst_mod_init}, > ^ >./xpmodules/static_modules.h:62:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > {"fingerprint:smb", smb_mod_init}, > ^ >cmd_opts.cc:132./xpmodules/static_modules.h::5663:: 3warning:: resultwarning : ofISO comparisonC++11 ofdoes constantnot > allow9223372036854775807 conversionwith > expressionfrom ofstring typeliteral 'int'to is'char *' always[-Wwritable-strings] >false > [-Wtautological-constant-out-of-range-compare] > {"fingerprint:snmp", snmp_mod_init}, > ^ > ...if (errno == ERANGE && (mod_to_disable == LONG_MAX || mod_to_disable == ... > ~~~~~~~~~~~~~~ ^ ~~~~~~~~ >cmd_opts.cc:132:86: warning: result of comparison of constant > -9223372036854775808 with expression of type 'int' is always false > [-Wtautological-constant-out-of-range-compare] > ...ERANGE && (mod_to_disable == LONG_MAX || mod_to_disable == LONG_MIN)) { > ~~~~~~~~~~~~~~ ^ ~~~~~~~~ >cmd_opts.cc:154:55: warning: result of comparison of constant > 9223372036854775807 with expression of type 'int' is always false > [-Wtautological-constant-out-of-range-compare] > if (errno == ERANGE && (mod_to_enable == LONG_MAX || mod... > ~~~~~~~~~~~~~ ^ ~~~~~~~~ >cmd_opts.cc:154:84: warning: result of comparison of constant > -9223372036854775808 with expression of type 'int' is always false > [-Wtautological-constant-out-of-range-compare] > ...== ERANGE && (mod_to_enable == LONG_MAX || mod_to_enable == LONG_MIN)) { > ~~~~~~~~~~~~~ ^ ~~~~~~~~ >cmd_opts.cc:167:54: warning: result of comparison of constant > 9223372036854775807 with expression of type 'int' is always false > [-Wtautological-constant-out-of-range-compare] > if (errno == ERANGE && (numofmatches == LONG_MAX || numo... > ~~~~~~~~~~~~ ^ ~~~~~~~~ >cmd_opts.cc:167:82: warning: result of comparison of constant > -9223372036854775808 with expression of type 'int' is always false > [-Wtautological-constant-out-of-range-compare] > ...== ERANGE && (numofmatches == LONG_MAX || numofmatches == LONG_MIN)) { > ~~~~~~~~~~~~ ^ ~~~~~~~~ >In file included from scan_engine.cc:27: >In file included from ./xprobe_module_hdlr.h:26: >In file included from ./xprobe_module.h:28: >In file included from ../libs-external/USI++/src/usi++/usi++.h:23: >../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual > function 'usipp::Layer2::sendpack' declared here: different number of > parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from scan_engine.cc:27: >In file included from ./xprobe_module_hdlr.h:26: >In file included from ./xprobe_module.h:28: >In file included from ../libs-external/USI++/src/usi++/usi++.h:23: >../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual > function 'usipp::Layer2::sendpack' declared here: different number of > parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >target.cc:118:2: warning: misleading indentation; statement is not part of the > previous 'if' [-Wmisleading-indentation] > if (counter == htonl(addr)) { // network number > ^ >target.cc:116:5: note: previous statement is here > if (counter > ntohl(addr|mask^0xffffffff)) > ^ >In file included from xprobe.cc:26: >In file included from ./xprobe_module.h:28: >In file included from ../libs-external/USI++/src/usi++/usi++.h:23: >../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual > function 'usipp::Layer2::sendpack' declared here: different number of > parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from xprobe.cc:26: >In file included from ./xprobe_module.h:28: >In file included from ../libs-external/USI++/src/usi++/usi++.h:23: >../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual > function 'usipp::Layer2::sendpack' declared here: different number of > parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >config_set.cc:63:11: warning: result of comparison of constant > 18446744073709551615 with expression of type 'unsigned int' is always true > [-Wtautological-constant-out-of-range-compare] > if (p != string::npos) > ~ ^ ~~~~~~~~~~~~ >config_set.cc:67:11: warning: result of comparison of constant > 18446744073709551615 with expression of type 'unsigned int' is always true > [-Wtautological-constant-out-of-range-compare] > if (p != string::npos) > ~ ^ ~~~~~~~~~~~~ >config_set.cc:92:11: warning: result of comparison of constant > 18446744073709551615 with expression of type 'unsigned int' is always true > [-Wtautological-constant-out-of-range-compare] > if (p != string::npos) > ~ ^ ~~~~~~~~~~~~ >config_set.cc:101:11: warning: result of comparison of constant > 18446744073709551615 with expression of type 'unsigned int' is always true > [-Wtautological-constant-out-of-range-compare] > if (p != string::npos) > ~ ^ ~~~~~~~~~~~~ >config_set.cc:112:11: warning: result of comparison of constant > 18446744073709551615 with expression of type 'unsigned int' is always true > [-Wtautological-constant-out-of-range-compare] > if (p != string::npos) { > ~ ^ ~~~~~~~~~~~~ >xprobe_module_param.cc:50:37: warning: '&&' within '||' > [-Wlogical-op-parentheses] > param != 0 && (*sig_i).second.low == 1) { > ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >xprobe_module_param.cc:50:37: note: place parentheses around the '&&' expression > to silence this warning > param != 0 && (*sig_i).second.low == 1) { > ^ > ( ) >cmd_opts.cc:326:27: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > default_config_file = DEFAULT_CONFIG; > ^ >./defines.h:35:24: note: expanded from macro 'DEFAULT_CONFIG' >#define DEFAULT_CONFIG "/etc/xprobe2/xprobe2.conf" > ^ >In file included from tcp_ping.cc:24: >In file included from ../../xprobe.h:141: >../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from icmp_ping.cc:30: >In file included from In file included from udp_ping.cc:24../../xprobe_module.h: >In file included from ../../xprobe.h:141: >../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a space > between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >:27: >../../os_matrix.h:50:22: warning: address of stack memory associated with local > variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from ttl_calc.cc:1: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >7 warnings1 and error1 generated error. > generated. >make[1]: *** [Makefile:63: interface_con.o] Error 1 >cd os_probe; make >make[1]: *** [Makefile:63: log.o] Error 1 >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ build_DNS_reply.cc >In file included from portscanner.cc:23: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >make[3]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe' >cd icmp_port_unreach; make >make[4]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach' >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ icmp_port_unreach.cc >3 warnings and 1 error generated. >make[1]: *** [Makefile:63: scan_engine.o] Error 1 >cd icmp_echo_id; make >1 error generated. >8 warnings and 1 error generated. >5 warnings and 1 error generated. >make[1]: *** [Makefile:63: targets_list.o] Error 1 >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ build_DNS_reply.cc >make[1]: *** [Makefile:63: config_set.o] Error 1 >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ getrandom.cc >make[4]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/icmp_echo_id' >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c icmp_echo_id.cc >make[1]: *** [Makefile:63: xprobe_module_param.o] Error 1 >cd icmp_timestamp; make >3 warnings and 1 error generated. >12 warnings and 1 error generated. >make[1]: *** [Makefile:63: xprobe.o] Error 1 >cd icmp_inforeq; make >make[1]: *** [Makefile:63: cmd_opts.o] Error 1 >cd icmp_addrmask; make >make[4]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/icmp_timestamp' >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_timestamp.cc >make[4]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/icmp_inforeq' >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_inforeq.cc >make[4]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/icmp_addrmask' >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_addrmask.cc >3 warnings and 1 error generated. >17 warnings and 1 error generated. >make[1]: *** [Makefile:63: os_matrix.o] Error 1 >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ getrandom.cc >make[1]: *** [Makefile:63: xprobe_module_hdlr.o] Error 1 >cd tcp_handshake; make >make[4]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/tcp_handshake' >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c tcp_handshake.cc >5 warnings and 1 error generated. >4 warnings and 1 error generated. >make[1]: *** [Makefile:63: target.o] Error 1 >cd tcp_rst; make >make[3]: *** [Makefile:49: icmp_ping.o] Error 1 >cd smb; make >make[3]: *** Waiting for unfinished jobs.... >In file included from build_DNS_reply.cc:1: >In file included from ./ttl_calc.h:26: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >make[4]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/tcp_rst' >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c tcp_rst.cc >make[4]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/smb' >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smbutil.cc >In file included from icmp_port_unreach.cc:1: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from build_DNS_reply.cc:1: >In file included from ./icmp_port_unreach.h:27: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from icmp_echo_id.cc:24: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from getrandom.cc:1: >In file included from ./ttl_calc.h:26: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from icmp_timestamp.cc:24: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from icmp_addrmask.cc:24: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from icmp_inforeq.cc:24: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from getrandom.cc:1: >In file included from ./icmp_port_unreach.h:27: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from tcp_handshake.cc:24: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from tcp_rst.cc:23: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smb.cc >In file included from smb.cc:35: >In file included from ../../../interface.h:25: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space In file included from tcp_ping.cc:25: >In file included from ../../../libs-external/USI++/usi++/usi++.h:23: >../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from tcp_ping.cc:In file included from udp_ping.cc:2525: >In file included from ../../../libs-external/USI++/usi++/usi++.h:: >23: >In file included from ../../../libs-external/USI++/usi++/usi++.h:../../../libs-external/USI++/usi++/ip.h:182:1423: : >../../../libs-external/USI++/usi++/ip.hwarning: :185'usipp::IP::sendpack' >:14 hides overloaded :between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^virtual > >warning: 'usipp::IP::sendpack' > hides overloaded virtual function [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >function [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../libs-external/USI++/usi++/Layer2.hIn file included from :44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) >tcp_ping.cc:27: >In file included from ../../xplib/xplib.h: virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >31: >../../xplib/xp_get_interface.h:In file included from udp_ping.cc:25: >In file included from ../../../libs-external/USI++/usi++/usi++.h:23: >../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack'26 >:9 : hideswarning : overloaded'XP_GET_INTERFACE_H' virtualis functionused [-Woverloaded-virtual]as > virtual int sendpack(char *pay_string);a > header guard here, followed by > #define ^ >of../../../libs-external/USI++/usi++/Layer2.h a different macro >: 44[-Wheader-guard]: >14#ifndef XP_GET_INTERFACE_H: note: hidden overloaded > >virtual ^~~~~~~~~~~~~~~~~~ function > ../../xplib/xp_get_interface.h'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >:27:9: note: 'XP_GET_INETRFACE_H' is defined here; > did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >In file included from udp_ping.cc:27: >In file included from ../../xplib/xplib.h:31: >../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a > header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; > did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >In file included from ttl_calc.cc:2: >In file included from ./ttl_calc.h:27: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from ttl_calc.cc:2: >In file included from ./ttl_calc.h:27: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from portscanner.cc:25: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > a header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >In file included from tcp_ping.cc:28: >In file included from ../../xprobe_module.h:27: >../../os_matrix.h:50:22: warning: address of stack memory associated with local > variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from udp_ping.cc:28: >In file included from ../../xprobe_module.h:27: >../../os_matrix.h:50:22: warning: address of stack memory associated with local > variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >tcp_ping.cc:72:2: warning: misleading indentation; statement is not part of the > previous 'if' [-Wmisleading-indentation] > sn.init_device(tg->get_interface(), 0, 1500); > ^ >tcp_ping.cc:69:5: note: previous statement is here > if ((port = tg->get_port(IPPROTO_TCP, XPROBE_TARGETP_OPEN)) == -1 ) > ^ >tcp_ping.cc:89:20: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > tcpp->sendpack(""); > ^ >udp_ping.cc:90:19: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > udpp.sendpack(""); > ^ >In file included from ttl_calc.cc:2: >In file included from ./ttl_calc.h:29: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from portscanner.cc:26: >In file included from ../../../xprobe_module_hdlr.h:26: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from portscanner.cc:26: >In file included from ../../../xprobe_module_hdlr.h:26: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from portscanner.cc:26: >In file included from ../../../xprobe_module_hdlr.h:26: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from ttl_calc.cc:2: >In file included from ./ttl_calc.h:33: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > a header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >ttl_calc.cc:146:17: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > tcp.sendpack(""); > ^ >ttl_calc.cc:158:15: warning: cast from 'u_char *' (aka 'unsigned char *') to > 'struct icmp_hdr *' increases required alignment from 1 to 4 > [-Wcast-align] > icmph = (struct icmp_hdr *) buf; > ^~~~~~~~~~~~~~~~~~~~~~~ >ttl_calc.cc:160:13: warning: cast from 'u_char *' (aka 'unsigned char *') to > 'struct ip *' increases required alignment from 1 to 4 [-Wcast-align] > ...iph = (struct ip *) (buf + sizeof (struct icmp_hdr)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >ttl_calc.cc:199:14: warning: cast from 'u_char *' (aka 'unsigned char *') to > 'struct tcphdr *' increases required alignment from 1 to 4 [-Wcast-align] > tcph = (struct tcphdr *) buf; > ^~~~~~~~~~~~~~~~~~~~~ >portscanner.cc:63:5: warning: explicitly assigning value of variable of type > 'OS_Matrix *' to itself [-Wself-assign] > os = os; /* suspend warning */ > ~~ ^ ~~ >In file included from build_DNS_reply.cc:1: >In file included from ./ttl_calc.h:27: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from build_DNS_reply.cc:1: >In file included from ./ttl_calc.h:27: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >portscanner.cc:118:9: warning: misleading indentation; statement is not part of > the previous 'for' [-Wmisleading-indentation] > tcp_ignore_state = get_ignore_state(IPPROTO_TCP); > ^ >portscanner.cc:112:5: note: previous statement is here > for (k=0; k < tcpport.size(); k++) > ^ >portscanner.cc:131:2: warning: misleading indentation; statement is not part of > the previous 'for' [-Wmisleading-indentation] > xml->log(XPROBELOG_PS_SESS_START, "%d", ((end.tv_sec - start.tv_... > ^ >portscanner.cc:125:5: note: previous statement is here > for (k=0; k < udpport.size(); k++) > ^ >portscanner.cc:306:18: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > udpp.sendpack(""); > ^ >portscanner.cc:340:18: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > tcpp.sendpack(""); > ^ >portscanner.cc:403:24: warning: cast from 'char *' to 'struct usipp::tcphdr *' > increases required alignment from 1 to 4 [-Wcast-align] > tcph = (struct usipp::tcphdr *)(payload); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >portscanner.cc:440:25: warning: cast from 'char *' to 'struct usipp::icmphdr *' > increases required alignment from 1 to 4 [-Wcast-align] > icmph = (struct usipp::icmphdr *)((char *)payload); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >portscanner.cc:445:27: warning: cast from 'char *' to 'struct ip *' increases > required alignment from 1 to 4 [-Wcast-align] > ...iph = (struct ip *)((char *)icmph + sizeof(struct usipp::icmphdr)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >portscanner.cc:446:28: warning: cast from 'char *' to 'struct udphdr *' > increases required alignment from 1 to 2 [-Wcast-align] > ...udph = (struct udphdr *)((char *)iph + sizeof(struct ip)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >portscanner.cc:461:24: warning: cast from 'char *' to 'struct udphdr *' > increases required alignment from 1 to 2 [-Wcast-align] > udph = (struct udphdr *)(payload); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >portscanner.cc:369:17: warning: unused variable 'remote' [-Wunused-variable] > struct in_addr remote=tg->get_addr(), local=tg->get_interface_addr(); > ^ >portscanner.cc:503:12: warning: implicit conversion from 'int' to 'char' changes > value from 255 to -1 [-Wconstant-conversion] > return 255; > ~~~~~~ ^~~ >portscanner.cc:517:12: warning: implicit conversion from 'int' to 'char' changes > value from 255 to -1 [-Wconstant-conversion] > return 255; > ~~~~~~ ^~~ >In file included from icmp_echo_id.cc:25: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from icmp_echo_id.cc:25: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from icmp_port_unreach.cc:2: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from icmp_port_unreach.cc:2: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from icmp_echo_id.cc:29: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > a header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >6 warnings and 1 error generated. >In file included from icmp_port_unreach.cc:4: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > a header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >make[3]: *** [Makefile:53: tcp_ping.o] Error 1 >cd snmp; make >5 warnings and 1 error generated. >In file included from getrandom.cc:1: >In file included from ./ttl_calc.h:27: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from getrandom.cc:1: >In file included from ./ttl_calc.h:27: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >make[3]: *** [Makefile:57: udp_ping.o] Error 1 >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smb_mod.cc >make[4]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/snmp' >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ snmp.cc >In file included from icmp_timestamp.cc:25: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from icmp_timestamp.cc:25: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from icmp_addrmask.cc:25: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from icmp_addrmask.cc:25: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from icmp_timestamp.cc:29: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > a header guard here, followed by #define of a different macro > In file included from build_DNS_reply.cc:1[-Wheader-guard]: >In file included from ./ttl_calc.h: >29: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address#ifndef XP_GET_INTERFACE_H of stack > ^~~~~~~~~~~~~~~~~~memory associated >with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >In file included from icmp_addrmask.cc:29: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > a header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >In file included from build_DNS_reply.cc:1: >In file included from ./ttl_calc.h:33: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > a header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >build_DNS_reply.cc:27:16: warning: cast from 'u_char *' (aka 'unsigned char *') > to 'struct DNSHEADER *' increases required alignment from 1 to 8 > [-Wcast-align] > dnsh = (struct DNSHEADER *) localpacket; > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >8 warnings and 1 error generated. >make[4]: *** [Makefile:53: ttl_calc.o] Error 1 >make[4]: *** Waiting for unfinished jobs.... >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ parse_keyword.cc >In file included from build_DNS_reply.cc:1: >In file included from ./icmp_port_unreach.h:29: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from icmp_inforeq.cc:25: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from icmp_inforeq.cc:25: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from tcp_handshake.cc:26: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > a header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >In file included from build_DNS_reply.cc:1: >In file included from ./icmp_port_unreach.h:29: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from build_DNS_reply.cc:1: >In file included from ./icmp_port_unreach.h:29: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] >In file included from virtual int sendpack(char *pay_string);icmp_inforeq.cc: > ^29: > >In file included from ../../../../libs-external/USI++/usi++/Layer2.h../../../xplib/xplib.h::4431: >:14../../../xplib/xp_get_interface.h:: 26:note: 9:hidden warningoverloaded >: 'XP_GET_INTERFACE_H' virtual is functionused as'usipp::Layer2::sendpack' >declared a here: header different guardnumber >here, followedof parametersby (3 vs 1)#define > of a different virtual int sendpack(void *buf, size_t len, struct sockaddr *);macro > > ^ [-Wheader-guard] > >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >In file included from icmp_echo_id.cc:30: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from icmp_port_unreach.cc:5: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from getrandom.cc:1: >In file included from ./ttl_calc.h:29: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from tcp_rst.cc:25: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > In file included from a header guardbuild_DNS_reply.cc: 1here,: > followedIn file included from ./icmp_port_unreach.h:by33 #define: > In file included from ../../../xplib/xplib.hof: a31 : >../../../xplib/xp_get_interface.hdifferent: macro26 >:9 [-Wheader-guard]: > warning: 'XP_GET_INTERFACE_H' is used#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~as > > a header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >../../../xplib/xp_get_interface.h:27:9:#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~note: >'XP_GET_INETRFACE_H' XP_GET_INTERFACE_H is > defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >In file included from getrandom.cc:1: >In file included from ./icmp_port_unreach.h:29: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from getrandom.cc:1: >In file included from ./ttl_calc.h:33: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > a header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >In file included from icmp_addrmask.cc:30In file included from ../../../xplib/xp_get_interface.h: >:In file included from 27../../../xprobe_module.hicmp_timestamp.cc::279:: >:../../../os_matrix.h :30note: >50: :In file included from 'XP_GET_INETRFACE_H'22 :../../../xprobe_module.h :is27 warningdefined: : > >address ../../../os_matrix.hbuild_DNS_reply.cc here;of::50 27 did::stack 2216you::memory associatedwarningmean: warning : with addresscast >'XP_GET_INTERFACE_H'? fromlocal >of stack'u_char *'variable (aka 'unsigned char *') >#define XP_GET_INETRFACE_Hmemory's' > ^~~~~~~~~~~~~~~~~~ returned >toassociated XP_GET_INTERFACE_H[-Wreturn-stack-address]'struct DNSHEADER *'with > > > increaseslocal variablerequired return (s.c_str()); > alignment ^ >'s'from returned1 to[-Wreturn-stack-address] > 8 > [-Wcast-align] > return (s.c_str()); > ^ > dnsh = (struct DNSHEADER *) localpacket; > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >icmp_echo_id.cc:48:38: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(module->get_id(),"icmp_echo_reply"); > ^ >icmp_echo_id.cc:49:38: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(module->get_id(),"icmp_echo_code"); > ^ >icmp_echo_id.cc:50:38: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(module->get_id(),"icmp_echo_ip_id"); > ^ >icmp_echo_id.cc:51:38: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(module->get_id(),"icmp_echo_tos_bits"); > ^ >icmp_echo_id.cc:52:38: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(module->get_id(),"icmp_echo_df_bit"); > ^ >icmp_echo_id.cc:53:38: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(module->get_id(),"icmp_echo_reply_ttl"); > ^ >In file included from getrandom.cc:1: >In file included from ./icmp_port_unreach.h:29: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from getrandom.cc:1: >In file included from ./icmp_port_unreach.h:29: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >icmp_port_unreach.cc:338:10: warning: cast from 'u_char *' > (aka 'unsigned char *') to 'struct udphdr *' increases required alignment > from 1 to 2 [-Wcast-align] > udph = (struct udphdr *) (echoedpack+iphlen); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from getrandom.cc:1: >In file included from ./icmp_port_unreach.h:33: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > a header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >icmp_addrmask.cc:47:38: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] >icmp_timestamp.cc:47 pt->add_keyword(module->get_id(),"icmp_addrmask_reply");: >38 ^: > warning: ISO C++11 does not allow conversion from > icmp_addrmask.ccstring: 48literal: 38to: 'char *'warning : [-Wwritable-strings]ISO > C++11 does not allow pt->add_keyword(module->get_id(),"icmp_timestamp_reply"); >conversion ^ >from string > literal to 'char *' [-Wwritable-strings] >icmp_timestamp.cc:48:38: pt->add_keyword(module->get_id(),"icmp_addrmask_reply_ttl"); >warning ^: >ISO C++11 does not allow conversion from > string icmp_addrmask.ccliteral: 49to: 36'char *': [-Wwritable-strings]warning >: ISO C++11 does not pt->add_keyword(module->get_id(),"icmp_timestamp_reply_ttl"); >allow ^ >conversion from string > literal toicmp_timestamp.cc :'char *'49 :[-Wwritable-strings]38 >: warning: ISO C++11 pt->add_keyword(module->get_id(), "icmp_addrmask_reply_ip_id");does > ^not > allow conversion from > string literal to 'char *' [-Wwritable-strings] > pt->add_keyword(module->get_id(),"icmp_timestamp_reply_ip_id"); > ^ >In file included from tcp_handshake.cc:27: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from icmp_inforeq.cc:30: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from tcp_handshake.cc:27: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from tcp_handshake.cc:27: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from tcp_rst.cc:26: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from smb_mod.cc:23: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from tcp_rst.cc:26: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from tcp_rst.cc:26: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >icmp_inforeq.cc:47:38: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(module->get_id(),"icmp_info_reply"); > ^ >icmp_inforeq.cc:48:38: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(module->get_id(),"icmp_info_reply_ttl"); > ^ >icmp_inforeq.cc:49:36: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(module->get_id(), "icmp_info_reply_ip_id"); > ^ >5 warnings and 1 error generated. >In file included from snmp.cc:23: >In file included from ./snmp.h:26: >In file included from ./snmp_mod.h:26: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalidmake[4]: *** [Makefile:53: build_DNS_reply.o] Error 1 >x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ snmp_mod.cc > suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from parse_keyword.cc:1: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >17 warnings and 1 error generated. >In file included from tcp_rst.cc:31: >./tcp_rst.h:35:8: warning: 'TCP_Rst_Mod::generate_signature' hides overloaded > virtual functions [-Woverloaded-virtual] > void generate_signature(Target *, TCP *, TCP *, TCP *); > ^ >../../../xprobe_module.h:44:16: note: hidden overloaded virtual function > 'Xprobe_Module::generate_signature' declared here: different number of > parameters (3 vs 4) > virtual void generate_signature(Target *, ICMP *, ICMP *... > ^ >../../../xprobe_module.h:45:16: note: hidden overloaded virtual function > 'Xprobe_Module::generate_signature' declared here: different number of > parameters (3 vs 4) > virtual void generate_signature(Target *, TCP *, TCP *) ... > ^ >tcp_rst.cc:41:33: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(rst->get_id(), "tcp_rst_df"); > ^ >tcp_rst.cc:42:33: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(rst->get_id(), "tcp_rst_ip_id_1"); > ^ >tcp_rst.cc:43:33: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(rst->get_id(), "tcp_rst_ip_id_2"); > ^ >tcp_rst.cc:44:33: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(rst->get_id(), "tcp_rst_ip_id_strategy"); > ^ >tcp_rst.cc:45:33: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(rst->get_id(), "tcp_rst_ttl"); > ^ >tcp_rst.cc:46:33: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(rst->get_id(), "tcp_rst_reply"); > ^ >icmp_inforeq.cc:135:26: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > ret = icmpp.sendpack(""); > ^ >make[4]: *** [Makefile:53: portscanner.o] Error 1 >make[4]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/alive_probe/portscanner' >make[3]: *** [Makefile:63: portscan_module] Error 2 >tcp_handshake.cc:143:21: warning: ISO C++11 does not allow conversion from > string literal to 'char *' [-Wwritable-strings] > request->sendpack(""); > ^ >5 warnings and 1 error generated. >4 warnings and 1 error generated. >make[4]: *** [Makefile:53: build_DNS_reply.o] Error 1 >make[4]: *** Waiting for unfinished jobs.... >make[4]: *** [Makefile:53: getrandom.o] Error 1 >make[4]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/alive_probe/ttl_calc' >make[3]: *** [Makefile:60: ttl_module] Error 2 >make[3]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/alive_probe' >make[2]: *** [Makefile:47: alive] Error 2 >make[2]: *** Waiting for unfinished jobs.... >5 warnings and 1 error generated. >tcp_rst.cc:124:19: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > request.sendpack(""); > ^ >tcp_rst.cc:145:22: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > request.sendpack(""); > ^ >tcp_rst.cc:244:3: warning: explicitly assigning value of variable of type > 'usipp::TCP *' to itself [-Wself-assign] > o=o; //suspend compiler warning > ~^~ >make[4]: *** [Makefile:53: icmp_port_unreach.o] Error 1 >4 warnings and 1 error generated. >make[4]: *** [Makefile:53: getrandom.o] Error 1 >In file included from smb.cc:36: >In file included from ./smb.h:40: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >7 warnings and 1 error generated. >make[4]: *** [Makefile:53: icmp_addrmask.o] Error 1 >make[4]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/icmp_addrmask' >make[3]: *** [Makefile:66: icmp_addrmask_mod] Error 2 >make[3]: *** Waiting for unfinished jobs.... >In file included from smb.cc:36: >In file included from ./smb.h:40: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44tcp_handshake.cc::14611:: 43note:: hiddenwarning : overloadedISO > C++11virtual doesfunction not'usipp::Layer2::sendpack' allowdeclared conversionhere: fromdifferent > numberstring > literalof toparameters 'char *'(3 vs 2) >[-Wwritable-strings] > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ttl"); > > ^ >In file included from smb.cc:36: >In file included from ./smb.h:40: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23tcp_handshake.cc: >:../../../../libs-external/USI++/usi++/ip.h612::18543::14 :warning : warningISO: >C++11 'usipp::IP::sendpack'does hidesnot overloadedallow virtualconversion functionfrom > > [-Woverloaded-virtual]string > literal to 'char *' virtual int sendpack(char *pay_string); >[-Wwritable-strings] ^ > >../../../../libs-external/USI++/usi++/Layer2.h:44:14: pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ip_id");note >: ^hidden > overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > oftcp_handshake.cc :parameters613 :(3 vs 1)43 >: warning: ISO C++11 virtual int sendpack(void *buf, size_t len, struct sockaddr *);does > ^not > allow conversion from > string literal to 'char *' [-Wwritable-strings] > pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_tos"); > ^ >tcp_handshake.cc:614:43: warning: ISO C++11 does not allow conversion from > string literal to 'char *' [-Wwritable-strings] > pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_df"); > ^ >tcp_handshake.cc:615:43: warning: ISO C++11 does not allow conversion from > string literal to 'char *' [-Wwritable-strings] > pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ack"); > ^ >tcp_handshake.cc:616:43: warning: ISO C++11 does not allow conversion from > string literal to 'char *' [-Wwritable-strings] > pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_window_size"); > ^ >tcp_handshake.cc:617:43: warning: ISO C++11 does not allow conversion from > string literal to 'char *' [-Wwritable-strings] > pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_options_order"); > ^ >tcp_handshake.cc:618:43: warning: ISO C++11 does not allow conversion from > string literal to 'char *' [-Wwritable-strings] > pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_wscale"); > ^ >tcp_handshake.cc:619:43: warning: ISO C++11 does not allow conversion from > string literal to 'char *' [-Wwritable-strings] > pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_tsval"); > ^ >tcp_handshake.cc:620:43: warning: ISO C++11 does not allow conversion from > string literal to 'char *' [-Wwritable-strings] > pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_tsecr"); > ^ >In file included from snmp_mod.cc:23: >In file included from ../../../xprobe.h:141: >../../../defines.h:27:15: error: invalid suffix on literal; C++11 requires a > space between literal and identifier [-Wreserved-user-defined-literal] >"\nXprobe2 v."VERSION\ > ^ > >In file included from smb.cc:36: >In file included from ./smb.h:42: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > a header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >7 warnings and 1 error generated. >make[4]: *** [Makefile:53: icmp_timestamp.o] Error 1 >make[4]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/icmp_timestamp' >make[3]: *** [Makefile:59: icmp_timestamp_mod] Error 2 >10 warnings and 1 error generated. >8 warnings and 1 error generated. >make[4]: *** [Makefile:45: icmp_echo_id.o] Error 1 >make[4]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/icmp_echo_id' >make[3]: *** [Makefile:55: icmp_echo_id_mod] Error 2 >make[4]: *** [Makefile:53: icmp_inforeq.o] Error 1 >make[4]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/icmp_inforeq' >make[3]: *** [Makefile:63: icmp_inforeq_mod] Error 2 >14 warnings and 1 error generated. >make[4]: *** [Makefile:45: tcp_rst.o] Error 1 >make[4]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/tcp_rst' >make[3]: *** [Makefile:72: tcp_rst_mod] Error 2 >15 warnings and 1 error generated. >make[4]: *** [Makefile:45: tcp_handshake.o] Error 1 >make[4]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/tcp_handshake' >make[3]: *** [Makefile:69: tcp_handshake_mod] Error 2 >In file included from smb_mod.cc:25: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > a header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >In file included from smb_mod.cc:26: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from smb_mod.cc:26: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from smb_mod.cc:26: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from parse_keyword.cc:3: >In file included from ./icmp_port_unreach.h:29: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from parse_keyword.cc:3: >In file included from ./icmp_port_unreach.h:29: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from parse_keyword.cc:3: >In file included from ./icmp_port_unreach.h:29: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >smb_mod.cc:41:33: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(smb->get_id(), "smb_nativeos"); > ^ >smb_mod.cc:42:33: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(smb->get_id(), "smb_lanman"); > ^ >In file included from parse_keyword.cc:3: >In file included from ./icmp_port_unreach.h:33: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > a header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >4 warnings and 1 error generated. >make[4]: *** [Makefile:53: smb.o] Error 1 >make[4]: *** Waiting for unfinished jobs.... >In file included from parse_keyword.cc:4: >./parse_keyword.h:4:1: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] >"icmp_unreach_reply_ttl", >^ >./parse_keyword.h:5:1: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] >"icmp_unreach_echoed_dtsize", >^ >./parse_keyword.h:6:1: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] >"icmp_unreach_echoed_udp_cksum", >^ >./parse_keyword.h:7:1: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] >"icmp_unreach_echoed_ip_cksum", >^ >./parse_keyword.h:8:1: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] >"icmp_unreach_echoed_ip_id", >^ >./parse_keyword.h:9:1: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] >"icmp_unreach_echoed_total_len", >^ >./parse_keyword.h:10:1: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] >"icmp_unreach_echoed_3bit_flags", >^ >./parse_keyword.h:11:1: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] >"icmp_unreach_precedence_bits", >^ >./parse_keyword.h:12:1: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] >"icmp_unreach_df_bit", >^ >./parse_keyword.h:13:1: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] >"icmp_unreach_ip_id", >^ >./parse_keyword.h:14:1: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] >"icmp_unreach_reply", >^ >In file included from snmp.cc:23: >In file included from ./snmp.h:26: >In file included from ./snmp_mod.h:27: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from snmp.cc:23: >In file included from ./snmp.h:26: >In file included from ./snmp_mod.h:27: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from snmp.cc:23: >In file included from ./snmp.h:26: >In file included from ./snmp_mod.h:27: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from snmp_mod.cc:25: >In file included from ../../../xplib/xplib.h:31: >../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as > a header guard here, followed by #define of a different macro > [-Wheader-guard] >#ifndef XP_GET_INTERFACE_H > ^~~~~~~~~~~~~~~~~~ >../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined > here; did you mean 'XP_GET_INTERFACE_H'? >#define XP_GET_INETRFACE_H > ^~~~~~~~~~~~~~~~~~ > XP_GET_INTERFACE_H >In file included from snmp_mod.cc:26: >In file included from ../../../xprobe_module.h:27: >../../../os_matrix.h:50:22: warning: address of stack memory associated with > local variable 's' returned [-Wreturn-stack-address] > return (s.c_str()); > ^ >In file included from snmp_mod.cc:26: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:182:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(void *payload, size_t paylen); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 2) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >In file included from snmp_mod.cc:26: >In file included from ../../../xprobe_module.h:28: >In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: >../../../../libs-external/USI++/usi++/ip.h:185:14: warning: > 'usipp::IP::sendpack' hides overloaded virtual function > [-Woverloaded-virtual] > virtual int sendpack(char *pay_string); > ^ >../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded > virtual function 'usipp::Layer2::sendpack' declared here: different number > of parameters (3 vs 1) > virtual int sendpack(void *buf, size_t len, struct sockaddr *); > ^ >6 warnings and 1 error generated. >15 warnings and 1 error generated. >make[4]: *** [Makefile:53: smb_mod.o] Error 1 >make[4]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/smb' >make[3]: *** [Makefile:75: smb_mod] Error 2 >make[4]: *** [Makefile:53: parse_keyword.o] Error 1 >make[4]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach' >make[3]: *** [Makefile:52: icmp_port_unreach_mod] Error 2 >snmp_mod.cc:43:34: warning: ISO C++11 does not allow conversion from string > literal to 'char *' [-Wwritable-strings] > pt->add_keyword(snmp->get_id(), "snmp_sysdescr"); > ^ >3 warnings and 1 error generated. >make[4]: *** [Makefile:53: snmp.o] Error 1 >make[4]: *** Waiting for unfinished jobs.... >5 warnings and 1 error generated. >make[4]: *** [Makefile:53: snmp_mod.o] Error 1 >make[4]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe/snmp' >make[3]: *** [Makefile:78: snmp_mod] Error 2 >make[3]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules/os_probe' >make[2]: *** [Makefile:50: os] Error 2 >make[2]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src/xpmodules' >make[1]: *** [Makefile:55: modules] Error 2 >make[1]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3/src' >make: *** [Makefile:47: all] Error 2 > * ERROR: net-analyzer/xprobe-0.3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/xprobe-0.3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/xprobe-0.3::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/net-analyzer/xprobe-0.3:20200905-215228.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/xprobe-0.3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/xprobe-0.3/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3' > * S: '/var/tmp/portage/net-analyzer/xprobe-0.3/work/xprobe2-0.3'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 740654
: 658686