Hi Here,
I still noticing this issue. Could anyone please give me clue?
#####
make all-recursive
make[1]: Entering directory '/home/user/Documents/iperf/iperf-2.0.5'
Making all in compat
make[2]: Entering directory '/home/user/Documents/iperf/iperf-2.0.5/compat'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -O2 -MT Thread.o -MD -MP -MF ".deps/Thread.Tpo" -c -o Thread.o Thread.c; \
then mv -f ".deps/Thread.Tpo" ".deps/Thread.Po"; else rm -f ".deps/Thread.Tpo"; exit 1; fi
Thread.c: In function ‘thread_release_nonterm’:
Thread.c:384:26: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf( stderr, wait_server_threads );
^~~~~~~~~~~~~~~~~~~
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -O2 -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -O2 -MT delay.o -MD -MP -MF ".deps/delay.Tpo" -c -o delay.o delay.cpp; \
then mv -f ".deps/delay.Tpo" ".deps/delay.Po"; else rm -f ".deps/delay.Tpo"; exit 1; fi
In file included from /usr/include/c++/7/cmath:42:0,
from /usr/include/c++/7/math.h:36,
from ../include/headers.h:85,
from ../include/Timestamp.hpp:63,
from delay.cpp:53:
/usr/include/c++/7/bits/cpp_type_traits.h:205:12: error: redefinition of ‘struct std::__is_integer<int>’
struct __is_integer<int>
^~~~~~~~~~~~~~~~~
/usr/include/c++/7/bits/cpp_type_traits.h:138:12: note: previous definition of ‘struct std::__is_integer<int>’
struct __is_integer<bool>
^~~~~~~~~~~~~~~~~~
Makefile:273: recipe for target 'delay.o' failed
make[2]: *** [delay.o] Error 1
make[2]: Leaving directory '/home/user/Documents/iperf/iperf-2.0.5/compat'
Makefile:252: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/Documents/iperf/iperf-2.0.5'
Makefile:190: recipe for target 'all' failed
make: *** [all] Error 2
######
Although I commented out define bool int but it creates tons of error.