shadowm

Untitled

Oct 30th, 2014
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. /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
  2. In file included from src/actions/attack.cpp:32:
  3. 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]
  4. ((this != __null) ? static_cast<void> (0) : __assert_fail ("this != __null", "src/actions/../game_data.hpp", 66, __PRETTY_FUNCTION__));
  5. ^~~~ ~~~~~~
  6. 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]
  7. ((this != __null) ? static_cast<void> (0) : __assert_fail ("this != __null", "src/actions/../game_data.hpp", 74, __PRETTY_FUNCTION__));
  8. ^~~~ ~~~~~~
  9. 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]
  10. ((this != __null) ? static_cast<void> (0) : __assert_fail ("this != __null", "src/actions/../game_data.hpp", 130, __PRETTY_FUNCTION__));
  11. ^~~~ ~~~~~~
  12. 3 errors generated.
  13. scons: *** [build/release/actions/attack.o] Error 1
  14. scons: building terminated because of errors.
  15. shadowm@nanacore:~/src/wesnoth% clang++ --version
  16. Debian clang version 3.5.0-6 (tags/RELEASE_350/final) (based on LLVM 3.5.0)
  17. Target: x86_64-pc-linux-gnu
  18. Thread model: posix
Advertisement
Add Comment
Please, Sign In to add comment