=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for warmux-11.01nb34 --- all-recursive --- Making all in data Making all in lib --- all-recursive --- Making all in warmux --- all-recursive --- Making all in . --- action.o --- --- action_handler.o --- --- error.o --- --- i18n.o --- --- singleton.o --- --- euler_vector.o --- --- distant_cpu.o --- --- download.o --- --- action.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT action.o -MD -MP -MF .deps/action.Tpo -c -o action.o `test -f './action/action.cpp' || echo './'`./action/action.cpp --- action_handler.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT action_handler.o -MD -MP -MF .deps/action_handler.Tpo -c -o action_handler.o `test -f './action/action_handler.cpp' || echo './'`./action/action_handler.cpp --- error.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o `test -f './base/error.cpp' || echo './'`./base/error.cpp --- i18n.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT i18n.o -MD -MP -MF .deps/i18n.Tpo -c -o i18n.o `test -f './base/i18n.cpp' || echo './'`./base/i18n.cpp --- singleton.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT singleton.o -MD -MP -MF .deps/singleton.Tpo -c -o singleton.o `test -f './base/singleton.cpp' || echo './'`./base/singleton.cpp --- euler_vector.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT euler_vector.o -MD -MP -MF .deps/euler_vector.Tpo -c -o euler_vector.o `test -f './maths/euler_vector.cpp' || echo './'`./maths/euler_vector.cpp --- distant_cpu.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT distant_cpu.o -MD -MP -MF .deps/distant_cpu.Tpo -c -o distant_cpu.o `test -f './net/distant_cpu.cpp' || echo './'`./net/distant_cpu.cpp --- download.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT download.o -MD -MP -MF .deps/download.Tpo -c -o download.o `test -f './net/download.cpp' || echo './'`./net/download.cpp --- i18n.o --- mv -f .deps/i18n.Tpo .deps/i18n.Po --- index_server.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT index_server.o -MD -MP -MF .deps/index_server.Tpo -c -o index_server.o `test -f './net/index_server.cpp' || echo './'`./net/index_server.cpp --- singleton.o --- mv -f .deps/singleton.Tpo .deps/singleton.Po --- network.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT network.o -MD -MP -MF .deps/network.Tpo -c -o network.o `test -f './net/network.cpp' || echo './'`./net/network.cpp --- euler_vector.o --- In file included from ./maths/euler_vector.cpp:19: In file included from ../../lib/warmux/include/WARMUX_euler_vector.h:23: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. mv -f .deps/euler_vector.Tpo .deps/euler_vector.Po --- player.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT player.o -MD -MP -MF .deps/player.Tpo -c -o player.o `test -f './net/player.cpp' || echo './'`./net/player.cpp --- action.o --- In file included from ./action/action.cpp:26: In file included from ../../lib/warmux/include/WARMUX_action.h:28: In file included from ../../lib/warmux/include/WARMUX_distant_cpu.h:27: In file included from ../../lib/warmux/include/WARMUX_player.h:28: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- error.o --- In file included from ./base/error.cpp:27: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- distant_cpu.o --- In file included from ./net/distant_cpu.cpp:24: In file included from ../../lib/warmux/include/WARMUX_distant_cpu.h:27: In file included from ../../lib/warmux/include/WARMUX_player.h:28: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ ./net/distant_cpu.cpp:29:18: warning: unused variable 'MAX_PACKET_SIZE' [-Wunused-const-variable] static const int MAX_PACKET_SIZE = 250*1024; ^ --- download.o --- In file included from ./net/download.cpp:31: In file included from ../../lib/warmux/include/WARMUX_file_tools.h:25: In file included from ../../lib/warmux/include/WARMUX_base.h:25: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- action_handler.o --- In file included from ./action/action_handler.cpp:24: In file included from ../../lib/warmux/include/WARMUX_action_handler.h:27: In file included from ../../lib/warmux/include/WARMUX_action.h:28: In file included from ../../lib/warmux/include/WARMUX_distant_cpu.h:27: In file included from ../../lib/warmux/include/WARMUX_player.h:28: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- error.o --- 1 warning generated. mv -f .deps/error.Tpo .deps/error.Po --- action.o --- 1 warning generated. --- socket.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT socket.o -MD -MP -MF .deps/socket.Tpo -c -o socket.o `test -f './net/socket.cpp' || echo './'`./net/socket.cpp --- action.o --- mv -f .deps/action.Tpo .deps/action.Po --- extSDL_net.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT extSDL_net.o -MD -MP -MF .deps/extSDL_net.Tpo -c -o extSDL_net.o `test -f './net/extSDL_net.cpp' || echo './'`./net/extSDL_net.cpp --- download.o --- 1 warning generated. mv -f .deps/download.Tpo .deps/download.Po --- debug.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o `test -f './tools/debug.cpp' || echo './'`./tools/debug.cpp --- action_handler.o --- 1 warning generated. mv -f .deps/action_handler.Tpo .deps/action_handler.Po --- file_tools.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT file_tools.o -MD -MP -MF .deps/file_tools.Tpo -c -o file_tools.o `test -f './tools/file_tools.cpp' || echo './'`./tools/file_tools.cpp --- distant_cpu.o --- 2 warnings generated. mv -f .deps/distant_cpu.Tpo .deps/distant_cpu.Po --- random.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux/include -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT random.o -MD -MP -MF .deps/random.Tpo -c -o random.o `test -f './tools/random.cpp' || echo './'`./tools/random.cpp --- extSDL_net.o --- mv -f .deps/extSDL_net.Tpo .deps/extSDL_net.Po --- index_server.o --- In file included from ./net/index_server.cpp:28: In file included from ../../lib/warmux/include/WARMUX_index_server.h:28: In file included from ../../lib/warmux/include/WARMUX_socket.h:28: In file included from ../../lib/warmux/include/WARMUX_network.h:27: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- network.o --- In file included from ./net/network.cpp:54: In file included from ../../lib/warmux/include/WARMUX_network.h:27: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- player.o --- In file included from ./net/player.cpp:29: In file included from ../../lib/warmux/include/WARMUX_player.h:28: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- network.o --- 1 warning generated. mv -f .deps/network.Tpo .deps/network.Po --- socket.o --- In file included from ./net/socket.cpp:25: In file included from ../../lib/warmux/include/WARMUX_socket.h:28: In file included from ../../lib/warmux/include/WARMUX_network.h:27: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- index_server.o --- 1 warning generated. mv -f .deps/index_server.Tpo .deps/index_server.Po --- player.o --- 1 warning generated. mv -f .deps/player.Tpo .deps/player.Po --- debug.o --- mv -f .deps/debug.Tpo .deps/debug.Po --- random.o --- In file included from ./tools/random.cpp:24: In file included from ../../lib/warmux/include/WARMUX_random.h:26: In file included from ../../lib/warmux/include/WARMUX_point.h:28: In file included from ../../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- file_tools.o --- In file included from ./tools/file_tools.cpp:41: In file included from ../../lib/warmux/include/WARMUX_file_tools.h:25: In file included from ../../lib/warmux/include/WARMUX_base.h:25: In file included from ../../lib/warmux/include/WARMUX_types.h:23: ../../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- random.o --- 1 warning generated. mv -f .deps/random.Tpo .deps/random.Po --- socket.o --- 1 warning generated. mv -f .deps/socket.Tpo .deps/socket.Po --- file_tools.o --- 1 warning generated. mv -f .deps/file_tools.Tpo .deps/file_tools.Po --- libwarmux.a --- rm -f libwarmux.a ar cru libwarmux.a action.o action_handler.o error.o i18n.o singleton.o euler_vector.o distant_cpu.o download.o index_server.o network.o player.o socket.o extSDL_net.o debug.o file_tools.o random.o ranlib libwarmux.a Making all in warmux-server --- all-recursive --- Making all in . --- clock.o --- --- config.o --- --- env.o --- --- logfile.o --- --- clock.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux-server/include -I../../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT clock.o -MD -MP -MF .deps/clock.Tpo -c -o clock.o `test -f './src/clock.cpp' || echo './'`./src/clock.cpp --- config.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux-server/include -I../../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o `test -f './src/config.cpp' || echo './'`./src/config.cpp --- logfile.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux-server/include -I../../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT logfile.o -MD -MP -MF .deps/logfile.Tpo -c -o logfile.o `test -f './src/logfile.cpp' || echo './'`./src/logfile.cpp --- env.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/warmux-server/include -I../../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT env.o -MD -MP -MF .deps/env.Tpo -c -o env.o `test -f './src/env.cpp' || echo './'`./src/env.cpp --- clock.o --- mv -f .deps/clock.Tpo .deps/clock.Po --- logfile.o --- mv -f .deps/logfile.Tpo .deps/logfile.Po --- env.o --- mv -f .deps/env.Tpo .deps/env.Po --- config.o --- mv -f .deps/config.Tpo .deps/config.Po --- libwarmux-server.a --- rm -f libwarmux-server.a ar cru libwarmux-server.a clock.o config.o env.o logfile.o ranlib libwarmux-server.a Making all in fixedpoint --- all-recursive --- Making all in . --- fixed_func.o --- clang++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../lib/fixedpoint -I/opt/pkg/include -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT fixed_func.o -MD -MP -MF .deps/fixed_func.Tpo -c -o fixed_func.o fixed_func.cpp fixed_func.cpp:161:24: warning: unused function 'fast_div16' [-Wunused-function] static inline fixint_t fast_div16(fixint_t a, fixint_t b) ^ 1 warning generated. mv -f .deps/fixed_func.Tpo .deps/fixed_func.Po --- libfixedpoint.a --- rm -f libfixedpoint.a ar cru libfixedpoint.a fixed_func.o ranlib libfixedpoint.a Making all in src --- all-recursive --- Making all in . --- ai_command.o --- --- ai_idea.o --- --- ai_strategy.o --- --- ai_stupid_player.o --- --- ai_weapons_weighting.o --- --- body.o --- --- body_list.o --- --- character.o --- --- ai_command.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT ai_command.o -MD -MP -MF .deps/ai_command.Tpo -c -o ai_command.o `test -f 'ai/ai_command.cpp' || echo './'`ai/ai_command.cpp --- ai_idea.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT ai_idea.o -MD -MP -MF .deps/ai_idea.Tpo -c -o ai_idea.o `test -f 'ai/ai_idea.cpp' || echo './'`ai/ai_idea.cpp --- ai_strategy.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT ai_strategy.o -MD -MP -MF .deps/ai_strategy.Tpo -c -o ai_strategy.o `test -f 'ai/ai_strategy.cpp' || echo './'`ai/ai_strategy.cpp --- ai_weapons_weighting.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT ai_weapons_weighting.o -MD -MP -MF .deps/ai_weapons_weighting.Tpo -c -o ai_weapons_weighting.o `test -f 'ai/ai_weapons_weighting.cpp' || echo './'`ai/ai_weapons_weighting.cpp --- body_list.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT body_list.o -MD -MP -MF .deps/body_list.Tpo -c -o body_list.o `test -f 'character/body_list.cpp' || echo './'`character/body_list.cpp --- body.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT body.o -MD -MP -MF .deps/body.Tpo -c -o body.o `test -f 'character/body.cpp' || echo './'`character/body.cpp --- ai_stupid_player.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT ai_stupid_player.o -MD -MP -MF .deps/ai_stupid_player.Tpo -c -o ai_stupid_player.o `test -f 'ai/ai_stupid_player.cpp' || echo './'`ai/ai_stupid_player.cpp --- character.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT character.o -MD -MP -MF .deps/character.Tpo -c -o character.o `test -f 'character/character.cpp' || echo './'`character/character.cpp --- ai_idea.o --- In file included from ai/ai_idea.cpp:22: In file included from ./ai/ai_idea.h:28: ./weapon/weapon_launcher.h:60:16: warning: 'WeaponProjectile::SetEnergyDelta' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetEnergyDelta(int delta, bool do_report = true); ^ ./object/physical_obj.h:201:16: note: hidden overloaded virtual function 'PhysicalObj::SetEnergyDelta' declared here: type mismatch at 2nd parameter ('Character *' vs 'bool') virtual void SetEnergyDelta(int delta, Character* dealer); ^ --- ai_stupid_player.o --- In file included from ai/ai_stupid_player.cpp:24: In file included from ./ai/ai_idea.h:28: ./weapon/weapon_launcher.h:60:16: warning: 'WeaponProjectile::SetEnergyDelta' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetEnergyDelta(int delta, bool do_report = true); ^ ./object/physical_obj.h:201:16: note: hidden overloaded virtual function 'PhysicalObj::SetEnergyDelta' declared here: type mismatch at 2nd parameter ('Character *' vs 'bool') virtual void SetEnergyDelta(int delta, Character* dealer); ^ --- ai_weapons_weighting.o --- In file included from ai/ai_weapons_weighting.cpp:24: In file included from ../lib/warmux/include/WARMUX_random.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- ai_strategy.o --- In file included from ai/ai_strategy.cpp:22: In file included from ./ai/ai_strategy.h:26: In file included from ./ai/ai_command.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- ai_weapons_weighting.o --- 1 warning generated. mv -f .deps/ai_weapons_weighting.Tpo .deps/ai_weapons_weighting.Po --- clothe.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT clothe.o -MD -MP -MF .deps/clothe.Tpo -c -o clothe.o `test -f 'character/clothe.cpp' || echo './'`character/clothe.cpp --- body_list.o --- In file included from character/body_list.cpp:21: In file included from ./character/body_list.h:24: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- character.o --- In file included from character/character.cpp:35: In file included from ./interface/interface.h:32: ./weapon/weapon_strength_bar.h:39:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:124:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ --- body.o --- In file included from character/body.cpp:39: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- ai_stupid_player.o --- In file included from ai/ai_stupid_player.cpp:22: In file included from ../lib/warmux/include/WARMUX_random.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ ai/ai_stupid_player.cpp:43:15: warning: private field 'name' is not used [-Wunused-private-field] const char *name; ^ ai/ai_stupid_player.cpp:44:12: warning: private field 'time' is not used [-Wunused-private-field] uint64_t time; ^ ai/ai_stupid_player.cpp:45:12: warning: private field 'sq_time' is not used [-Wunused-private-field] uint64_t sq_time; ^ ai/ai_stupid_player.cpp:46:12: warning: private field 'calls' is not used [-Wunused-private-field] uint calls; ^ ai/ai_stupid_player.cpp:47:12: warning: private field 'min' is not used [-Wunused-private-field] uint min; ^ ai/ai_stupid_player.cpp:48:12: warning: private field 'max' is not used [-Wunused-private-field] uint max; ^ --- ai_idea.o --- In file included from ai/ai_idea.cpp:22: In file included from ./ai/ai_idea.h:25: In file included from ./ai/ai_strategy.h:26: In file included from ./ai/ai_command.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- ai_command.o --- In file included from ai/ai_command.cpp:22: In file included from ../lib/warmux/include/WARMUX_action.h:28: In file included from ../lib/warmux/include/WARMUX_distant_cpu.h:27: In file included from ../lib/warmux/include/WARMUX_player.h:28: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from ai/ai_command.cpp:23: ./ai/ai_command.h:137:10: warning: private field 'turning' is not used [-Wunused-private-field] bool turning; ^ --- character.o --- In file included from character/character.cpp:47: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- ai_strategy.o --- 1 warning generated. mv -f .deps/ai_strategy.Tpo .deps/ai_strategy.Po --- damage_stats.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT damage_stats.o -MD -MP -MF .deps/damage_stats.Tpo -c -o damage_stats.o `test -f 'character/damage_stats.cpp' || echo './'`character/damage_stats.cpp --- character.o --- In file included from character/character.cpp:24: In file included from ../lib/warmux/include/WARMUX_random.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- body_list.o --- 1 warning generated. --- body.o --- In file included from character/body.cpp:25: In file included from ./character/body.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- body_list.o --- mv -f .deps/body_list.Tpo .deps/body_list.Po --- member.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT member.o -MD -MP -MF .deps/member.Tpo -c -o member.o `test -f 'character/member.cpp' || echo './'`character/member.cpp --- ai_stupid_player.o --- 8 warnings generated. mv -f .deps/ai_stupid_player.Tpo .deps/ai_stupid_player.Po --- movement.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT movement.o -MD -MP -MF .deps/movement.Tpo -c -o movement.o `test -f 'character/movement.cpp' || echo './'`character/movement.cpp --- ai_idea.o --- 2 warnings generated. mv -f .deps/ai_idea.Tpo .deps/ai_idea.Po --- config.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o `test -f 'game/config.cpp' || echo './'`game/config.cpp --- ai_command.o --- 2 warnings generated. mv -f .deps/ai_command.Tpo .deps/ai_command.Po --- game.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT game.o -MD -MP -MF .deps/game.Tpo -c -o game.o `test -f 'game/game.cpp' || echo './'`game/game.cpp --- clothe.o --- In file included from character/clothe.cpp:21: In file included from ./tool/xml_document.h:8: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. mv -f .deps/clothe.Tpo .deps/clothe.Po --- game_blitz.o --- --- damage_stats.o --- In file included from character/damage_stats.cpp:22: In file included from ./character/damage_stats.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- game_blitz.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT game_blitz.o -MD -MP -MF .deps/game_blitz.Tpo -c -o game_blitz.o `test -f 'game/game_blitz.cpp' || echo './'`game/game_blitz.cpp --- member.o --- In file included from character/member.cpp:30: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- damage_stats.o --- 1 warning generated. mv -f .deps/damage_stats.Tpo .deps/damage_stats.Po --- game_classic.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT game_classic.o -MD -MP -MF .deps/game_classic.Tpo -c -o game_classic.o `test -f 'game/game_classic.cpp' || echo './'`game/game_classic.cpp --- movement.o --- In file included from character/movement.cpp:23: In file included from ./character/movement.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- game.o --- In file included from game/game.cpp:36: In file included from ./interface/interface.h:32: ./weapon/weapon_strength_bar.h:39:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:124:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ --- member.o --- In file included from character/member.cpp:22: In file included from ./character/character.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- game.o --- In file included from game/game.cpp:46: In file included from ./menu/help_menu.h:25: In file included from ./menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from game/game.cpp:46: In file included from ./menu/help_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from game/game.cpp:46: In file included from ./menu/help_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- character.o --- 3 warnings generated. mv -f .deps/character.Tpo .deps/character.Po --- config.o --- In file included from game/config.cpp:51: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- game_mode.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT game_mode.o -MD -MP -MF .deps/game_mode.Tpo -c -o game_mode.o `test -f 'game/game_mode.cpp' || echo './'`game/game_mode.cpp --- config.o --- In file included from game/config.cpp:24: In file included from ./game/config.h:36: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- game.o --- In file included from game/game.cpp:22: In file included from ./character/body.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- movement.o --- 1 warning generated. --- game_blitz.o --- In file included from game/game_blitz.cpp:28: In file included from ./interface/interface.h:32: ./weapon/weapon_strength_bar.h:39:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:124:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ --- movement.o --- mv -f .deps/movement.Tpo .deps/movement.Po --- time.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT time.o -MD -MP -MF .deps/time.Tpo -c -o time.o `test -f 'game/time.cpp' || echo './'`game/time.cpp --- game_classic.o --- In file included from game/game_classic.cpp:28: In file included from ./interface/interface.h:32: ./weapon/weapon_strength_bar.h:39:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:124:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ --- game_blitz.o --- In file included from game/game_blitz.cpp:22: In file included from ./character/character.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- game_classic.o --- In file included from game/game_classic.cpp:22: In file included from ./character/character.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- body.o --- 2 warnings generated. mv -f .deps/body.Tpo .deps/body.Po --- stopwatch.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT stopwatch.o -MD -MP -MF .deps/stopwatch.Tpo -c -o stopwatch.o `test -f 'game/stopwatch.cpp' || echo './'`game/stopwatch.cpp --- member.o --- 2 warnings generated. mv -f .deps/member.Tpo .deps/member.Po --- color.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o `test -f 'graphic/color.cpp' || echo './'`graphic/color.cpp --- game_classic.o --- 2 warnings generated. --- game_mode.o --- In file included from game/game_mode.cpp:25: In file included from ../lib/warmux/include/WARMUX_file_tools.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- game_classic.o --- mv -f .deps/game_classic.Tpo .deps/game_classic.Po --- composite_shape.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT composite_shape.o -MD -MP -MF .deps/composite_shape.Tpo -c -o composite_shape.o `test -f 'graphic/composite_shape.cpp' || echo './'`graphic/composite_shape.cpp --- color.o --- mv -f .deps/color.Tpo .deps/color.Po --- game_blitz.o --- 2 warnings generated. mv -f .deps/game_blitz.Tpo .deps/game_blitz.Po --- font.o --- --- fps.o --- --- font.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT font.o -MD -MP -MF .deps/font.Tpo -c -o font.o `test -f 'graphic/font.cpp' || echo './'`graphic/font.cpp --- fps.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT fps.o -MD -MP -MF .deps/fps.Tpo -c -o fps.o `test -f 'graphic/fps.cpp' || echo './'`graphic/fps.cpp --- game.o --- 5 warnings generated. mv -f .deps/game.Tpo .deps/game.Po --- polygon.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT polygon.o -MD -MP -MF .deps/polygon.Tpo -c -o polygon.o `test -f 'graphic/polygon.cpp' || echo './'`graphic/polygon.cpp --- game_mode.o --- 1 warning generated. mv -f .deps/game_mode.Tpo .deps/game_mode.Po --- time.o --- In file included from game/time.cpp:22: In file included from ./game/game.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- polygon_generator.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT polygon_generator.o -MD -MP -MF .deps/polygon_generator.Tpo -c -o polygon_generator.o `test -f 'graphic/polygon_generator.cpp' || echo './'`graphic/polygon_generator.cpp --- stopwatch.o --- In file included from game/stopwatch.cpp:22: In file included from ./game/stopwatch.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. mv -f .deps/stopwatch.Tpo .deps/stopwatch.Po --- config.o --- 2 warnings generated. --- sprite.o --- --- config.o --- mv -f .deps/config.Tpo .deps/config.Po --- spriteanimation.o --- --- sprite.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT sprite.o -MD -MP -MF .deps/sprite.Tpo -c -o sprite.o `test -f 'graphic/sprite.cpp' || echo './'`graphic/sprite.cpp --- spriteanimation.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT spriteanimation.o -MD -MP -MF .deps/spriteanimation.Tpo -c -o spriteanimation.o `test -f 'graphic/spriteanimation.cpp' || echo './'`graphic/spriteanimation.cpp --- time.o --- 1 warning generated. mv -f .deps/time.Tpo .deps/time.Po --- spritecache.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT spritecache.o -MD -MP -MF .deps/spritecache.Tpo -c -o spritecache.o `test -f 'graphic/spritecache.cpp' || echo './'`graphic/spritecache.cpp --- composite_shape.o --- In file included from graphic/composite_shape.cpp:23: In file included from graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. --- fps.o --- In file included from graphic/fps.cpp:27: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- composite_shape.o --- mv -f .deps/composite_shape.Tpo .deps/composite_shape.Po --- surface.o --- --- fps.o --- In file included from graphic/fps.cpp:23: In file included from ./include/app.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- surface.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT surface.o -MD -MP -MF .deps/surface.Tpo -c -o surface.o `test -f 'graphic/surface.cpp' || echo './'`graphic/surface.cpp --- font.o --- In file included from graphic/font.cpp:22: In file included from ./include/app.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- fps.o --- 2 warnings generated. mv -f .deps/fps.Tpo .deps/fps.Po --- text.o --- --- polygon_generator.o --- In file included from graphic/polygon_generator.cpp:23: In file included from ./graphic/polygon_generator.h:25: In file included from graphic/polygon.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- text.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT text.o -MD -MP -MF .deps/text.Tpo -c -o text.o `test -f 'graphic/text.cpp' || echo './'`graphic/text.cpp --- polygon_generator.o --- 1 warning generated. mv -f .deps/polygon_generator.Tpo .deps/polygon_generator.Po --- text_list.o --- --- spriteanimation.o --- In file included from graphic/spriteanimation.cpp:25: In file included from ./game/game_time.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- polygon.o --- In file included from graphic/polygon.cpp:22: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- text_list.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT text_list.o -MD -MP -MF .deps/text_list.Tpo -c -o text_list.o `test -f 'graphic/text_list.cpp' || echo './'`graphic/text_list.cpp --- sprite.o --- In file included from graphic/sprite.cpp:37: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- spriteanimation.o --- 1 warning generated. mv -f .deps/spriteanimation.Tpo .deps/spriteanimation.Po --- video.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT video.o -MD -MP -MF .deps/video.Tpo -c -o video.o `test -f 'graphic/video.cpp' || echo './'`graphic/video.cpp --- sprite.o --- In file included from graphic/sprite.cpp:28: In file included from ../lib/warmux/include/WARMUX_rectangle.h:30: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- spritecache.o --- In file included from graphic/spritecache.cpp:25: In file included from ./graphic/spritecache.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from graphic/spritecache.cpp:25: ./graphic/spritecache.h:97:11: warning: private field 'sprite' is not used [-Wunused-private-field] Sprite &sprite; ^ --- font.o --- 1 warning generated. mv -f .deps/font.Tpo .deps/font.Po --- abstract_spin_button.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT abstract_spin_button.o -MD -MP -MF .deps/abstract_spin_button.Tpo -c -o abstract_spin_button.o `test -f 'gui/abstract_spin_button.cpp' || echo './'`gui/abstract_spin_button.cpp --- surface.o --- In file included from graphic/surface.cpp:38: ./graphic/fading_effect.h:315:7: warning: variable 'result' is uninitialized when used here [-Wuninitialized] result |= pixelColorNolock(dst, x1, y1, color); ^~~~~~ ./graphic/fading_effect.h:296:13: note: initialize the variable 'result' to silence this warning int result; ^ = 0 --- spritecache.o --- 2 warnings generated. mv -f .deps/spritecache.Tpo .deps/spritecache.Po --- button_pic.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT button_pic.o -MD -MP -MF .deps/button_pic.Tpo -c -o button_pic.o `test -f 'gui/big/button_pic.cpp' || echo './'`gui/big/button_pic.cpp --- surface.o --- In file included from graphic/surface.cpp:30: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- sprite.o --- 2 warnings generated. --- text.o --- In file included from graphic/text.cpp:25: In file included from ./interface/interface.h:32: ./weapon/weapon_strength_bar.h:39:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:124:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ --- sprite.o --- mv -f .deps/sprite.Tpo .deps/sprite.Po --- control_config.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT control_config.o -MD -MP -MF .deps/control_config.Tpo -c -o control_config.o `test -f 'gui/control_config.cpp' || echo './'`gui/control_config.cpp --- text.o --- In file included from graphic/text.cpp:21: In file included from ./graphic/text.h:25: In file included from graphic/font.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- text_list.o --- In file included from graphic/text_list.cpp:24: In file included from ./graphic/text_list.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- video.o --- graphic/video.cpp:115:32: warning: unused variable 'end' [-Wunused-variable] end = available_configs.end(); ^ graphic/video.cpp:114:32: warning: unused variable 'res' [-Wunused-variable] std::list::iterator res = available_configs.begin(), ^ --- text_list.o --- 1 warning generated. mv -f .deps/text_list.Tpo .deps/text_list.Po --- grid_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT grid_box.o -MD -MP -MF .deps/grid_box.Tpo -c -o grid_box.o `test -f 'gui/grid_box.cpp' || echo './'`gui/grid_box.cpp --- video.o --- In file included from graphic/video.cpp:23: In file included from ../lib/warmux/include/WARMUX_file_tools.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- abstract_spin_button.o --- In file included from gui/abstract_spin_button.cpp:22: In file included from ./gui/abstract_spin_button.h:25: In file included from ./gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- surface.o --- 2 warnings generated. mv -f .deps/surface.Tpo .deps/surface.Po --- text.o --- 2 warnings generated. mv -f .deps/text.Tpo .deps/text.Po --- vertical_box.o --- --- horizontal_box.o --- --- vertical_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT vertical_box.o -MD -MP -MF .deps/vertical_box.Tpo -c -o vertical_box.o `test -f 'gui/vertical_box.cpp' || echo './'`gui/vertical_box.cpp --- polygon.o --- 1 warning generated. --- horizontal_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT horizontal_box.o -MD -MP -MF .deps/horizontal_box.Tpo -c -o horizontal_box.o `test -f 'gui/horizontal_box.cpp' || echo './'`gui/horizontal_box.cpp --- polygon.o --- mv -f .deps/polygon.Tpo .deps/polygon.Po --- box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT box.o -MD -MP -MF .deps/box.Tpo -c -o box.o `test -f 'gui/box.cpp' || echo './'`gui/box.cpp --- abstract_spin_button.o --- 1 warning generated. mv -f .deps/abstract_spin_button.Tpo .deps/abstract_spin_button.Po --- button.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT button.o -MD -MP -MF .deps/button.Tpo -c -o button.o `test -f 'gui/button.cpp' || echo './'`gui/button.cpp --- button_pic.o --- In file included from gui/big/button_pic.cpp:22: In file included from ./gui/big/button_pic.h:25: In file included from ./gui/button.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- video.o --- 3 warnings generated. mv -f .deps/video.Tpo .deps/video.Po --- button_text.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT button_text.o -MD -MP -MF .deps/button_text.Tpo -c -o button_text.o `test -f 'gui/button_text.cpp' || echo './'`gui/button_text.cpp --- control_config.o --- In file included from gui/control_config.cpp:24: In file included from ./gui/horizontal_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/control_config.cpp:24: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/control_config.cpp:24: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/control_config.cpp:31: In file included from ./gui/select_box.h:26: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ gui/control_config.cpp:139:16: warning: 'ControlItem::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key) ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ --- button_pic.o --- 1 warning generated. mv -f .deps/button_pic.Tpo .deps/button_pic.Po --- check_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT check_box.o -MD -MP -MF .deps/check_box.Tpo -c -o check_box.o `test -f 'gui/check_box.cpp' || echo './'`gui/check_box.cpp --- control_config.o --- In file included from gui/control_config.cpp:22: In file included from ./game/config.h:36: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- grid_box.o --- In file included from gui/grid_box.cpp:22: In file included from ./gui/grid_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/grid_box.cpp:22: In file included from ./gui/grid_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/grid_box.cpp:22: In file included from ./gui/grid_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/grid_box.cpp:22: In file included from ./gui/grid_box.h:25: In file included from ./gui/box.h:25: In file included from ./gui/widget_list.h:26: In file included from gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- vertical_box.o --- In file included from gui/vertical_box.cpp:22: In file included from ./gui/vertical_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/vertical_box.cpp:22: In file included from ./gui/vertical_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/vertical_box.cpp:22: In file included from ./gui/vertical_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/vertical_box.cpp:22: In file included from ./gui/vertical_box.h:25: In file included from ./gui/box.h:25: In file included from ./gui/widget_list.h:26: In file included from gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- box.o --- In file included from gui/box.cpp:22: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/box.cpp:22: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/box.cpp:22: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- control_config.o --- 6 warnings generated. mv -f .deps/control_config.Tpo .deps/control_config.Po --- combo_box.o --- --- horizontal_box.o --- In file included from gui/horizontal_box.cpp:22: In file included from ./gui/horizontal_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/horizontal_box.cpp:22: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/horizontal_box.cpp:22: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- vertical_box.o --- 4 warnings generated. --- combo_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT combo_box.o -MD -MP -MF .deps/combo_box.Tpo -c -o combo_box.o `test -f 'gui/combo_box.cpp' || echo './'`gui/combo_box.cpp --- box.o --- In file included from gui/box.cpp:22: In file included from ./gui/box.h:25: In file included from ./gui/widget_list.h:26: In file included from gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- vertical_box.o --- mv -f .deps/vertical_box.Tpo .deps/vertical_box.Po --- horizontal_box.o --- In file included from gui/horizontal_box.cpp:22: In file included from ./gui/horizontal_box.h:25: In file included from ./gui/box.h:25: In file included from ./gui/widget_list.h:26: In file included from gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- energy_bar.o --- --- button.o --- In file included from gui/button.cpp:22: In file included from ./gui/button.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- energy_bar.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT energy_bar.o -MD -MP -MF .deps/energy_bar.Tpo -c -o energy_bar.o `test -f 'gui/energy_bar.cpp' || echo './'`gui/energy_bar.cpp --- box.o --- 4 warnings generated. mv -f .deps/box.Tpo .deps/box.Po --- figure_widget.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT figure_widget.o -MD -MP -MF .deps/figure_widget.Tpo -c -o figure_widget.o `test -f 'gui/figure_widget.cpp' || echo './'`gui/figure_widget.cpp --- grid_box.o --- 4 warnings generated. mv -f .deps/grid_box.Tpo .deps/grid_box.Po --- horizontal_box.o --- 4 warnings generated. --- graph_canvas.o --- --- horizontal_box.o --- mv -f .deps/horizontal_box.Tpo .deps/horizontal_box.Po --- graph_canvas.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT graph_canvas.o -MD -MP -MF .deps/graph_canvas.Tpo -c -o graph_canvas.o `test -f 'gui/graph_canvas.cpp' || echo './'`gui/graph_canvas.cpp --- button_text.o --- In file included from gui/button_text.cpp:22: In file included from ./gui/button_text.h:25: In file included from gui/button.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- label.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT label.o -MD -MP -MF .deps/label.Tpo -c -o label.o `test -f 'gui/label.cpp' || echo './'`gui/label.cpp --- button_text.o --- 1 warning generated. mv -f .deps/button_text.Tpo .deps/button_text.Po --- msg_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT msg_box.o -MD -MP -MF .deps/msg_box.Tpo -c -o msg_box.o `test -f 'gui/msg_box.cpp' || echo './'`gui/msg_box.cpp --- check_box.o --- In file included from gui/check_box.cpp:22: In file included from ./gui/check_box.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- button.o --- 1 warning generated. mv -f .deps/button.Tpo .deps/button.Po --- picture_text_cbox.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT picture_text_cbox.o -MD -MP -MF .deps/picture_text_cbox.Tpo -c -o picture_text_cbox.o `test -f 'gui/picture_text_cbox.cpp' || echo './'`gui/picture_text_cbox.cpp --- check_box.o --- 1 warning generated. mv -f .deps/check_box.Tpo .deps/check_box.Po --- picture_widget.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT picture_widget.o -MD -MP -MF .deps/picture_widget.Tpo -c -o picture_widget.o `test -f 'gui/picture_widget.cpp' || echo './'`gui/picture_widget.cpp --- combo_box.o --- In file included from gui/combo_box.cpp:26: ./gui/combo_box.h:59:19: warning: 'ComboBox::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget* Click(const Point2i&, uint) const { return NULL; }; ^ gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ --- energy_bar.o --- In file included from gui/energy_bar.cpp:25: In file included from ./gui/energy_bar.h:25: In file included from ./gui/progress_bar.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- combo_box.o --- In file included from gui/combo_box.cpp:22: In file included from ./graphic/polygon_generator.h:25: In file included from ./graphic/polygon.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- msg_box.o --- In file included from gui/msg_box.cpp:22: In file included from ./gui/msg_box.h:27: In file included from gui/scroll_box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/msg_box.cpp:22: In file included from ./gui/msg_box.h:27: In file included from gui/scroll_box.h:26: In file included from ./gui/vertical_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/msg_box.cpp:22: In file included from ./gui/msg_box.h:27: In file included from gui/scroll_box.h:26: In file included from ./gui/vertical_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/msg_box.cpp:22: In file included from ./gui/msg_box.h:27: gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ --- graph_canvas.o --- In file included from gui/graph_canvas.cpp:24: In file included from ./graphic/font.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- msg_box.o --- In file included from gui/msg_box.cpp:22: In file included from ./gui/msg_box.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- figure_widget.o --- In file included from gui/figure_widget.cpp:22: In file included from ./graphic/text.h:25: In file included from ./graphic/font.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- msg_box.o --- 5 warnings generated. mv -f .deps/msg_box.Tpo .deps/msg_box.Po --- progress_bar.o --- --- label.o --- In file included from gui/label.cpp:22: In file included from ./gui/label.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- progress_bar.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT progress_bar.o -MD -MP -MF .deps/progress_bar.Tpo -c -o progress_bar.o `test -f 'gui/progress_bar.cpp' || echo './'`gui/progress_bar.cpp --- figure_widget.o --- 1 warning generated. mv -f .deps/figure_widget.Tpo .deps/figure_widget.Po --- question.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT question.o -MD -MP -MF .deps/question.Tpo -c -o question.o `test -f 'gui/question.cpp' || echo './'`gui/question.cpp --- combo_box.o --- 2 warnings generated. mv -f .deps/combo_box.Tpo .deps/combo_box.Po --- scroll_box.o --- --- label.o --- 1 warning generated. --- scroll_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT scroll_box.o -MD -MP -MF .deps/scroll_box.Tpo -c -o scroll_box.o `test -f 'gui/scroll_box.cpp' || echo './'`gui/scroll_box.cpp --- label.o --- mv -f .deps/label.Tpo .deps/label.Po --- select_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT select_box.o -MD -MP -MF .deps/select_box.Tpo -c -o select_box.o `test -f 'gui/select_box.cpp' || echo './'`gui/select_box.cpp --- graph_canvas.o --- 1 warning generated. mv -f .deps/graph_canvas.Tpo .deps/graph_canvas.Po --- spin_button.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT spin_button.o -MD -MP -MF .deps/spin_button.Tpo -c -o spin_button.o `test -f 'gui/spin_button.cpp' || echo './'`gui/spin_button.cpp --- picture_text_cbox.o --- In file included from gui/picture_text_cbox.cpp:22: In file included from ./gui/picture_text_cbox.h:25: In file included from ./gui/check_box.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- energy_bar.o --- 1 warning generated. mv -f .deps/energy_bar.Tpo .deps/energy_bar.Po --- spin_button_picture.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT spin_button_picture.o -MD -MP -MF .deps/spin_button_picture.Tpo -c -o spin_button_picture.o `test -f 'gui/spin_button_picture.cpp' || echo './'`gui/spin_button_picture.cpp --- picture_widget.o --- In file included from gui/picture_widget.cpp:22: In file included from ./gui/picture_widget.h:27: In file included from gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- picture_text_cbox.o --- 1 warning generated. mv -f .deps/picture_text_cbox.Tpo .deps/picture_text_cbox.Po --- tabs.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT tabs.o -MD -MP -MF .deps/tabs.Tpo -c -o tabs.o `test -f 'gui/tabs.cpp' || echo './'`gui/tabs.cpp --- progress_bar.o --- In file included from gui/progress_bar.cpp:22: In file included from ./gui/progress_bar.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from gui/progress_bar.cpp:22: ./gui/progress_bar.h:47:7: warning: private field 'divisor' is not used [-Wunused-private-field] int divisor; ^ --- picture_widget.o --- 1 warning generated. mv -f .deps/picture_widget.Tpo .deps/picture_widget.Po --- talk_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT talk_box.o -MD -MP -MF .deps/talk_box.Tpo -c -o talk_box.o `test -f 'gui/talk_box.cpp' || echo './'`gui/talk_box.cpp --- select_box.o --- In file included from gui/select_box.cpp:23: In file included from ./gui/select_box.h:26: In file included from ./gui/scroll_box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/select_box.cpp:23: In file included from ./gui/select_box.h:26: In file included from ./gui/scroll_box.h:26: In file included from ./gui/vertical_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/select_box.cpp:23: In file included from ./gui/select_box.h:26: In file included from ./gui/scroll_box.h:26: In file included from ./gui/vertical_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/select_box.cpp:23: In file included from ./gui/select_box.h:26: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ --- scroll_box.o --- In file included from gui/scroll_box.cpp:25: In file included from ./gui/vertical_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/scroll_box.cpp:25: In file included from ./gui/vertical_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); --- question.o --- In file included from gui/question.cpp:22: In file included from ./graphic/video.h:25: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: --- scroll_box.o --- ^ In file included from gui/scroll_box.cpp:25: In file included from ./gui/vertical_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/scroll_box.cpp:26: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ --- question.o --- ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- progress_bar.o --- 2 warnings generated. --- scroll_box.o --- gui/scroll_box.cpp:182:15: warning: unused variable 'track_pos' [-Wunused-variable] Point2i track_pos = GetScrollTrackPos(); ^ --- select_box.o --- gui/select_box.cpp:145:19: warning: use of unary operator that may be intended as compound assignment (-=) selected_item =- 1; ^~ --- progress_bar.o --- mv -f .deps/progress_bar.Tpo .deps/progress_bar.Po --- text_box.o --- --- scroll_box.o --- In file included from gui/scroll_box.cpp:22: In file included from ./graphic/video.h:25: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- text_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT text_box.o -MD -MP -MF .deps/text_box.Tpo -c -o text_box.o `test -f 'gui/text_box.cpp' || echo './'`gui/text_box.cpp --- select_box.o --- In file included from gui/select_box.cpp:22: In file included from ./graphic/video.h:25: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- spin_button.o --- In file included from gui/spin_button.cpp:22: ./gui/spin_button.h:59:20: warning: 'SpinButton::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget * Click(const Point2i &/*mousePosition*/, uint /*button*/) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ In file included from gui/spin_button.cpp:22: In file included from ./gui/spin_button.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- scroll_box.o --- 6 warnings generated. mv -f .deps/scroll_box.Tpo .deps/scroll_box.Po --- spin_button_picture.o --- In file included from gui/spin_button_picture.cpp:22: ./gui/spin_button_picture.h:56:19: warning: 'SpinButtonWithPicture::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget* Click(const Point2i &/*mousePosition*/, uint /*button*/) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ --- question.o --- 1 warning generated. --- torus_cache.o --- --- question.o --- mv -f .deps/question.Tpo .deps/question.Po --- torus_cache.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT torus_cache.o -MD -MP -MF .deps/torus_cache.Tpo -c -o torus_cache.o `test -f 'gui/torus_cache.cpp' || echo './'`gui/torus_cache.cpp --- widget.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT widget.o -MD -MP -MF .deps/widget.Tpo -c -o widget.o `test -f 'gui/widget.cpp' || echo './'`gui/widget.cpp --- spin_button_picture.o --- In file included from gui/spin_button_picture.cpp:21: In file included from ./include/app.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- select_box.o --- 6 warnings generated. mv -f .deps/select_box.Tpo .deps/select_box.Po --- widget_list.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT widget_list.o -MD -MP -MF .deps/widget_list.Tpo -c -o widget_list.o `test -f 'gui/widget_list.cpp' || echo './'`gui/widget_list.cpp --- spin_button.o --- 2 warnings generated. mv -f .deps/spin_button.Tpo .deps/spin_button.Po --- tabs.o --- In file included from gui/tabs.cpp:29: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ --- action.o --- --- tabs.o --- In file included from gui/tabs.cpp:29: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/tabs.cpp:29: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- action.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT action.o -MD -MP -MF .deps/action.Tpo -c -o action.o `test -f 'include/action.cpp' || echo './'`include/action.cpp --- tabs.o --- In file included from gui/tabs.cpp:24: In file included from ./include/app.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- spin_button_picture.o --- 2 warnings generated. mv -f .deps/spin_button_picture.Tpo .deps/spin_button_picture.Po --- action_handler.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT action_handler.o -MD -MP -MF .deps/action_handler.Tpo -c -o action_handler.o `test -f 'include/action_handler.cpp' || echo './'`include/action_handler.cpp --- talk_box.o --- In file included from gui/talk_box.cpp:25: In file included from ./gui/msg_box.h:27: In file included from gui/scroll_box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from gui/talk_box.cpp:25: In file included from ./gui/msg_box.h:27: In file included from gui/scroll_box.h:26: In file included from ./gui/vertical_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/talk_box.cpp:25: In file included from ./gui/msg_box.h:27: In file included from gui/scroll_box.h:26: In file included from ./gui/vertical_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from gui/talk_box.cpp:25: In file included from ./gui/msg_box.h:27: gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ In file included from gui/talk_box.cpp:22: In file included from ./graphic/text.h:25: In file included from ./graphic/font.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- text_box.o --- In file included from gui/text_box.cpp:22: In file included from ./gui/text_box.h:25: In file included from gui/label.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- talk_box.o --- 5 warnings generated. mv -f .deps/talk_box.Tpo .deps/talk_box.Po --- constant.o --- --- tabs.o --- 4 warnings generated. --- constant.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT constant.o -MD -MP -MF .deps/constant.Tpo -c -o constant.o `test -f 'include/constant.cpp' || echo './'`include/constant.cpp --- tabs.o --- mv -f .deps/tabs.Tpo .deps/tabs.Po --- cursor.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT cursor.o -MD -MP -MF .deps/cursor.Tpo -c -o cursor.o `test -f 'interface/cursor.cpp' || echo './'`interface/cursor.cpp --- widget.o --- gui/widget.cpp:69:22: warning: base class 'rectangle' is uninitialized when used here to access 'rectangle::size' [-Wuninitialized] : Rectanglei(0, 0, size.x, size.y) ^ gui/widget.cpp:69:30: warning: base class 'rectangle' is uninitialized when used here to access 'rectangle::size' [-Wuninitialized] : Rectanglei(0, 0, size.x, size.y) ^ In file included from gui/widget.cpp:22: In file included from ./gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- torus_cache.o --- In file included from gui/torus_cache.cpp:22: In file included from ./graphic/polygon_generator.h:25: In file included from ./graphic/polygon.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- widget_list.o --- In file included from gui/widget_list.cpp:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ --- text_box.o --- 1 warning generated. mv -f .deps/text_box.Tpo .deps/text_box.Po --- widget_list.o --- In file included from gui/widget_list.cpp:24: In file included from ./graphic/video.h:25: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- game_msg.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT game_msg.o -MD -MP -MF .deps/game_msg.Tpo -c -o game_msg.o `test -f 'interface/game_msg.cpp' || echo './'`interface/game_msg.cpp --- widget.o --- 3 warnings generated. --- torus_cache.o --- 1 warning generated. --- widget.o --- mv -f .deps/widget.Tpo .deps/widget.Po --- torus_cache.o --- mv -f .deps/torus_cache.Tpo .deps/torus_cache.Po --- interface.o --- --- joystick.o --- --- interface.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT interface.o -MD -MP -MF .deps/interface.Tpo -c -o interface.o `test -f 'interface/interface.cpp' || echo './'`interface/interface.cpp --- joystick.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT joystick.o -MD -MP -MF .deps/joystick.Tpo -c -o joystick.o `test -f 'interface/joystick.cpp' || echo './'`interface/joystick.cpp --- action.o --- In file included from include/action.cpp:22: In file included from ./include/action.h:25: In file included from ../lib/warmux/include/WARMUX_action.h:28: In file included from ../lib/warmux/include/WARMUX_distant_cpu.h:27: In file included from ../lib/warmux/include/WARMUX_player.h:28: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. mv -f .deps/action.Tpo .deps/action.Po --- keyboard.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT keyboard.o -MD -MP -MF .deps/keyboard.Tpo -c -o keyboard.o `test -f 'interface/keyboard.cpp' || echo './'`interface/keyboard.cpp --- widget_list.o --- 2 warnings generated. mv -f .deps/widget_list.Tpo .deps/widget_list.Po --- loading_screen.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT loading_screen.o -MD -MP -MF .deps/loading_screen.Tpo -c -o loading_screen.o `test -f 'interface/loading_screen.cpp' || echo './'`interface/loading_screen.cpp --- constant.o --- In file included from include/constant.cpp:22: In file included from include/constant.h:24: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- action_handler.o --- In file included from include/action_handler.cpp:38: In file included from ./interface/interface.h:32: ./weapon/weapon_strength_bar.h:39:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:124:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ In file included from include/action_handler.cpp:45: In file included from ./menu/network_menu.h:25: In file included from ./menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from include/action_handler.cpp:45: In file included from ./menu/network_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from include/action_handler.cpp:45: In file included from ./menu/network_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- constant.o --- 1 warning generated. mv -f .deps/constant.Tpo .deps/constant.Po --- action_handler.o --- In file included from include/action_handler.cpp:58: In file included from ./weapon/gnu.h:25: ./weapon/weapon_launcher.h:60:16: warning: 'WeaponProjectile::SetEnergyDelta' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetEnergyDelta(int delta, bool do_report = true); ^ ./object/physical_obj.h:201:16: note: hidden overloaded virtual function 'PhysicalObj::SetEnergyDelta' declared here: type mismatch at 2nd parameter ('Character *' vs 'bool') virtual void SetEnergyDelta(int delta, Character* dealer); ^ --- man_machine_interface.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT man_machine_interface.o -MD -MP -MF .deps/man_machine_interface.Tpo -c -o man_machine_interface.o `test -f 'interface/man_machine_interface.cpp' || echo './'`interface/man_machine_interface.cpp --- cursor.o --- In file included from interface/cursor.cpp:22: In file included from ./interface/cursor.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- joystick.o --- In file included from interface/joystick.cpp:22: In file included from ./interface/joystick.h:25: In file included from ./interface/man_machine_interface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- interface.o --- In file included from interface/interface.cpp:23: In file included from ./interface/interface.h:32: ./weapon/weapon_strength_bar.h:39:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:124:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ --- game_msg.o --- In file included from interface/game_msg.cpp:22: In file included from ./interface/game_msg.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- cursor.o --- 1 warning generated. mv -f .deps/cursor.Tpo .deps/cursor.Po --- mouse.o --- --- action_handler.o --- In file included from include/action_handler.cpp:25: In file included from ../lib/warmux/include/WARMUX_distant_cpu.h:27: In file included from ../lib/warmux/include/WARMUX_player.h:28: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- mouse.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT mouse.o -MD -MP -MF .deps/mouse.Tpo -c -o mouse.o `test -f 'interface/mouse.cpp' || echo './'`interface/mouse.cpp --- interface.o --- In file included from interface/interface.cpp:41: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- game_msg.o --- 1 warning generated. mv -f .deps/game_msg.Tpo .deps/game_msg.Po --- mouse_cursor.o --- --- keyboard.o --- In file included from interface/keyboard.cpp:22: In file included from ./interface/keyboard.h:25: In file included from ./interface/man_machine_interface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- mouse_cursor.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT mouse_cursor.o -MD -MP -MF .deps/mouse_cursor.Tpo -c -o mouse_cursor.o `test -f 'interface/mouse_cursor.cpp' || echo './'`interface/mouse_cursor.cpp --- joystick.o --- 1 warning generated. mv -f .deps/joystick.Tpo .deps/joystick.Po --- move_intention.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT move_intention.o -MD -MP -MF .deps/move_intention.Tpo -c -o move_intention.o `test -f 'interface/move_intention.cpp' || echo './'`interface/move_intention.cpp --- interface.o --- In file included from interface/interface.cpp:22: In file included from ./include/action_handler.h:27: In file included from ../lib/warmux/include/WARMUX_action_handler.h:27: In file included from ../lib/warmux/include/WARMUX_action.h:28: In file included from ../lib/warmux/include/WARMUX_distant_cpu.h:27: In file included from ../lib/warmux/include/WARMUX_player.h:28: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- loading_screen.o --- In file included from interface/loading_screen.cpp:22: In file included from ./interface/loading_screen.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. mv -f .deps/loading_screen.Tpo .deps/loading_screen.Po --- man_machine_interface.o --- In file included from interface/man_machine_interface.cpp:23: In file included from ./interface/interface.h:32: ./weapon/weapon_strength_bar.h:39:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:124:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ --- weapon_help.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT weapon_help.o -MD -MP -MF .deps/weapon_help.Tpo -c -o weapon_help.o `test -f 'interface/weapon_help.cpp' || echo './'`interface/weapon_help.cpp --- man_machine_interface.o --- In file included from interface/man_machine_interface.cpp:33: In file included from ./menu/options_menu.h:25: In file included from ./menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from interface/man_machine_interface.cpp:33: In file included from ./menu/options_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from interface/man_machine_interface.cpp:33: In file included from ./menu/options_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- mouse.o --- In file included from interface/mouse.cpp:25: In file included from ./interface/interface.h:32: ./weapon/weapon_strength_bar.h:39:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:124:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ --- keyboard.o --- 1 warning generated. mv -f .deps/keyboard.Tpo .deps/keyboard.Po --- weapon_menu.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT weapon_menu.o -MD -MP -MF .deps/weapon_menu.Tpo -c -o weapon_menu.o `test -f 'interface/weapon_menu.cpp' || echo './'`interface/weapon_menu.cpp --- move_intention.o --- In file included from interface/move_intention.cpp:22: In file included from ./interface/move_intention.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. mv -f .deps/move_intention.Tpo .deps/move_intention.Po --- main.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp --- man_machine_interface.o --- In file included from interface/man_machine_interface.cpp:22: In file included from ./interface/man_machine_interface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- mouse_cursor.o --- In file included from interface/mouse_cursor.cpp:22: In file included from ./interface/mouse_cursor.h:25: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. mv -f .deps/mouse_cursor.Tpo .deps/mouse_cursor.Po --- camera.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT camera.o -MD -MP -MF .deps/camera.Tpo -c -o camera.o `test -f 'map/camera.cpp' || echo './'`map/camera.cpp --- mouse.o --- In file included from interface/mouse.cpp:22: In file included from ./interface/mouse.h:26: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- action_handler.o --- 6 warnings generated. mv -f .deps/action_handler.Tpo .deps/action_handler.Po --- ground.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT ground.o -MD -MP -MF .deps/ground.Tpo -c -o ground.o `test -f 'map/ground.cpp' || echo './'`map/ground.cpp --- weapon_help.o --- In file included from interface/weapon_help.cpp:27: In file included from ./interface/interface.h:32: ./weapon/weapon_strength_bar.h:39:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:124:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ --- interface.o --- 3 warnings generated. mv -f .deps/interface.Tpo .deps/interface.Po --- map.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT map.o -MD -MP -MF .deps/map.Tpo -c -o map.o `test -f 'map/map.cpp' || echo './'`map/map.cpp --- weapon_help.o --- In file included from interface/weapon_help.cpp:22: In file included from ./game/game_time.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- mouse.o --- 2 warnings generated. mv -f .deps/mouse.Tpo .deps/mouse.Po --- maps_list.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT maps_list.o -MD -MP -MF .deps/maps_list.Tpo -c -o maps_list.o `test -f 'map/maps_list.cpp' || echo './'`map/maps_list.cpp --- weapon_menu.o --- In file included from interface/weapon_menu.cpp:33: In file included from ./interface/interface.h:32: ./weapon/weapon_strength_bar.h:39:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:124:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ --- weapon_help.o --- 2 warnings generated. mv -f .deps/weapon_help.Tpo .deps/weapon_help.Po --- random_map.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT random_map.o -MD -MP -MF .deps/random_map.Tpo -c -o random_map.o `test -f 'map/random_map.cpp' || echo './'`map/random_map.cpp --- main.o --- In file included from main.cpp:39: In file included from ./menu/benchmark_menu.h:25: In file included from ./menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from main.cpp:39: In file included from ./menu/benchmark_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from main.cpp:39: In file included from ./menu/benchmark_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- weapon_menu.o --- interface/weapon_menu.cpp:396:12: warning: initialization of pointer of type 'Weapon *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ --- camera.o --- In file included from map/camera.cpp:32: In file included from ./interface/interface.h:32: ./weapon/weapon_strength_bar.h:39:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:124:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ --- weapon_menu.o --- In file included from interface/weapon_menu.cpp:24: In file included from ./game/config.h:36: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- camera.o --- In file included from map/camera.cpp:39: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- main.o --- In file included from main.cpp:28: In file included from ./game/config.h:36: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- ground.o --- In file included from map/ground.cpp:22: In file included from ./map/ground.h:26: In file included from map/tile.h:24: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- camera.o --- In file included from map/camera.cpp:23: In file included from ../lib/warmux/include/WARMUX_random.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- maps_list.o --- In file included from map/maps_list.cpp:34: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- ground.o --- 1 warning generated. --- map.o --- In file included from map/map.cpp:23: In file included from ./map/map.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- ground.o --- mv -f .deps/ground.Tpo .deps/ground.Po --- maps_list.o --- In file included from map/maps_list.cpp:24: In file included from ./include/action.h:25: In file included from ../lib/warmux/include/WARMUX_action.h:28: In file included from ../lib/warmux/include/WARMUX_distant_cpu.h:27: In file included from ../lib/warmux/include/WARMUX_player.h:28: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- sky.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT sky.o -MD -MP -MF .deps/sky.Tpo -c -o sky.o `test -f 'map/sky.cpp' || echo './'`map/sky.cpp --- man_machine_interface.o --- 5 warnings generated. mv -f .deps/man_machine_interface.Tpo .deps/man_machine_interface.Po --- tile.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT tile.o -MD -MP -MF .deps/tile.Tpo -c -o tile.o `test -f 'map/tile.cpp' || echo './'`map/tile.cpp --- camera.o --- 3 warnings generated. mv -f .deps/camera.Tpo .deps/camera.Po --- weapon_menu.o --- 3 warnings generated. mv -f .deps/weapon_menu.Tpo .deps/weapon_menu.Po --- tileitem.o --- --- water.o --- --- tileitem.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT tileitem.o -MD -MP -MF .deps/tileitem.Tpo -c -o tileitem.o `test -f 'map/tileitem.cpp' || echo './'`map/tileitem.cpp --- water.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT water.o -MD -MP -MF .deps/water.Tpo -c -o water.o `test -f 'map/water.cpp' || echo './'`map/water.cpp --- random_map.o --- In file included from map/random_map.cpp:32: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- main.o --- 4 warnings generated. mv -f .deps/main.Tpo .deps/main.Po --- wind.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT wind.o -MD -MP -MF .deps/wind.Tpo -c -o wind.o `test -f 'map/wind.cpp' || echo './'`map/wind.cpp --- random_map.o --- In file included from map/random_map.cpp:22: In file included from ./map/random_map.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- map.o --- 1 warning generated. mv -f .deps/map.Tpo .deps/map.Po --- benchmark_menu.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT benchmark_menu.o -MD -MP -MF .deps/benchmark_menu.Tpo -c -o benchmark_menu.o `test -f 'menu/benchmark_menu.cpp' || echo './'`menu/benchmark_menu.cpp --- sky.o --- In file included from map/sky.cpp:23: In file included from ./include/app.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- tile.o --- In file included from map/tile.cpp:20: In file included from ./map/tile.h:24: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- water.o --- In file included from map/water.cpp:27: In file included from ./interface/interface.h:32: ./weapon/weapon_strength_bar.h:39:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:124:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ --- maps_list.o --- 2 warnings generated. --- water.o --- In file included from map/water.cpp:35: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- maps_list.o --- mv -f .deps/maps_list.Tpo .deps/maps_list.Po --- credits_menu.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT credits_menu.o -MD -MP -MF .deps/credits_menu.Tpo -c -o credits_menu.o `test -f 'menu/credits_menu.cpp' || echo './'`menu/credits_menu.cpp --- tileitem.o --- In file included from map/tileitem.cpp:20: In file included from ./map/tileitem.h:23: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- water.o --- In file included from map/water.cpp:22: In file included from ./game/game_mode.h:29: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- sky.o --- 1 warning generated. mv -f .deps/sky.Tpo .deps/sky.Po --- game_menu.o --- --- random_map.o --- 2 warnings generated. --- game_menu.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT game_menu.o -MD -MP -MF .deps/game_menu.Tpo -c -o game_menu.o `test -f 'menu/game_menu.cpp' || echo './'`menu/game_menu.cpp --- wind.o --- In file included from map/wind.cpp:35: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- random_map.o --- mv -f .deps/random_map.Tpo .deps/random_map.Po --- game_mode_editor.o --- --- wind.o --- In file included from map/wind.cpp:36: In file included from ./interface/interface.h:32: ./weapon/weapon_strength_bar.h:39:16: warning: 'WeaponStrengthBar::DrawXY' hides overloaded virtual function [-Woverloaded-virtual] virtual void DrawXY(const Point2i &pos); ^ ./gui/progress_bar.h:124:16: note: hidden overloaded virtual function 'ProgressBar::DrawXY' declared here: different qualifiers ('const' vs unqualified) virtual void DrawXY(const Point2i & pos) const; ^ --- game_mode_editor.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT game_mode_editor.o -MD -MP -MF .deps/game_mode_editor.Tpo -c -o game_mode_editor.o `test -f 'menu/game_mode_editor.cpp' || echo './'`menu/game_mode_editor.cpp --- wind.o --- In file included from map/wind.cpp:22: In file included from ./map/wind.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- water.o --- 3 warnings generated. mv -f .deps/water.Tpo .deps/water.Po --- help_menu.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT help_menu.o -MD -MP -MF .deps/help_menu.Tpo -c -o help_menu.o `test -f 'menu/help_menu.cpp' || echo './'`menu/help_menu.cpp --- tileitem.o --- 1 warning generated. mv -f .deps/tileitem.Tpo .deps/tileitem.Po --- main_menu.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT main_menu.o -MD -MP -MF .deps/main_menu.Tpo -c -o main_menu.o `test -f 'menu/main_menu.cpp' || echo './'`menu/main_menu.cpp --- benchmark_menu.o --- In file included from menu/benchmark_menu.cpp:30: In file included from ./gui/horizontal_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/benchmark_menu.cpp:30: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/benchmark_menu.cpp:30: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- tile.o --- 1 warning generated. mv -f .deps/tile.Tpo .deps/tile.Po --- map_selection_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT map_selection_box.o -MD -MP -MF .deps/map_selection_box.Tpo -c -o map_selection_box.o `test -f 'menu/map_selection_box.cpp' || echo './'`menu/map_selection_box.cpp --- wind.o --- 3 warnings generated. mv -f .deps/wind.Tpo .deps/wind.Po --- menu.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT menu.o -MD -MP -MF .deps/menu.Tpo -c -o menu.o `test -f 'menu/menu.cpp' || echo './'`menu/menu.cpp --- benchmark_menu.o --- In file included from menu/benchmark_menu.cpp:22: In file included from ./game/config.h:36: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- credits_menu.o --- In file included from menu/credits_menu.cpp:22: In file included from ./menu/credits_menu.h:25: In file included from ./menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/credits_menu.cpp:22: In file included from ./menu/credits_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/credits_menu.cpp:22: In file included from ./menu/credits_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- game_menu.o --- In file included from menu/game_menu.cpp:22: In file included from ./menu/game_menu.h:25: In file included from menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/game_menu.cpp:22: In file included from ./menu/game_menu.h:25: In file included from menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/game_menu.cpp:22: In file included from ./menu/game_menu.h:25: In file included from menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/game_menu.cpp:25: In file included from ./menu/teams_selection_box.h:27: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ --- credits_menu.o --- In file included from menu/credits_menu.cpp:30: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ --- game_mode_editor.o --- In file included from menu/game_mode_editor.cpp:24: In file included from ./menu/game_mode_editor.h:25: In file included from ./gui/grid_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/game_mode_editor.cpp:24: In file included from ./menu/game_mode_editor.h:25: In file included from ./gui/grid_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/game_mode_editor.cpp:24: In file included from ./menu/game_mode_editor.h:25: In file included from ./gui/grid_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- game_menu.o --- In file included from menu/game_menu.cpp:32: ./gui/combo_box.h:59:19: warning: 'ComboBox::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget* Click(const Point2i&, uint) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ --- game_mode_editor.o --- In file included from menu/game_mode_editor.cpp:28: ./gui/combo_box.h:59:19: warning: 'ComboBox::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget* Click(const Point2i&, uint) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ --- game_menu.o --- In file included from menu/game_menu.cpp:22: In file included from ./menu/game_menu.h:25: In file included from menu/menu.h:25: In file included from ./gui/widget_list.h:26: In file included from ./gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- game_mode_editor.o --- In file included from menu/game_mode_editor.cpp:30: ./gui/spin_button_picture.h:56:19: warning: 'SpinButtonWithPicture::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget* Click(const Point2i &/*mousePosition*/, uint /*button*/) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ --- credits_menu.o --- In file included from menu/credits_menu.cpp:22: In file included from ./menu/credits_menu.h:25: In file included from ./menu/menu.h:25: In file included from ./gui/widget_list.h:26: In file included from ./gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- game_mode_editor.o --- In file included from menu/game_mode_editor.cpp:24: In file included from ./menu/game_mode_editor.h:25: In file included from ./gui/grid_box.h:25: In file included from ./gui/box.h:25: In file included from ./gui/widget_list.h:26: In file included from ./gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- game_menu.o --- 6 warnings generated. mv -f .deps/game_menu.Tpo .deps/game_menu.Po --- map_selection_box.o --- In file included from menu/map_selection_box.cpp:22: In file included from ./menu/map_selection_box.h:26: In file included from ./gui/vertical_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/map_selection_box.cpp:22: In file included from ./menu/map_selection_box.h:26: In file included from ./gui/vertical_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/map_selection_box.cpp:22: In file included from ./menu/map_selection_box.h:26: In file included from ./gui/vertical_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- network_connection_menu.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT network_connection_menu.o -MD -MP -MF .deps/network_connection_menu.Tpo -c -o network_connection_menu.o `test -f 'menu/network_connection_menu.cpp' || echo './'`menu/network_connection_menu.cpp --- main_menu.o --- In file included from menu/main_menu.cpp:23: In file included from ./menu/main_menu.h:26: In file included from menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/main_menu.cpp:23: In file included from ./menu/main_menu.h:26: In file included from menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ --- help_menu.o --- In file included from menu/help_menu.cpp:26: In file included from ./gui/control_config.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ --- main_menu.o --- ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/main_menu.cpp:23: In file included from ./menu/main_menu.h:26: In file included from menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- help_menu.o --- In file included from menu/help_menu.cpp:29: In file included from ./menu/help_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/help_menu.cpp:29: In file included from ./menu/help_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- map_selection_box.o --- In file included from menu/map_selection_box.cpp:22: In file included from ./menu/map_selection_box.h:25: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- credits_menu.o --- 5 warnings generated. mv -f .deps/credits_menu.Tpo .deps/credits_menu.Po --- network_menu.o --- --- help_menu.o --- In file included from menu/help_menu.cpp:22: In file included from ./include/app.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- network_menu.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT network_menu.o -MD -MP -MF .deps/network_menu.Tpo -c -o network_menu.o `test -f 'menu/network_menu.cpp' || echo './'`menu/network_menu.cpp --- game_mode_editor.o --- 6 warnings generated. mv -f .deps/game_mode_editor.Tpo .deps/game_mode_editor.Po --- network_teams_selection_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT network_teams_selection_box.o -MD -MP -MF .deps/network_teams_selection_box.Tpo -c -o network_teams_selection_box.o `test -f 'menu/network_teams_selection_box.cpp' || echo './'`menu/network_teams_selection_box.cpp --- main_menu.o --- In file included from menu/main_menu.cpp:23: In file included from ./menu/main_menu.h:26: In file included from menu/menu.h:25: In file included from ./gui/widget_list.h:26: In file included from ./gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- benchmark_menu.o --- 4 warnings generated. mv -f .deps/benchmark_menu.Tpo .deps/benchmark_menu.Po --- options_menu.o --- --- menu.o --- In file included from menu/menu.cpp:24: In file included from ./menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/menu.cpp:24: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/menu.cpp:24: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- options_menu.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT options_menu.o -MD -MP -MF .deps/options_menu.Tpo -c -o options_menu.o `test -f 'menu/options_menu.cpp' || echo './'`menu/options_menu.cpp --- menu.o --- In file included from menu/menu.cpp:35: ./gui/spin_button.h:59:20: warning: 'SpinButton::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget * Click(const Point2i &/*mousePosition*/, uint /*button*/) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ --- main_menu.o --- 4 warnings generated. mv -f .deps/main_menu.Tpo .deps/main_menu.Po --- map_selection_box.o --- 4 warnings generated. --- pause_menu.o --- --- map_selection_box.o --- mv -f .deps/map_selection_box.Tpo .deps/map_selection_box.Po --- pause_menu.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT pause_menu.o -MD -MP -MF .deps/pause_menu.Tpo -c -o pause_menu.o `test -f 'menu/pause_menu.cpp' || echo './'`menu/pause_menu.cpp --- results_menu.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT results_menu.o -MD -MP -MF .deps/results_menu.Tpo -c -o results_menu.o `test -f 'menu/results_menu.cpp' || echo './'`menu/results_menu.cpp --- menu.o --- In file included from menu/menu.cpp:24: In file included from ./menu/menu.h:25: In file included from ./gui/widget_list.h:26: In file included from ./gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from menu/menu.cpp:24: ./menu/menu.h:73:11: warning: private field 'selected_widget' is not used [-Wunused-private-field] Widget *selected_widget; ^ --- help_menu.o --- 4 warnings generated. mv -f .deps/help_menu.Tpo .deps/help_menu.Po --- team_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT team_box.o -MD -MP -MF .deps/team_box.Tpo -c -o team_box.o `test -f 'menu/team_box.cpp' || echo './'`menu/team_box.cpp --- network_connection_menu.o --- In file included from menu/network_connection_menu.cpp:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/network_connection_menu.cpp:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/network_connection_menu.cpp:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/network_connection_menu.cpp:28: In file included from ./gui/msg_box.h:27: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ In file included from menu/network_connection_menu.cpp:41: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- network_menu.o --- In file included from menu/network_menu.cpp:24: In file included from ./menu/network_menu.h:25: In file included from menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/network_menu.cpp:24: In file included from ./menu/network_menu.h:25: In file included from menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/network_menu.cpp:24: In file included from ./menu/network_menu.h:25: In file included from menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/network_menu.cpp:26: In file included from ./menu/network_teams_selection_box.h:27: In file included from ./menu/teams_selection_box.h:27: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ --- menu.o --- 6 warnings generated. mv -f .deps/menu.Tpo .deps/menu.Po --- teams_selection_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT teams_selection_box.o -MD -MP -MF .deps/teams_selection_box.Tpo -c -o teams_selection_box.o `test -f 'menu/teams_selection_box.cpp' || echo './'`menu/teams_selection_box.cpp --- network_connection_menu.o --- In file included from menu/network_connection_menu.cpp:22: In file included from ./game/config.h:36: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- network_menu.o --- In file included from menu/network_menu.cpp:34: ./gui/combo_box.h:59:19: warning: 'ComboBox::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget* Click(const Point2i&, uint) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ --- network_teams_selection_box.o --- In file included from menu/network_teams_selection_box.cpp:22: In file included from ./menu/teams_selection_box.h:26: In file included from ./gui/horizontal_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/network_teams_selection_box.cpp:22: In file included from ./menu/teams_selection_box.h:26: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ --- network_menu.o --- In file included from menu/network_menu.cpp:39: ./gui/spin_button.h:59:20: warning: 'SpinButton::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget * Click(const Point2i &/*mousePosition*/, uint /*button*/) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ --- network_teams_selection_box.o --- ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/network_teams_selection_box.cpp:22: In file included from ./menu/teams_selection_box.h:26: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/network_teams_selection_box.cpp:22: In file included from ./menu/teams_selection_box.h:27: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ --- options_menu.o --- In file included from menu/options_menu.cpp:25: In file included from ./menu/options_menu.h:25: In file included from menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/options_menu.cpp:25: In file included from ./menu/options_menu.h:25: In file included from menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/options_menu.cpp:25: In file included from ./menu/options_menu.h:25: In file included from menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- network_teams_selection_box.o --- In file included from menu/network_teams_selection_box.cpp:29: ./gui/spin_button.h:59:20: warning: 'SpinButton::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget * Click(const Point2i &/*mousePosition*/, uint /*button*/) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ In file included from menu/network_teams_selection_box.cpp:30: ./gui/spin_button_picture.h:56:19: warning: 'SpinButtonWithPicture::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget* Click(const Point2i &/*mousePosition*/, uint /*button*/) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ --- options_menu.o --- In file included from menu/options_menu.cpp:39: ./gui/combo_box.h:59:19: warning: 'ComboBox::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget* Click(const Point2i&, uint) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ In file included from menu/options_menu.cpp:43: In file included from ./gui/select_box.h:26: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ In file included from menu/options_menu.cpp:44: ./gui/spin_button_picture.h:56:19: warning: 'SpinButtonWithPicture::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget* Click(const Point2i &/*mousePosition*/, uint /*button*/) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ --- network_teams_selection_box.o --- In file included from menu/network_teams_selection_box.cpp:36: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] --- options_menu.o --- In file included from menu/options_menu.cpp:55: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- network_teams_selection_box.o --- #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- results_menu.o --- In file included from menu/results_menu.cpp:22: In file included from ./menu/results_menu.h:27: In file included from menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/results_menu.cpp:22: In file included from ./menu/results_menu.h:27: In file included from menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/results_menu.cpp:22: In file included from ./menu/results_menu.h:27: In file included from menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/results_menu.cpp:37: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ --- pause_menu.o --- In file included from menu/pause_menu.cpp:22: In file included from ./menu/pause_menu.h:25: In file included from ./menu/menu.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/pause_menu.cpp:22: In file included from ./menu/pause_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/pause_menu.cpp:22: In file included from ./menu/pause_menu.h:25: In file included from ./menu/menu.h:29: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- network_teams_selection_box.o --- In file included from menu/network_teams_selection_box.cpp:22: In file included from ./menu/teams_selection_box.h:26: In file included from ./gui/horizontal_box.h:25: In file included from ./gui/box.h:25: In file included from ./gui/widget_list.h:26: In file included from ./gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- network_menu.o --- In file included from menu/network_menu.cpp:21: In file included from ../lib/warmux/include/WARMUX_index_server.h:28: In file included from ../lib/warmux/include/WARMUX_socket.h:28: In file included from ../lib/warmux/include/WARMUX_network.h:27: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- options_menu.o --- In file included from menu/options_menu.cpp:25: In file included from ./menu/options_menu.h:25: In file included from menu/menu.h:25: In file included from ./gui/widget_list.h:26: In file included from ./gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- pause_menu.o --- In file included from menu/pause_menu.cpp:22: In file included from ./menu/pause_menu.h:25: In file included from menu/menu.h:25: In file included from ./gui/widget_list.h:26: In file included from ./gui/widget.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- team_box.o --- In file included from menu/team_box.cpp:27: ./gui/spin_button_picture.h:56:19: warning: 'SpinButtonWithPicture::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget* Click(const Point2i &/*mousePosition*/, uint /*button*/) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ In file included from menu/team_box.cpp:29: In file included from ./gui/vertical_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/team_box.cpp:29: In file included from ./gui/vertical_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/team_box.cpp:29: In file included from ./gui/vertical_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ --- results_menu.o --- In file included from menu/results_menu.cpp:50: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- pause_menu.o --- 4 warnings generated. mv -f .deps/pause_menu.Tpo .deps/pause_menu.Po --- admin_commands.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT admin_commands.o -MD -MP -MF .deps/admin_commands.Tpo -c -o admin_commands.o `test -f 'network/admin_commands.cpp' || echo './'`network/admin_commands.cpp --- results_menu.o --- In file included from menu/results_menu.cpp:22: In file included from ./menu/results_menu.h:26: In file included from ./graphic/surface.h:28: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- network_connection_menu.o --- 6 warnings generated. mv -f .deps/network_connection_menu.Tpo .deps/network_connection_menu.Po --- team_box.o --- In file included from menu/team_box.cpp:22: In file included from ./ai/ai_stupid_player.h:26: In file included from ./ai/ai_weapons_weighting.h:28: In file included from ./weapon/weapon.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- chat.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o `test -f 'network/chat.cpp' || echo './'`network/chat.cpp --- network_menu.o --- 7 warnings generated. --- network_teams_selection_box.o --- 8 warnings generated. --- network_menu.o --- mv -f .deps/network_menu.Tpo .deps/network_menu.Po --- network_teams_selection_box.o --- mv -f .deps/network_teams_selection_box.Tpo .deps/network_teams_selection_box.Po --- teams_selection_box.o --- In file included from menu/teams_selection_box.cpp:24: In file included from ./menu/teams_selection_box.h:26: In file included from ./gui/horizontal_box.h:25: In file included from ./gui/box.h:25: ./gui/widget_list.h:65:16: warning: 'WidgetList::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(SDL_keysym key); ^ ./gui/widget.h:94:16: note: hidden overloaded virtual function 'Widget::SendKey' declared here: type mismatch at 1st parameter ('const SDL_keysym &' vs 'SDL_keysym') virtual bool SendKey(const SDL_keysym &) { return false; }; ^ In file included from menu/teams_selection_box.cpp:24: In file included from ./menu/teams_selection_box.h:26: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:47:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(const Point2i & newBorder) { border = newBorder; }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: different number of parameters (2 vs 1) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/teams_selection_box.cpp:24: In file included from ./menu/teams_selection_box.h:26: In file included from ./gui/horizontal_box.h:25: ./gui/box.h:48:8: warning: 'Box::SetBorder' hides overloaded virtual function [-Woverloaded-virtual] void SetBorder(uint x, uint y) { border.SetValues(x, y); }; ^ ./gui/widget.h:113:16: note: hidden overloaded virtual function 'Widget::SetBorder' declared here: type mismatch at 1st parameter ('const Color &' vs 'uint' (aka 'unsigned int')) virtual void SetBorder(const Color & border_color, uint boder_size); ^ In file included from menu/teams_selection_box.cpp:24: In file included from ./menu/teams_selection_box.h:27: ./gui/scroll_box.h:80:16: warning: 'ScrollBox::SendKey' hides overloaded virtual function [-Woverloaded-virtual] virtual bool SendKey(const SDL_keysym & key); ^ ./gui/widget_list.h:65:16: note: hidden overloaded virtual function 'WidgetList::SendKey' declared here: type mismatch at 1st parameter ('SDL_keysym' vs 'const SDL_keysym &') virtual bool SendKey(SDL_keysym key); ^ --- chatlogger.o --- --- net_error_msg.o --- --- chatlogger.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT chatlogger.o -MD -MP -MF .deps/chatlogger.Tpo -c -o chatlogger.o `test -f 'network/chatlogger.cpp' || echo './'`network/chatlogger.cpp --- teams_selection_box.o --- In file included from menu/teams_selection_box.cpp:31: ./gui/spin_button.h:59:20: warning: 'SpinButton::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget * Click(const Point2i &/*mousePosition*/, uint /*button*/) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ In file included from menu/teams_selection_box.cpp:32: ./gui/spin_button_picture.h:56:19: warning: 'SpinButtonWithPicture::Click' hides overloaded virtual function [-Woverloaded-virtual] virtual Widget* Click(const Point2i &/*mousePosition*/, uint /*button*/) const { return NULL; }; ^ ./gui/widget.h:95:20: note: hidden overloaded virtual function 'Widget::Click' declared here: different qualifiers (unqualified vs 'const') virtual Widget * Click(const Point2i & mousePosition, uint button); ^ --- net_error_msg.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT net_error_msg.o -MD -MP -MF .deps/net_error_msg.Tpo -c -o net_error_msg.o `test -f 'network/net_error_msg.cpp' || echo './'`network/net_error_msg.cpp --- teams_selection_box.o --- In file included from menu/teams_selection_box.cpp:22: In file included from ./game/config.h:36: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- team_box.o --- 5 warnings generated. mv -f .deps/team_box.Tpo .deps/team_box.Po --- network.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT network.o -MD -MP -MF .deps/network.Tpo -c -o network.o `test -f 'network/network.cpp' || echo './'`network/network.cpp --- admin_commands.o --- In file included from network/admin_commands.cpp:23: In file included from ../lib/warmux/include/WARMUX_distant_cpu.h:27: In file included from ../lib/warmux/include/WARMUX_player.h:28: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- results_menu.o --- 6 warnings generated. mv -f .deps/results_menu.Tpo .deps/results_menu.Po --- network_client.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT network_client.o -MD -MP -MF .deps/network_client.Tpo -c -o network_client.o `test -f 'network/network_client.cpp' || echo './'`network/network_client.cpp --- admin_commands.o --- 1 warning generated. mv -f .deps/admin_commands.Tpo .deps/admin_commands.Po --- network_local.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT network_local.o -MD -MP -MF .deps/network_local.Tpo -c -o network_local.o `test -f 'network/network_local.cpp' || echo './'`network/network_local.cpp --- options_menu.o --- 8 warnings generated. mv -f .deps/options_menu.Tpo .deps/options_menu.Po --- teams_selection_box.o --- 7 warnings generated. --- network_server.o --- --- teams_selection_box.o --- mv -f .deps/teams_selection_box.Tpo .deps/teams_selection_box.Po --- network_server.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT network_server.o -MD -MP -MF .deps/network_server.Tpo -c -o network_server.o `test -f 'network/network_server.cpp' || echo './'`network/network_server.cpp --- randomsync.o --- --- chat.o --- In file included from network/chat.cpp:23: In file included from ./game/game_time.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- net_error_msg.o --- In file included from network/net_error_msg.cpp:22: In file included from ./network/net_error_msg.h:24: In file included from ./network/network.h:27: In file included from ../lib/warmux/include/WARMUX_network.h:27: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- randomsync.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT randomsync.o -MD -MP -MF .deps/randomsync.Tpo -c -o randomsync.o `test -f 'network/randomsync.cpp' || echo './'`network/randomsync.cpp --- net_error_msg.o --- 1 warning generated. mv -f .deps/net_error_msg.Tpo .deps/net_error_msg.Po --- barrel.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT barrel.o -MD -MP -MF .deps/barrel.Tpo -c -o barrel.o `test -f 'object/barrel.cpp' || echo './'`object/barrel.cpp --- chatlogger.o --- In file included from network/chatlogger.cpp:4: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- chat.o --- 1 warning generated. mv -f .deps/chat.Tpo .deps/chat.Po --- bonus_box.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT bonus_box.o -MD -MP -MF .deps/bonus_box.Tpo -c -o bonus_box.o `test -f 'object/bonus_box.cpp' || echo './'`object/bonus_box.cpp --- chatlogger.o --- 1 warning generated. mv -f .deps/chatlogger.Tpo .deps/chatlogger.Po --- medkit.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT medkit.o -MD -MP -MF .deps/medkit.Tpo -c -o medkit.o `test -f 'object/medkit.cpp' || echo './'`object/medkit.cpp --- network_server.o --- In file included from network/network_server.cpp:26: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H In file included from network/network_server.cpp:22: In file included from ../lib/warmux/include/WARMUX_socket.h:28: In file included from ../lib/warmux/include/WARMUX_network.h:27: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- randomsync.o --- In file included from network/randomsync.cpp:23: In file included from ./network/randomsync.h:26: In file included from ../lib/warmux/include/WARMUX_random.h:26: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- network_local.o --- In file included from network/network_local.cpp:22: In file included from ./network/network_local.h:25: In file included from network/network.h:27: In file included from ../lib/warmux/include/WARMUX_network.h:27: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- network_client.o --- In file included from network/network_client.cpp:31: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H In file included from network/network_client.cpp:21: In file included from ../lib/warmux/include/WARMUX_socket.h:28: In file included from ../lib/warmux/include/WARMUX_network.h:27: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- network_local.o --- 1 warning generated. mv -f .deps/network_local.Tpo .deps/network_local.Po --- randomsync.o --- 1 warning generated. mv -f .deps/randomsync.Tpo .deps/randomsync.Po --- objbox.o --- --- object_cfg.o --- --- objbox.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT objbox.o -MD -MP -MF .deps/objbox.Tpo -c -o objbox.o `test -f 'object/objbox.cpp' || echo './'`object/objbox.cpp --- object_cfg.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT object_cfg.o -MD -MP -MF .deps/object_cfg.Tpo -c -o object_cfg.o `test -f 'object/object_cfg.cpp' || echo './'`object/object_cfg.cpp --- network.o --- In file included from network/network.cpp:28: In file included from ../lib/warmux/include/WARMUX_distant_cpu.h:27: In file included from ../lib/warmux/include/WARMUX_player.h:28: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from network/network.cpp:31: network/network.h:81:8: warning: private field 'turn_master_player' is not used [-Wunused-private-field] bool turn_master_player; ^ --- network_server.o --- 2 warnings generated. mv -f .deps/network_server.Tpo .deps/network_server.Po --- barrel.o --- In file included from object/barrel.cpp:22: In file included from ./object/barrel.h:25: In file included from ./object/physical_obj.h:30: In file included from object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- objects_list.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT objects_list.o -MD -MP -MF .deps/objects_list.Tpo -c -o objects_list.o `test -f 'object/objects_list.cpp' || echo './'`object/objects_list.cpp --- network_client.o --- 2 warnings generated. mv -f .deps/network_client.Tpo .deps/network_client.Po --- physical_obj.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT physical_obj.o -MD -MP -MF .deps/physical_obj.Tpo -c -o physical_obj.o `test -f 'object/physical_obj.cpp' || echo './'`object/physical_obj.cpp --- barrel.o --- 1 warning generated. mv -f .deps/barrel.Tpo .deps/barrel.Po --- physics.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT physics.o -MD -MP -MF .deps/physics.Tpo -c -o physics.o `test -f 'object/physics.cpp' || echo './'`object/physics.cpp --- bonus_box.o --- In file included from object/bonus_box.cpp:37: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H In file included from object/bonus_box.cpp:23: In file included from ./object/bonus_box.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- network.o --- 2 warnings generated. mv -f .deps/network.Tpo .deps/network.Po --- body_member.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT body_member.o -MD -MP -MF .deps/body_member.Tpo -c -o body_member.o `test -f 'particles/body_member.cpp' || echo './'`particles/body_member.cpp --- object_cfg.o --- In file included from object/object_cfg.cpp:25: In file included from ./object/object_cfg.h:26: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- medkit.o --- In file included from object/medkit.cpp:23: In file included from ./object/medkit.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- objects_list.o --- In file included from object/objects_list.cpp:32: In file included from ./weapon/mine.h:28: ./weapon/weapon_launcher.h:60:16: warning: 'WeaponProjectile::SetEnergyDelta' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetEnergyDelta(int delta, bool do_report = true); ^ object/physical_obj.h:201:16: note: hidden overloaded virtual function 'PhysicalObj::SetEnergyDelta' declared here: type mismatch at 2nd parameter ('Character *' vs 'bool') virtual void SetEnergyDelta(int delta, Character* dealer); ^ --- object_cfg.o --- 1 warning generated. mv -f .deps/object_cfg.Tpo .deps/object_cfg.Po --- bullet.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT bullet.o -MD -MP -MF .deps/bullet.Tpo -c -o bullet.o `test -f 'particles/bullet.cpp' || echo './'`particles/bullet.cpp --- bonus_box.o --- 2 warnings generated. --- objects_list.o --- In file included from object/objects_list.cpp:22: In file included from ./object/objects_list.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- bonus_box.o --- mv -f .deps/bonus_box.Tpo .deps/bonus_box.Po --- dark_smoke.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT dark_smoke.o -MD -MP -MF .deps/dark_smoke.Tpo -c -o dark_smoke.o `test -f 'particles/dark_smoke.cpp' || echo './'`particles/dark_smoke.cpp --- physical_obj.o --- In file included from object/physical_obj.cpp:44: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H In file included from object/physical_obj.cpp:48: ./weapon/weapon_launcher.h:60:16: warning: 'WeaponProjectile::SetEnergyDelta' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetEnergyDelta(int delta, bool do_report = true); ^ ./object/physical_obj.h:201:16: note: hidden overloaded virtual function 'PhysicalObj::SetEnergyDelta' declared here: type mismatch at 2nd parameter ('Character *' vs 'bool') virtual void SetEnergyDelta(int delta, Character* dealer); ^ --- medkit.o --- 1 warning generated. mv -f .deps/medkit.Tpo .deps/medkit.Po --- explosion_particle.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT explosion_particle.o -MD -MP -MF .deps/explosion_particle.Tpo -c -o explosion_particle.o `test -f 'particles/explosion_particle.cpp' || echo './'`particles/explosion_particle.cpp --- objects_list.o --- 2 warnings generated. mv -f .deps/objects_list.Tpo .deps/objects_list.Po --- objbox.o --- In file included from object/objbox.cpp:22: In file included from ./object/objbox.h:25: In file included from ./object/physical_obj.h:30: In file included from object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- explosion_smoke.o --- --- physics.o --- In file included from object/physics.cpp:37: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- explosion_smoke.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT explosion_smoke.o -MD -MP -MF .deps/explosion_smoke.Tpo -c -o explosion_smoke.o `test -f 'particles/explosion_smoke.cpp' || echo './'`particles/explosion_smoke.cpp --- physical_obj.o --- In file included from object/physical_obj.cpp:28: In file included from ./character/character.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- physics.o --- In file included from object/physics.cpp:27: In file included from object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- body_member.o --- In file included from particles/body_member.cpp:22: In file included from ./particles/body_member.h:24: In file included from ./particles/particle.h:26: In file included from ./object/physical_obj.h:30: In file included from ./object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- objbox.o --- 1 warning generated. --- physics.o --- 2 warnings generated. --- objbox.o --- mv -f .deps/objbox.Tpo .deps/objbox.Po --- physics.o --- mv -f .deps/physics.Tpo .deps/physics.Po --- fading_text.o --- --- fire.o --- --- body_member.o --- 1 warning generated. --- fading_text.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT fading_text.o -MD -MP -MF .deps/fading_text.Tpo -c -o fading_text.o `test -f 'particles/fading_text.cpp' || echo './'`particles/fading_text.cpp --- body_member.o --- mv -f .deps/body_member.Tpo .deps/body_member.Po --- fire.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT fire.o -MD -MP -MF .deps/fire.Tpo -c -o fire.o `test -f 'particles/fire.cpp' || echo './'`particles/fire.cpp --- ground_particles.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT ground_particles.o -MD -MP -MF .deps/ground_particles.Tpo -c -o ground_particles.o `test -f 'particles/ground_particles.cpp' || echo './'`particles/ground_particles.cpp --- bullet.o --- In file included from particles/bullet.cpp:22: In file included from ./particles/bullet.h:24: In file included from ./particles/particle.h:26: In file included from ./object/physical_obj.h:30: In file included from ./object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- dark_smoke.o --- In file included from particles/dark_smoke.cpp:22: In file included from ./particles/dark_smoke.h:24: In file included from ./particles/particle.h:26: In file included from ./object/physical_obj.h:30: In file included from ./object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. mv -f .deps/dark_smoke.Tpo .deps/dark_smoke.Po --- ill_bubble.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT ill_bubble.o -MD -MP -MF .deps/ill_bubble.Tpo -c -o ill_bubble.o `test -f 'particles/ill_bubble.cpp' || echo './'`particles/ill_bubble.cpp --- explosion_smoke.o --- In file included from particles/explosion_smoke.cpp:23: In file included from ./particles/explosion_smoke.h:24: In file included from ./particles/particle.h:26: In file included from ./object/physical_obj.h:30: In file included from ./object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- bullet.o --- 1 warning generated. mv -f .deps/bullet.Tpo .deps/bullet.Po --- physical_obj.o --- 3 warnings generated. --- magic_star.o --- --- physical_obj.o --- mv -f .deps/physical_obj.Tpo .deps/physical_obj.Po --- magic_star.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT magic_star.o -MD -MP -MF .deps/magic_star.Tpo -c -o magic_star.o `test -f 'particles/magic_star.cpp' || echo './'`particles/magic_star.cpp --- particle.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT particle.o -MD -MP -MF .deps/particle.Tpo -c -o particle.o `test -f 'particles/particle.cpp' || echo './'`particles/particle.cpp --- explosion_smoke.o --- 1 warning generated. --- explosion_particle.o --- In file included from particles/explosion_particle.cpp:22: In file included from ./particles/explosion_particle.h:24: In file included from ./particles/particle.h:26: In file included from ./object/physical_obj.h:30: In file included from ./object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ In file included from particles/explosion_particle.cpp:22: ./particles/explosion_particle.h:28:7: warning: private field 'creation_time' is not used [-Wunused-private-field] int creation_time; ^ --- explosion_smoke.o --- mv -f .deps/explosion_smoke.Tpo .deps/explosion_smoke.Po --- polecat_fart.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT polecat_fart.o -MD -MP -MF .deps/polecat_fart.Tpo -c -o polecat_fart.o `test -f 'particles/polecat_fart.cpp' || echo './'`particles/polecat_fart.cpp --- explosion_particle.o --- 2 warnings generated. mv -f .deps/explosion_particle.Tpo .deps/explosion_particle.Po --- smoke.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT smoke.o -MD -MP -MF .deps/smoke.Tpo -c -o smoke.o `test -f 'particles/smoke.cpp' || echo './'`particles/smoke.cpp --- fading_text.o --- In file included from particles/fading_text.cpp:23: In file included from ./particles/fading_text.h:25: In file included from ./particles/explosion_smoke.h:24: In file included from ./particles/particle.h:26: In file included from ./object/physical_obj.h:30: In file included from ./object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- ground_particles.o --- In file included from particles/ground_particles.cpp:22: In file included from ./particles/ground_particles.h:24: In file included from ./particles/particle.h:26: In file included from ./object/physical_obj.h:30: In file included from ./object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- fire.o --- In file included from particles/fire.cpp:22: In file included from ./particles/fire.h:24: In file included from ./particles/particle.h:26: In file included from ./object/physical_obj.h:30: In file included from ./object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- fading_text.o --- 1 warning generated. mv -f .deps/fading_text.Tpo .deps/fading_text.Po --- star.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT star.o -MD -MP -MF .deps/star.Tpo -c -o star.o `test -f 'particles/star.cpp' || echo './'`particles/star.cpp --- ground_particles.o --- 1 warning generated. mv -f .deps/ground_particles.Tpo .deps/ground_particles.Po --- teleport_member.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT teleport_member.o -MD -MP -MF .deps/teleport_member.Tpo -c -o teleport_member.o `test -f 'particles/teleport_member.cpp' || echo './'`particles/teleport_member.cpp --- fire.o --- 1 warning generated. mv -f .deps/fire.Tpo .deps/fire.Po --- water_drop.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT water_drop.o -MD -MP -MF .deps/water_drop.Tpo -c -o water_drop.o `test -f 'particles/water_drop.cpp' || echo './'`particles/water_drop.cpp --- ill_bubble.o --- In file included from particles/ill_bubble.cpp:23: In file included from ./particles/ill_bubble.h:24: In file included from ./particles/explosion_smoke.h:24: In file included from ./particles/particle.h:26: In file included from ./object/physical_obj.h:30: In file included from ./object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- magic_star.o --- In file included from particles/magic_star.cpp:23: In file included from ./particles/magic_star.h:24: In file included from ./particles/particle.h:26: In file included from ./object/physical_obj.h:30: In file included from ./object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- ill_bubble.o --- 1 warning generated. mv -f .deps/ill_bubble.Tpo .deps/ill_bubble.Po --- jukebox.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT jukebox.o -MD -MP -MF .deps/jukebox.Tpo -c -o jukebox.o `test -f 'sound/jukebox.cpp' || echo './'`sound/jukebox.cpp --- magic_star.o --- 1 warning generated. mv -f .deps/magic_star.Tpo .deps/magic_star.Po --- sample_cache.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT sample_cache.o -MD -MP -MF .deps/sample_cache.Tpo -c -o sample_cache.o `test -f 'sound/sample_cache.cpp' || echo './'`sound/sample_cache.cpp --- particle.o --- In file included from particles/particle.cpp:22: In file included from ../lib/warmux/include/WARMUX_point.h:28: In file included from ../lib/warmux/include/WARMUX_vector2.h:4: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- smoke.o --- In file included from particles/smoke.cpp:22: In file included from ./particles/smoke.h:24: In file included from ./particles/particle.h:26: In file included from ./object/physical_obj.h:30: In file included from ./object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- polecat_fart.o --- In file included from particles/polecat_fart.cpp:22: In file included from ./character/character.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- smoke.o --- 1 warning generated. mv -f .deps/smoke.Tpo .deps/smoke.Po --- sound_sample.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT sound_sample.o -MD -MP -MF .deps/sound_sample.Tpo -c -o sound_sample.o `test -f 'sound/sound_sample.cpp' || echo './'`sound/sound_sample.cpp --- star.o --- In file included from particles/star.cpp:22: In file included from ./particles/particle.h:26: In file included from ./object/physical_obj.h:30: In file included from ./object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- polecat_fart.o --- 1 warning generated. mv -f .deps/polecat_fart.Tpo .deps/polecat_fart.Po --- custom_team.o --- --- star.o --- 1 warning generated. --- custom_team.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT custom_team.o -MD -MP -MF .deps/custom_team.Tpo -c -o custom_team.o `test -f 'team/custom_team.cpp' || echo './'`team/custom_team.cpp --- star.o --- mv -f .deps/star.Tpo .deps/star.Po --- custom_teams_list.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT custom_teams_list.o -MD -MP -MF .deps/custom_teams_list.Tpo -c -o custom_teams_list.o `test -f 'team/custom_teams_list.cpp' || echo './'`team/custom_teams_list.cpp --- particle.o --- 1 warning generated. mv -f .deps/particle.Tpo .deps/particle.Po --- results.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT results.o -MD -MP -MF .deps/results.Tpo -c -o results.o `test -f 'team/results.cpp' || echo './'`team/results.cpp --- teleport_member.o --- In file included from particles/teleport_member.cpp:22: In file included from ./particles/teleport_member.h:24: In file included from ./particles/particle.h:26: In file included from ./object/physical_obj.h:30: In file included from ./object/physics.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- water_drop.o --- In file included from particles/water_drop.cpp:22: In file included from ./game/game_time.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ particles/water_drop.cpp:28:12: warning: unused variable 'living_time' [-Wunused-const-variable] const uint living_time = 5000; ^ --- teleport_member.o --- 1 warning generated. mv -f .deps/teleport_member.Tpo .deps/teleport_member.Po --- team.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT team.o -MD -MP -MF .deps/team.Tpo -c -o team.o `test -f 'team/team.cpp' || echo './'`team/team.cpp --- jukebox.o --- In file included from sound/jukebox.cpp:34: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- sample_cache.o --- In file included from sound/sample_cache.cpp:28: In file included from sound/sample_cache.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- water_drop.o --- 2 warnings generated. mv -f .deps/water_drop.Tpo .deps/water_drop.Po --- jukebox.o --- In file included from sound/jukebox.cpp:22: In file included from ./sound/jukebox.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- team_energy.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT team_energy.o -MD -MP -MF .deps/team_energy.Tpo -c -o team_energy.o `test -f 'team/team_energy.cpp' || echo './'`team/team_energy.cpp --- sound_sample.o --- In file included from sound/sound_sample.cpp:24: In file included from ./sound/jukebox.h:30: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- custom_teams_list.o --- In file included from team/custom_teams_list.cpp:22: In file included from ./game/config.h:36: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- custom_team.o --- In file included from team/custom_team.cpp:28: In file included from ./game/config.h:36: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- sample_cache.o --- 1 warning generated. mv -f .deps/sample_cache.Tpo .deps/sample_cache.Po --- teams_list.o --- --- sound_sample.o --- 1 warning generated. --- teams_list.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT teams_list.o -MD -MP -MF .deps/teams_list.Tpo -c -o teams_list.o `test -f 'team/teams_list.cpp' || echo './'`team/teams_list.cpp --- sound_sample.o --- mv -f .deps/sound_sample.Tpo .deps/sound_sample.Po --- affine_transform.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT affine_transform.o -MD -MP -MF .deps/affine_transform.Tpo -c -o affine_transform.o `test -f 'tool/affine_transform.cpp' || echo './'`tool/affine_transform.cpp --- results.o --- In file included from team/results.cpp:23: In file included from ./include/app.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- custom_teams_list.o --- 1 warning generated. mv -f .deps/custom_teams_list.Tpo .deps/custom_teams_list.Po --- copynpaste.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT copynpaste.o -MD -MP -MF .deps/copynpaste.Tpo -c -o copynpaste.o `test -f 'tool/copynpaste.cpp' || echo './'`tool/copynpaste.cpp --- custom_team.o --- 1 warning generated. mv -f .deps/custom_team.Tpo .deps/custom_team.Po --- results.o --- 1 warning generated. --- resource_manager.o --- --- results.o --- mv -f .deps/results.Tpo .deps/results.Po --- resource_manager.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT resource_manager.o -MD -MP -MF .deps/resource_manager.Tpo -c -o resource_manager.o `test -f 'tool/resource_manager.cpp' || echo './'`tool/resource_manager.cpp --- stats.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT stats.o -MD -MP -MF .deps/stats.Tpo -c -o stats.o `test -f 'tool/stats.cpp' || echo './'`tool/stats.cpp --- team.o --- In file included from team/team.cpp:24: In file included from ../lib/warmux/include/WARMUX_action.h:28: In file included from ../lib/warmux/include/WARMUX_distant_cpu.h:27: In file included from ../lib/warmux/include/WARMUX_player.h:28: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- team_energy.o --- In file included from team/team_energy.cpp:22: In file included from ./team/team_energy.h:26: In file included from ./gui/energy_bar.h:25: In file included from ./gui/progress_bar.h:26: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- affine_transform.o --- In file included from tool/affine_transform.cpp:24: In file included from ./tool/affine_transform.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. mv -f .deps/affine_transform.Tpo .deps/affine_transform.Po --- string_tools.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT string_tools.o -MD -MP -MF .deps/string_tools.Tpo -c -o string_tools.o `test -f 'tool/string_tools.cpp' || echo './'`tool/string_tools.cpp --- jukebox.o --- 2 warnings generated. mv -f .deps/jukebox.Tpo .deps/jukebox.Po --- text_handling.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT text_handling.o -MD -MP -MF .deps/text_handling.Tpo -c -o text_handling.o `test -f 'tool/text_handling.cpp' || echo './'`tool/text_handling.cpp --- teams_list.o --- In file included from team/teams_list.cpp:23: In file included from ../lib/warmux/include/WARMUX_team_config.h:27: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- team_energy.o --- 1 warning generated. mv -f .deps/team_energy.Tpo .deps/team_energy.Po --- xml_document.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT xml_document.o -MD -MP -MF .deps/xml_document.Tpo -c -o xml_document.o `test -f 'tool/xml_document.cpp' || echo './'`tool/xml_document.cpp --- stats.o --- In file included from tool/stats.cpp:22: In file included from ./tool/stats.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ 1 warning generated. mv -f .deps/stats.Tpo .deps/stats.Po --- air_attack.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT air_attack.o -MD -MP -MF .deps/air_attack.Tpo -c -o air_attack.o `test -f 'weapon/air_attack.cpp' || echo './'`weapon/air_attack.cpp --- resource_manager.o --- In file included from tool/resource_manager.cpp:34: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- team.o --- 1 warning generated. mv -f .deps/team.Tpo .deps/team.Po --- airhammer.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT airhammer.o -MD -MP -MF .deps/airhammer.Tpo -c -o airhammer.o `test -f 'weapon/airhammer.cpp' || echo './'`weapon/airhammer.cpp --- text_handling.o --- mv -f .deps/text_handling.Tpo .deps/text_handling.Po --- anvil.o --- --- resource_manager.o --- In file included from tool/resource_manager.cpp:28: In file included from ./tool/resource_manager.h:33: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- anvil.o --- clang++ -DHAVE_CONFIG_H -I. -I../lib/warmux/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I ../src -DINSTALL_DATADIR=\"/opt/pkg/share/warmux/\" -DINSTALL_LOCALEDIR=\"/opt/pkg/share/locale\" -DFONT_FILE=\"/opt/pkg/share/warmux//font/Ubuntu-R.ttf\" -DPACKAGE_VERSION=\"11.01\" -I/opt/pkg/include -I../lib/warmux/include -I../lib/fixedpoint -Wall -Wextra -O2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include/libpng16 -I/usr/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/fribidi -fno-rtti -fno-exceptions -MT anvil.o -MD -MP -MF .deps/anvil.Tpo -c -o anvil.o `test -f 'weapon/anvil.cpp' || echo './'`weapon/anvil.cpp --- string_tools.o --- In file included from tool/string_tools.cpp:22: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H --- copynpaste.o --- tool/copynpaste.cpp:91:25: error: use of undeclared identifier 'CantGetPasteboardItemCount' require_noerr( err, CantGetPasteboardItemCount ); ^ --- string_tools.o --- In file included from tool/string_tools.cpp:22: In file included from ./tool/string_tools.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:290:18: warning: unused variable 'zero' [-Wunused-variable] fixed_point

zero = 0; ^ tool/string_tools.cpp:62:3: note: in instantiation of function template specialization 'fixedpoint::printTo<16>' requested here printTo(ss, x, places); ^ --- copynpaste.o --- tool/copynpaste.cpp:100:29: error: use of undeclared identifier 'CantGetPasteboardItemIdentifier' require_noerr( err, CantGetPasteboardItemIdentifier ); ^ tool/copynpaste.cpp:103:29: error: use of undeclared identifier 'CantCopyPasteboardItemFlavors' require_noerr( err, CantCopyPasteboardItemFlavors ); ^ tool/copynpaste.cpp:119:37: error: use of undeclared identifier 'CantCopyFlavorData' require_noerr( err, CantCopyFlavorData ); ^ tool/copynpaste.cpp:165:25: error: use of undeclared identifier 'PasteboardCreateFailed' require_noerr( err, PasteboardCreateFailed ); ^ 5 errors generated. *** [copynpaste.o] Error code 1 bmake[2]: stopped in /opt/work/games/warmux/work/warmux-11.01/src --- xml_document.o --- In file included from tool/xml_document.cpp:24: ./tool/string_tools.h:22:9: warning: 'STRING_TOOLS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef STRING_TOOLS_H ^~~~~~~~~~~~~~ ./tool/string_tools.h:23:9: note: 'STRING_TOOLS__H' is defined here; did you mean 'STRING_TOOLS_H'? #define STRING_TOOLS__H ^~~~~~~~~~~~~~~ STRING_TOOLS_H In file included from tool/xml_document.cpp:23: In file included from ./tool/xml_document.h:8: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- string_tools.o --- 2 warnings generated. mv -f .deps/string_tools.Tpo .deps/string_tools.Po --- teams_list.o --- 1 warning generated. mv -f .deps/teams_list.Tpo .deps/teams_list.Po --- air_attack.o --- In file included from weapon/air_attack.cpp:37: In file included from ./weapon/air_attack.h:25: ./weapon/weapon_launcher.h:60:16: warning: 'WeaponProjectile::SetEnergyDelta' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetEnergyDelta(int delta, bool do_report = true); ^ ./object/physical_obj.h:201:16: note: hidden overloaded virtual function 'PhysicalObj::SetEnergyDelta' declared here: type mismatch at 2nd parameter ('Character *' vs 'bool') virtual void SetEnergyDelta(int delta, Character* dealer); ^ --- xml_document.o --- 2 warnings generated. mv -f .deps/xml_document.Tpo .deps/xml_document.Po --- resource_manager.o --- 2 warnings generated. mv -f .deps/resource_manager.Tpo .deps/resource_manager.Po --- air_attack.o --- In file included from weapon/air_attack.cpp:24: In file included from ./character/character.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- anvil.o --- In file included from weapon/anvil.cpp:38: In file included from ./weapon/anvil.h:26: ./weapon/weapon_launcher.h:60:16: warning: 'WeaponProjectile::SetEnergyDelta' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetEnergyDelta(int delta, bool do_report = true); ^ ./object/physical_obj.h:201:16: note: hidden overloaded virtual function 'PhysicalObj::SetEnergyDelta' declared here: type mismatch at 2nd parameter ('Character *' vs 'bool') virtual void SetEnergyDelta(int delta, Character* dealer); ^ --- airhammer.o --- In file included from weapon/airhammer.cpp:22: In file included from ./weapon/airhammer.h:25: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- anvil.o --- In file included from weapon/anvil.cpp:24: In file included from ./character/character.h:27: In file included from ../lib/warmux/include/WARMUX_base.h:25: In file included from ../lib/warmux/include/WARMUX_types.h:23: ../lib/fixedpoint/fixed_class.h:219:15: warning: 'static' function 'isDigit' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static bool isDigit(int c) { ^ --- airhammer.o --- 1 warning generated. mv -f .deps/airhammer.Tpo .deps/airhammer.Po --- air_attack.o --- 2 warnings generated. mv -f .deps/air_attack.Tpo .deps/air_attack.Po --- anvil.o --- 2 warnings generated. mv -f .deps/anvil.Tpo .deps/anvil.Po 1 error bmake[2]: stopped in /opt/work/games/warmux/work/warmux-11.01/src *** [all-recursive] Error code 1 bmake[1]: stopped in /opt/work/games/warmux/work/warmux-11.01/src 1 error bmake[1]: stopped in /opt/work/games/warmux/work/warmux-11.01/src *** [all-recursive] Error code 1 bmake: stopped in /opt/work/games/warmux/work/warmux-11.01 1 error bmake: stopped in /opt/work/games/warmux/work/warmux-11.01 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/games/warmux *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/games/warmux