Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shadowm@nanacore:~/src/wesnoth% scons
- 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.11', server_gid = '1000', server_uid = '1000', strict = True, ccache = True, cxxtool = 'clang++', lockfile = True
- Building Wesnoth version 1.11.8+dev
- Creating lockfile
- 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 Gettext's libintl... (cached) libc built-in
- 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 Boost smart_ptr library... (cached) yes
- Checking for Simple DirectMedia Layer library version >= 1.2.7... (cached) yes
- Checking for SDL_net library... (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 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 regex library version >= 1.35.0... (cached) yes
- Checking for SDL_ttf library version >= 2.0.8... (cached) yes
- Checking for SDL_mixer library version >= 1.2.0... (cached) yes
- Checking for C library vorbisfile... (cached) yes
- Checking for SDL_image library version >= 1.2.0... (cached) yes
- Checking for Ogg Vorbis support in SDL... (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 Boost unit_test_framework 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
- scons: done reading SConscript files.
- scons: Building targets ...
- scons: `campaignd' is up to date.
- /usr/bin/ccache clang++ -o build/release/lua/lapi.o -c -std=c++98 -pipe -march=native -W -Wall -Werror -Wno-unused-local-typedefs -Qunused-arguments -Wno-unknown-warning-option -O2 -O3 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_CONFIG_H -D_X11 -DLUA_USE_POSIX -I. -Isrc -I/usr/include -I/usr/include/SDL -Isrc/lua src/lua/lapi.cpp
- src/lua/lapi.cpp:57:30: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
- if (((((ci->func))->tt_) == ((6 | (1 << 4)))))
- ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
- src/lua/lapi.cpp:57:30: note: remove extraneous parentheses around the comparison to silence this warning
- if (((((ci->func))->tt_) == ((6 | (1 << 4)))))
- ~ ^ ~
- src/lua/lapi.cpp:57:30: note: use '=' to turn this equality comparison into an assignment
- if (((((ci->func))->tt_) == ((6 | (1 << 4)))))
- ^~
- =
- src/lua/lapi.cpp:405:21: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
- if (((((o))->tt_) == ((6 | (1 << 4))))) return (((o)->value_).f);
- ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
- src/lua/lapi.cpp:405:21: note: remove extraneous parentheses around the comparison to silence this warning
- if (((((o))->tt_) == ((6 | (1 << 4))))) return (((o)->value_).f);
- ~ ^ ~
- src/lua/lapi.cpp:405:21: note: use '=' to turn this equality comparison into an assignment
- if (((((o))->tt_) == ((6 | (1 << 4))))) return (((o)->value_).f);
- ^~
- =
- src/lua/lapi.cpp:406:26: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
- else if (((((o))->tt_) == ((((6 | (2 << 4))) | (1 << 6)))))
- ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/lua/lapi.cpp:406:26: note: remove extraneous parentheses around the comparison to silence this warning
- else if (((((o))->tt_) == ((((6 | (2 << 4))) | (1 << 6)))))
- ~ ^ ~
- src/lua/lapi.cpp:406:26: note: use '=' to turn this equality comparison into an assignment
- else if (((((o))->tt_) == ((((6 | (2 << 4))) | (1 << 6)))))
- ^~
- =
- src/lua/lapi.cpp:809:30: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
- if (((((L->top - 1))->tt_) == (0)))
- ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
- src/lua/lapi.cpp:809:30: note: remove extraneous parentheses around the comparison to silence this warning
- if (((((L->top - 1))->tt_) == (0)))
- ~ ^ ~
- src/lua/lapi.cpp:809:30: note: use '=' to turn this equality comparison into an assignment
- if (((((L->top - 1))->tt_) == (0)))
- ^~
- =
- src/lua/lapi.cpp:849:30: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
- if (((((L->top - 1))->tt_) == (0)))
- ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
- src/lua/lapi.cpp:849:30: note: remove extraneous parentheses around the comparison to silence this warning
- if (((((L->top - 1))->tt_) == (0)))
- ~ ^ ~
- src/lua/lapi.cpp:849:30: note: use '=' to turn this equality comparison into an assignment
- if (((((L->top - 1))->tt_) == (0)))
- ^~
- =
- src/lua/lapi.cpp:994:21: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
- if (((((o))->tt_) == ((((6 | (0 << 4))) | (1 << 6)))))
- ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/lua/lapi.cpp:994:21: note: remove extraneous parentheses around the comparison to silence this warning
- if (((((o))->tt_) == ((((6 | (0 << 4))) | (1 << 6)))))
- ~ ^ ~
- src/lua/lapi.cpp:994:21: note: use '=' to turn this equality comparison into an assignment
- if (((((o))->tt_) == ((((6 | (0 << 4))) | (1 << 6)))))
- ^~
- =
- 6 errors generated.
- scons: *** [build/release/lua/lapi.o] Error 1
- scons: building terminated because of errors.
Advertisement
Add Comment
Please, Sign In to add comment