[Commits] [wesnoth/wesnoth] 20f67b: cmake: Disable -Wno-old-style-cast on Lua unit tes...

GitHub noreply at github.com
Tue Apr 19 01:00:05 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 20f67bf4a0c5a3849d6fe862fb13a5e48e6a998c
      https://github.com/wesnoth/wesnoth/commit/20f67bf4a0c5a3849d6fe862fb13a5e48e6a998c
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2016-04-18 (Mon, 18 Apr 2016)

  Changed paths:
    M src/CMakeLists.txt

  Log Message:
  -----------
  cmake: Disable -Wno-old-style-cast on Lua unit tests

Otherwise strict compilation fails due to code using macros such as
lua_number2int() which contain C-style casts.


  Commit: 8d290fc5b7c661a0d414e9225e92cc52ad567946
      https://github.com/wesnoth/wesnoth/commit/8d290fc5b7c661a0d414e9225e92cc52ad567946
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2016-04-18 (Mon, 18 Apr 2016)

  Changed paths:
    M src/CMakeLists.txt

  Log Message:
  -----------
  cmake: Fix linking issues with wesnoth and test targets

The GUI2 combobox widget code is linked into a separate .a library that
does not include one of its dependencies, gui2::tdrop_down_list. This
causes link order issues and renders the wesnoth and test targets
unlinkable with GCC 5.3.1 and binutils 2.26 at least.


Compare: https://github.com/wesnoth/wesnoth/compare/6bc34aea7c1d...8d290fc5b7c6


More information about the Commits mailing list