Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/bin/ccache clang++ -o build/release/actions/attack.o -c -std=c++98 -pipe -march=native -pthread -W -Wall -Werror -Wno-unused-local-typedefs -Qunused-arguments -Wno-unknown-warning-option -O2 -O3 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_LIBDBUS -DHAVE_CONFIG_H -D_X11 -Ibuild -Isrc -I/usr/include/SDL -I/usr/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/fribidi src/actions/attack.cpp
- In file included from src/actions/attack.cpp:32:
- src/actions/../game_data.hpp:66:5: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Werror,-Wtautological-undefined-compare]
- ((this != __null) ? static_cast<void> (0) : __assert_fail ("this != __null", "src/actions/../game_data.hpp", 66, __PRETTY_FUNCTION__));
- ^~~~ ~~~~~~
- src/actions/../game_data.hpp:74:5: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Werror,-Wtautological-undefined-compare]
- ((this != __null) ? static_cast<void> (0) : __assert_fail ("this != __null", "src/actions/../game_data.hpp", 74, __PRETTY_FUNCTION__));
- ^~~~ ~~~~~~
- src/actions/../game_data.hpp:130:5: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Werror,-Wtautological-undefined-compare]
- ((this != __null) ? static_cast<void> (0) : __assert_fail ("this != __null", "src/actions/../game_data.hpp", 130, __PRETTY_FUNCTION__));
- ^~~~ ~~~~~~
- 3 errors generated.
- scons: *** [build/release/actions/attack.o] Error 1
- scons: building terminated because of errors.
- shadowm@nanacore:~/src/wesnoth% clang++ --version
- Debian clang version 3.5.0-6 (tags/RELEASE_350/final) (based on LLVM 3.5.0)
- Target: x86_64-pc-linux-gnu
- Thread model: posix
Advertisement
Add Comment
Please, Sign In to add comment