[Commits] [wesnoth/wesnoth] 8da74b: Attempt to fix build of unit tests on GCC 4.8

GitHub noreply at github.com
Fri Aug 25 19:52:46 UTC 2017


  Branch: refs/heads/some_gui2_refactoring
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8da74b38b746bf8efaf4d54f2b52eea2fd19c4b1
      https://github.com/wesnoth/wesnoth/commit/8da74b38b746bf8efaf4d54f2b52eea2fd19c4b1
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-08-25 (Fri, 25 Aug 2017)

  Changed paths:
    M src/tests/gui/iterator.cpp
    M src/tests/gui/visitor.cpp

  Log Message:
  -----------
  Attempt to fix build of unit tests on GCC 4.8

The tests were building just fine on Clang and GCC 7, but not on GCC 4.8
that Travis CI uses. That points towards a compiler bug. As a workaround,
simply initialize the widgets in a more straightforward way.





More information about the Commits mailing list