00:53:45 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 ...
scons: `campaignd' is up to date.
/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
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]β:
src/xBRZ/xbrz.cpp:590:17: error: β*((void*)& result +8)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
BlendResult result;
^~~~~~
src/xBRZ/xbrz.cpp:590:17: error: β*((void*)& result +8)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:590:17: error: βresultβ may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:590:17: error: β*((void*)& result +12)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:669:67: error: β*((void*)& result +4)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
inline void setBottomL(unsigned char& b, BlendType bt) { b |= (bt << 6); }
~~~~^~~~~
src/xBRZ/xbrz.cpp:590:17: note: β*((void*)& result +4)β was declared here
BlendResult result;
^~~~~~
src/xBRZ/xbrz.cpp:666:61: error: β*((void*)& result +12)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
inline void setTopL (unsigned char& b, BlendType bt) { b |= bt; } //buffer is assumed to be initialized before preprocessing!
^~
src/xBRZ/xbrz.cpp:590:17: note: β*((void*)& result +12)β was declared here
BlendResult result;
^~~~~~
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]β:
src/xBRZ/xbrz.cpp:590:17: error: β*((void*)& result +8)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:590:17: error: β*((void*)& result +8)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:590:17: error: βresultβ may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:590:17: error: β*((void*)& result +12)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:669:67: error: β*((void*)& result +4)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
inline void setBottomL(unsigned char& b, BlendType bt) { b |= (bt << 6); }
~~~~^~~~~
src/xBRZ/xbrz.cpp:590:17: note: β*((void*)& result +4)β was declared here
BlendResult result;
^~~~~~
src/xBRZ/xbrz.cpp:666:61: error: β*((void*)& result +12)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
inline void setTopL (unsigned char& b, BlendType bt) { b |= bt; } //buffer is assumed to be initialized before preprocessing!
^~
src/xBRZ/xbrz.cpp:590:17: note: β*((void*)& result +12)β was declared here
BlendResult result;
^~~~~~
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]β:
src/xBRZ/xbrz.cpp:590:17: error: β*((void*)& result +8)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:590:17: error: β*((void*)& result +8)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:590:17: error: βresultβ may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:590:17: error: β*((void*)& result +12)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:669:67: error: β*((void*)& result +4)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
inline void setBottomL(unsigned char& b, BlendType bt) { b |= (bt << 6); }
~~~~^~~~~
src/xBRZ/xbrz.cpp:590:17: note: β*((void*)& result +4)β was declared here
BlendResult result;
^~~~~~
src/xBRZ/xbrz.cpp:666:61: error: β*((void*)& result +12)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
inline void setTopL (unsigned char& b, BlendType bt) { b |= bt; } //buffer is assumed to be initialized before preprocessing!
^~
src/xBRZ/xbrz.cpp:590:17: note: β*((void*)& result +12)β was declared here
BlendResult result;
^~~~~~
src/xBRZ/xbrz.cpp: In function βvoid xbrz::scale(size_t, const uint32_t*, uint32_t*, int, int, const xbrz::ScalerCfg&, int, int)β:
src/xBRZ/xbrz.cpp:590:17: error: β*((void*)& result +8)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:590:17: error: β*((void*)& result +8)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:590:17: error: βresultβ may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:590:17: error: β*((void*)& result +12)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
src/xBRZ/xbrz.cpp:669:67: error: β*((void*)& result +4)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
inline void setBottomL(unsigned char& b, BlendType bt) { b |= (bt << 6); }
~~~~^~~~~
src/xBRZ/xbrz.cpp:590:17: note: β*((void*)& result +4)β was declared here
BlendResult result;
^~~~~~
src/xBRZ/xbrz.cpp:666:61: error: β*((void*)& result +12)β may be used uninitialized in this function [-Werror=maybe-uninitialized]
inline void setTopL (unsigned char& b, BlendType bt) { b |= bt; } //buffer is assumed to be initialized before preprocessing!
^~
src/xBRZ/xbrz.cpp:590:17: note: β*((void*)& result +12)β was declared here
BlendResult result;
^~~~~~
cc1plus: all warnings being treated as errors
scons: *** [build/release/xBRZ/xbrz.o] Error 1
scons: `wesnothd' is up to date.
scons: done building targets (errors occurred during build).
Comments