Advertisement
shadowm

Untitled

Aug 12th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.22 KB | None | 0 0
  1. 01:00:31 shadowm@nanacore git:master ~/src/wesnoth % scons -j1 -k
  2. scons: Reading SConscript files ...
  3. 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
  4. Building Wesnoth version 1.13.5+dev
  5. Creating lockfile
  6. ---[checking prerequisites]---
  7. Checking for C header file poll.h... (cached) yes
  8. Checking for C header file sys/poll.h... (cached) yes
  9. Checking for C header file sys/select.h... (cached) yes
  10. Checking for C header file sys/sendfile.h... (cached) yes
  11. Checking for C function sendfile()... (cached) yes
  12. Checking for C library m... (cached) yes
  13. Checking for C function round()... (cached) yes
  14. Checking whether C++ compiler works (g++ version >= 3.3 required)... (cached) yes
  15. Checking for Boost iostreams library version >= 1.34.1... (cached) yes
  16. Checking for gzip support in Boost Iostreams... (cached) yes
  17. Checking for bzip2 support in Boost Iostreams... (cached) yes
  18. Checking for C library pthread... (cached) yes
  19. Checking for Boost system library... (cached) yes
  20. Checking for Boost asio library... (cached) yes
  21. Checking for Boost random library version >= 1.40.0... (cached) yes
  22. Checking for Boost smart_ptr library... (cached) yes
  23. Checking for Boost system library... (cached) yes
  24. Checking for Boost filesystem library version >= 1.44.0... (cached) yes
  25. Checking for Boost locale library... (cached) yes
  26. GOOD: Base prerequisites are met
  27. Checking for Simple DirectMedia Layer library version >= 2.0.2... (cached) yes
  28. Checking for SDL2_net library... (cached) yes
  29. Checking for Simple DirectMedia Layer library version >= 2.0.2... (cached) yes
  30. Checking for SDL2_ttf library... (cached) yes
  31. Checking for SDL2_mixer library... (cached) yes
  32. Checking for SDL2_image library... (cached) yes
  33. Checking for C library vorbisfile... (cached) yes
  34. Checking for Ogg Vorbis support in SDL... (cached) yes
  35. Checking for PNG support in SDL... (cached) yes
  36. Checking for JPG support in SDL... (cached) yes
  37. Checking for Pango with cairo backend... (cached) yes
  38. Checking for fontconfig... (cached) yes
  39. Checking for Boost program_options library version >= 1.35.0... (cached) yes
  40. Checking for Boost thread library... (cached) yes
  41. Checking for Boost regex library... (cached) yes
  42. Checking for C library X11... (cached) yes
  43. Checking for dbus-1... (cached) yes
  44. Checking for fribidi >= 0.10.9... (cached) yes
  45. Checking for C library png... (cached) yes
  46. Checking for C library history... (cached) yes
  47. Checking for Boost unit_test_framework library... (cached) yes
  48. Checking for SDL2_net library... (cached) yes
  49. If any config checks fail, look in build/config.log for details
  50. If a check fails spuriously due to caching, use --config=force to force its rerun
  51. ---[applying configuration]---
  52. scons: done reading SConscript files.
  53. scons: Building targets ...
  54. scons: `campaignd' is up to date.
  55. /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
  56. src/tests/gui/test_gui2.cpp: In static member function ‘static gui2::tmp_create_game* {anonymous}::twrapper<gui2::tmp_create_game>::create()’:
  57. src/tests/gui/test_gui2.cpp:771:47: error: no matching function for call to ‘gui2::tmp_create_game::tmp_create_game(config&)’
  58. return new gui2::tmp_create_game(main_config);
  59. ^
  60. In file included from src/tests/gui/test_gui2.cpp:64:0:
  61. src/gui/dialogs/multiplayer/mp_create_game.hpp:31:11: note: candidate: gui2::tmp_create_game::tmp_create_game(const config&, ng::create_engine&)
  62. explicit tmp_create_game(const config& cfg, ng::create_engine& eng);
  63. ^~~~~~~~~~~~~~~
  64. src/gui/dialogs/multiplayer/mp_create_game.hpp:31:11: note: candidate expects 2 arguments, 1 provided
  65. src/gui/dialogs/multiplayer/mp_create_game.hpp:28:7: note: candidate: gui2::tmp_create_game::tmp_create_game(const gui2::tmp_create_game&)
  66. class tmp_create_game : public tdialog
  67. ^~~~~~~~~~~~~~~
  68. src/gui/dialogs/multiplayer/mp_create_game.hpp:28:7: note: no known conversion for argument 1 from ‘config’ to ‘const gui2::tmp_create_game&’
  69. src/gui/dialogs/multiplayer/mp_create_game.hpp:28:7: note: candidate: gui2::tmp_create_game::tmp_create_game(gui2::tmp_create_game&&)
  70. src/gui/dialogs/multiplayer/mp_create_game.hpp:28:7: note: no known conversion for argument 1 from ‘config’ to ‘gui2::tmp_create_game&&’
  71. scons: *** [build/release/tests/gui/test_gui2.o] Error 1
  72. /usr/bin/ccache g++ -o build/release/xBRZ/xbrz.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 -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/xBRZ/xbrz.cpp
  73. src/xBRZ/xbrz.cpp: In function ‘void {anonymous}::scaleImage(const uint32_t*, uint32_t*, int, int, const xbrz::ScalerCfg&, int, int) [with Scaler = {anonymous}::Scaler4x]’:
  74. src/xBRZ/xbrz.cpp:590:17: error: ‘*((void*)& result +8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  75. BlendResult result;
  76. ^~~~~~
  77. src/xBRZ/xbrz.cpp:590:17: error: ‘*((void*)& result +8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  78. src/xBRZ/xbrz.cpp:590:17: error: ‘result’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  79. src/xBRZ/xbrz.cpp:590:17: error: ‘*((void*)& result +12)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  80. src/xBRZ/xbrz.cpp:669:67: error: ‘*((void*)& result +4)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  81. inline void setBottomL(unsigned char& b, BlendType bt) { b |= (bt << 6); }
  82. ~~~~^~~~~
  83. src/xBRZ/xbrz.cpp:590:17: note: ‘*((void*)& result +4)’ was declared here
  84. BlendResult result;
  85. ^~~~~~
  86. src/xBRZ/xbrz.cpp:666:61: error: ‘*((void*)& result +12)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  87. inline void setTopL (unsigned char& b, BlendType bt) { b |= bt; } //buffer is assumed to be initialized before preprocessing!
  88. ^~
  89. src/xBRZ/xbrz.cpp:590:17: note: ‘*((void*)& result +12)’ was declared here
  90. BlendResult result;
  91. ^~~~~~
  92. src/xBRZ/xbrz.cpp: In function ‘void {anonymous}::scaleImage(const uint32_t*, uint32_t*, int, int, const xbrz::ScalerCfg&, int, int) [with Scaler = {anonymous}::Scaler3x]’:
  93. src/xBRZ/xbrz.cpp:590:17: error: ‘*((void*)& result +8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  94. src/xBRZ/xbrz.cpp:590:17: error: ‘*((void*)& result +8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  95. src/xBRZ/xbrz.cpp:590:17: error: ‘result’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  96. src/xBRZ/xbrz.cpp:590:17: error: ‘*((void*)& result +12)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  97. src/xBRZ/xbrz.cpp:669:67: error: ‘*((void*)& result +4)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  98. inline void setBottomL(unsigned char& b, BlendType bt) { b |= (bt << 6); }
  99. ~~~~^~~~~
  100. src/xBRZ/xbrz.cpp:590:17: note: ‘*((void*)& result +4)’ was declared here
  101. BlendResult result;
  102. ^~~~~~
  103. src/xBRZ/xbrz.cpp:666:61: error: ‘*((void*)& result +12)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  104. inline void setTopL (unsigned char& b, BlendType bt) { b |= bt; } //buffer is assumed to be initialized before preprocessing!
  105. ^~
  106. src/xBRZ/xbrz.cpp:590:17: note: ‘*((void*)& result +12)’ was declared here
  107. BlendResult result;
  108. ^~~~~~
  109. src/xBRZ/xbrz.cpp: In function ‘void {anonymous}::scaleImage(const uint32_t*, uint32_t*, int, int, const xbrz::ScalerCfg&, int, int) [with Scaler = {anonymous}::Scaler2x]’:
  110. src/xBRZ/xbrz.cpp:590:17: error: ‘*((void*)& result +8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  111. src/xBRZ/xbrz.cpp:590:17: error: ‘*((void*)& result +8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  112. src/xBRZ/xbrz.cpp:590:17: error: ‘result’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  113. src/xBRZ/xbrz.cpp:590:17: error: ‘*((void*)& result +12)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  114. src/xBRZ/xbrz.cpp:669:67: error: ‘*((void*)& result +4)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  115. inline void setBottomL(unsigned char& b, BlendType bt) { b |= (bt << 6); }
  116. ~~~~^~~~~
  117. src/xBRZ/xbrz.cpp:590:17: note: ‘*((void*)& result +4)’ was declared here
  118. BlendResult result;
  119. ^~~~~~
  120. src/xBRZ/xbrz.cpp:666:61: error: ‘*((void*)& result +12)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  121. inline void setTopL (unsigned char& b, BlendType bt) { b |= bt; } //buffer is assumed to be initialized before preprocessing!
  122. ^~
  123. src/xBRZ/xbrz.cpp:590:17: note: ‘*((void*)& result +12)’ was declared here
  124. BlendResult result;
  125. ^~~~~~
  126. src/xBRZ/xbrz.cpp: In function ‘void xbrz::scale(size_t, const uint32_t*, uint32_t*, int, int, const xbrz::ScalerCfg&, int, int)’:
  127. src/xBRZ/xbrz.cpp:590:17: error: ‘*((void*)& result +8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  128. src/xBRZ/xbrz.cpp:590:17: error: ‘*((void*)& result +8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  129. src/xBRZ/xbrz.cpp:590:17: error: ‘result’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  130. src/xBRZ/xbrz.cpp:590:17: error: ‘*((void*)& result +12)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  131. src/xBRZ/xbrz.cpp:669:67: error: ‘*((void*)& result +4)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  132. inline void setBottomL(unsigned char& b, BlendType bt) { b |= (bt << 6); }
  133. ~~~~^~~~~
  134. src/xBRZ/xbrz.cpp:590:17: note: ‘*((void*)& result +4)’ was declared here
  135. BlendResult result;
  136. ^~~~~~
  137. src/xBRZ/xbrz.cpp:666:61: error: ‘*((void*)& result +12)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  138. inline void setTopL (unsigned char& b, BlendType bt) { b |= bt; } //buffer is assumed to be initialized before preprocessing!
  139. ^~
  140. src/xBRZ/xbrz.cpp:590:17: note: ‘*((void*)& result +12)’ was declared here
  141. BlendResult result;
  142. ^~~~~~
  143. cc1plus: all warnings being treated as errors
  144. scons: *** [build/release/xBRZ/xbrz.o] Error 1
  145. scons: `wesnothd' is up to date.
  146. scons: done building targets (errors occurred during build).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement