shadowm

Untitled

Jan 25th, 2014
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.47 KB | None | 0 0
  1. shadowm@nanacore:~/src/wesnoth% scons
  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.11', server_gid = '1000', server_uid = '1000', strict = True, ccache = True, cxxtool = 'clang++', lockfile = True
  4. Building Wesnoth version 1.11.8+dev
  5. Creating lockfile
  6. Checking for C header file poll.h... (cached) yes
  7. Checking for C header file sys/poll.h... (cached) yes
  8. Checking for C header file sys/select.h... (cached) yes
  9. Checking for C header file sys/sendfile.h... (cached) yes
  10. Checking for C function sendfile()... (cached) yes
  11. Checking for C library m... (cached) yes
  12. Checking for C function round()... (cached) yes
  13. Checking whether C++ compiler works (g++ version >= 3.3 required)... (cached) yes
  14. Checking for Gettext's libintl... (cached) libc built-in
  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 Boost smart_ptr library... (cached) yes
  19. Checking for Simple DirectMedia Layer library version >= 1.2.7... (cached) yes
  20. Checking for SDL_net library... (cached) yes
  21. Checking for C library pthread... (cached) yes
  22. Checking for Boost system library... (cached) yes
  23. Checking for Boost asio library... (cached) yes
  24. Checking for Pango with cairo backend... (cached) yes
  25. Checking for fontconfig... (cached) yes
  26. Checking for Boost program_options library version >= 1.35.0... (cached) yes
  27. Checking for Boost regex library version >= 1.35.0... (cached) yes
  28. Checking for SDL_ttf library version >= 2.0.8... (cached) yes
  29. Checking for SDL_mixer library version >= 1.2.0... (cached) yes
  30. Checking for C library vorbisfile... (cached) yes
  31. Checking for SDL_image library version >= 1.2.0... (cached) yes
  32. Checking for Ogg Vorbis support in SDL... (cached) yes
  33. Checking for C library X11... (cached) yes
  34. Checking for dbus-1... (cached) yes
  35. Checking for fribidi >= 0.10.9... (cached) yes
  36. Checking for Boost unit_test_framework library... (cached) yes
  37. If any config checks fail, look in build/config.log for details
  38. If a check fails spuriously due to caching, use --config=force to force its rerun
  39. scons: done reading SConscript files.
  40. scons: Building targets ...
  41. scons: `campaignd' is up to date.
  42. /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
  43. src/lua/lapi.cpp:57:30: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
  44. if (((((ci->func))->tt_) == ((6 | (1 << 4)))))
  45. ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
  46. src/lua/lapi.cpp:57:30: note: remove extraneous parentheses around the comparison to silence this warning
  47. if (((((ci->func))->tt_) == ((6 | (1 << 4)))))
  48. ~ ^ ~
  49. src/lua/lapi.cpp:57:30: note: use '=' to turn this equality comparison into an assignment
  50. if (((((ci->func))->tt_) == ((6 | (1 << 4)))))
  51. ^~
  52. =
  53. src/lua/lapi.cpp:405:21: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
  54. if (((((o))->tt_) == ((6 | (1 << 4))))) return (((o)->value_).f);
  55. ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
  56. src/lua/lapi.cpp:405:21: note: remove extraneous parentheses around the comparison to silence this warning
  57. if (((((o))->tt_) == ((6 | (1 << 4))))) return (((o)->value_).f);
  58. ~ ^ ~
  59. src/lua/lapi.cpp:405:21: note: use '=' to turn this equality comparison into an assignment
  60. if (((((o))->tt_) == ((6 | (1 << 4))))) return (((o)->value_).f);
  61. ^~
  62. =
  63. src/lua/lapi.cpp:406:26: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
  64. else if (((((o))->tt_) == ((((6 | (2 << 4))) | (1 << 6)))))
  65. ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  66. src/lua/lapi.cpp:406:26: note: remove extraneous parentheses around the comparison to silence this warning
  67. else if (((((o))->tt_) == ((((6 | (2 << 4))) | (1 << 6)))))
  68. ~ ^ ~
  69. src/lua/lapi.cpp:406:26: note: use '=' to turn this equality comparison into an assignment
  70. else if (((((o))->tt_) == ((((6 | (2 << 4))) | (1 << 6)))))
  71. ^~
  72. =
  73. src/lua/lapi.cpp:809:30: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
  74. if (((((L->top - 1))->tt_) == (0)))
  75. ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  76. src/lua/lapi.cpp:809:30: note: remove extraneous parentheses around the comparison to silence this warning
  77. if (((((L->top - 1))->tt_) == (0)))
  78. ~ ^ ~
  79. src/lua/lapi.cpp:809:30: note: use '=' to turn this equality comparison into an assignment
  80. if (((((L->top - 1))->tt_) == (0)))
  81. ^~
  82. =
  83. src/lua/lapi.cpp:849:30: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
  84. if (((((L->top - 1))->tt_) == (0)))
  85. ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  86. src/lua/lapi.cpp:849:30: note: remove extraneous parentheses around the comparison to silence this warning
  87. if (((((L->top - 1))->tt_) == (0)))
  88. ~ ^ ~
  89. src/lua/lapi.cpp:849:30: note: use '=' to turn this equality comparison into an assignment
  90. if (((((L->top - 1))->tt_) == (0)))
  91. ^~
  92. =
  93. src/lua/lapi.cpp:994:21: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
  94. if (((((o))->tt_) == ((((6 | (0 << 4))) | (1 << 6)))))
  95. ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  96. src/lua/lapi.cpp:994:21: note: remove extraneous parentheses around the comparison to silence this warning
  97. if (((((o))->tt_) == ((((6 | (0 << 4))) | (1 << 6)))))
  98. ~ ^ ~
  99. src/lua/lapi.cpp:994:21: note: use '=' to turn this equality comparison into an assignment
  100. if (((((o))->tt_) == ((((6 | (0 << 4))) | (1 << 6)))))
  101. ^~
  102. =
  103. 6 errors generated.
  104. scons: *** [build/release/lua/lapi.o] Error 1
  105. scons: building terminated because of errors.
Advertisement
Add Comment
Please, Sign In to add comment