shadowm icon

Untitled

shadowm | PRO | 09/04/16 01:47:55 AM UTC | 0 ⭐ | 328 👁️ | Never ⏰ | []
text |

5.99 KB

|

None

|

0 👍

/

0 👎

22:46:02 shadowm@nanacore git:master ~/src/wesnoth % scons -j1 -k
scons: Reading SConscript files ...
Saved options: default_targets = 'campaignd,test,wesnoth,wesnothd', extra_flags_config = '-pipe -march=native', extra_flags_release = '-O3', prefsdir = '.wesnoth-1.13', forum_user_handler = True, server_gid = '1000', server_uid = '1000', strict = True, jobs = 8, ccache = True, lockfile = True
Building Wesnoth version 1.13.5+dev
Creating lockfile
---[checking prerequisites]---
Checking for C header file poll.h... (cached) yes
Checking for C header file sys/poll.h... (cached) yes
Checking for C header file sys/select.h... (cached) yes
Checking for C header file sys/sendfile.h... (cached) yes
Checking for C function sendfile()... (cached) yes
Checking for C library m... (cached) yes
Checking for C function round()... (cached) yes
Checking whether C++ compiler works (g++ version >= 3.3 required)... (cached) yes
Checking for Boost iostreams library version >= 1.34.1... (cached) yes
Checking for gzip support in Boost Iostreams... (cached) yes
Checking for bzip2 support in Boost Iostreams... (cached) yes
Checking for C library pthread... (cached) yes
Checking for Boost system library... (cached) yes
Checking for Boost asio library... (cached) yes
Checking for Boost random library version >= 1.40.0... (cached) yes
Checking for Boost smart_ptr library... (cached) yes
Checking for Boost system library... (cached) yes
Checking for Boost filesystem library version >= 1.44.0... (cached) yes
Checking for Boost locale library... (cached) yes
GOOD: Base prerequisites are met
Checking for Simple DirectMedia Layer library version >= 2.0.2... (cached) yes
Checking for SDL2_net library... (cached) yes
Checking for Simple DirectMedia Layer library version >= 2.0.2... (cached) yes
Checking for SDL2_ttf library... (cached) yes
Checking for SDL2_mixer library... (cached) yes
Checking for SDL2_image library... (cached) yes
Checking for C library vorbisfile... (cached) yes
Checking for Ogg Vorbis support in SDL... (cached) yes
Checking for PNG support in SDL... (cached) yes
Checking for JPG support in SDL... (cached) yes
Checking for Pango with cairo backend... (cached) yes
Checking for fontconfig... (cached) yes
Checking for Boost program_options library version >= 1.35.0... (cached) yes
Checking for Boost thread library... (cached) yes
Checking for Boost regex library... (cached) yes
Checking for C library X11... (cached) yes
Checking for dbus-1... (cached) yes
Checking for fribidi >= 0.10.9... (cached) yes
Checking for C library png... (cached) yes
Checking for C library history... (cached) yes
Checking for Boost unit_test_framework library... (cached) yes
Checking for SDL2_net library... (cached) yes
  If any config checks fail, look in build/config.log for details
  If a check fails spuriously due to caching, use --config=force to force its rerun
---[applying configuration]---
scons: done reading SConscript files.
scons: Building targets ...
/usr/bin/ccache g++ -o build/release/tstring.o -c -std=c++11 -pipe -march=native -W -Wall -Werror -Wold-style-cast -Wno-unused-local-typedefs -O2 -O3 -D_REENTRANT -DHAVE_CONFIG_H -D_X11 -Ibuild -Isrc -isystem /usr/include/SDL2 src/tstring.cpp
src/tstring.cpp: In constructor ‘t_string_base::t_string_base(const string&, const string&, int, const string&)’:
src/tstring.cpp:297:39: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
  *reinterpret_cast<int32_t*>(count_val) = count;
                                       ^
cc1plus: all warnings being treated as errors
scons: *** [build/release/tstring.o] Error 1
/usr/bin/ccache g++ -o build/release/tests/gui/test_gui2.o -c -std=c++11 -pipe -march=native -pthread -W -Wall -Werror -Wold-style-cast -Wno-unused-local-typedefs -O2 -O3 -D_REENTRANT -DHAVE_LIBDBUS -DHAVE_FRIBIDI -DHAVE_LIBPNG -DHAVE_HISTORY -DHAVE_CONFIG_H -D_X11 -DBOOST_TEST_DYN_LINK -Ibuild -Isrc -isystem /usr/include/SDL2 -isystem /usr/include/pango-1.0 -isystem /usr/include/harfbuzz -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/x86_64-linux-gnu/dbus-1.0/include -isystem /usr/include/fribidi src/tests/gui/test_gui2.cpp
src/tests/gui/test_gui2.cpp: In member function ‘gui2::teditor_edit_side* {anonymous}::twrapper<gui2::teditor_edit_side>::create()’:
src/tests/gui/test_gui2.cpp:686:129: error: no matching function for call to ‘gui2::teditor_edit_side::teditor_edit_side(int, std::__cxx11::string&, std::__cxx11::string&, int&, int&, int&, int&, bool&, bool&, team::SHARE_VISION&, team::CONTROLLER&, bool&, bool&)’
   teditor_edit_side(1, name, user_name, gold, income, village, support, fog, shroud, share_vision, controller, no_leader, hidden);
                                                                                                                                 ^
In file included from src/tests/gui/test_gui2.cpp:44:0:
src/gui/dialogs/editor/edit_side.hpp:31:11: note: candidate: gui2::teditor_edit_side::teditor_edit_side(editor::editor_team_info&)
  explicit teditor_edit_side(editor::editor_team_info& info);
           ^~~~~~~~~~~~~~~~~
src/gui/dialogs/editor/edit_side.hpp:31:11: note:   candidate expects 1 argument, 13 provided
src/gui/dialogs/editor/edit_side.hpp:28:7: note: candidate: gui2::teditor_edit_side::teditor_edit_side(const gui2::teditor_edit_side&)
 class teditor_edit_side : public tdialog
       ^~~~~~~~~~~~~~~~~
src/gui/dialogs/editor/edit_side.hpp:28:7: note:   candidate expects 1 argument, 13 provided
src/gui/dialogs/editor/edit_side.hpp:28:7: note: candidate: gui2::teditor_edit_side::teditor_edit_side(gui2::teditor_edit_side&&)
src/gui/dialogs/editor/edit_side.hpp:28:7: note:   candidate expects 1 argument, 13 provided
scons: *** [build/release/tests/gui/test_gui2.o] Error 1
scons: done building targets (errors occurred during build).

Comments