[Commits] [wesnoth/wesnoth] 0c137c: Globally suppress -Wmaybe-uninitialized

GitHub noreply at github.com
Fri Oct 27 18:29:27 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0c137c79cffa4476529a3b38324822f43f26b327
      https://github.com/wesnoth/wesnoth/commit/0c137c79cffa4476529a3b38324822f43f26b327
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M CMakeLists.txt
    M SConstruct
    M src/gui/widgets/listbox.cpp
    M src/lexical_cast.hpp
    M src/scripting/game_lua_kernel.cpp
    M src/xBRZ/xbrz.cpp

  Log Message:
  -----------
  Globally suppress -Wmaybe-uninitialized

We have needed to suppress it in a bunch of places because GCC has kept
giving false positives depending on optimization settings. When I noticed
yet another false positive when I attempted to build the game with PGO
profiling data using CMake, it was the last straw.

Let's just suppress the warning globally and move on with our lives.





More information about the Commits mailing list