[wesnoth-commits] [wesnoth/wesnoth] b86237: Fix FTBFS on older versions of GCC because of init...

Iris Morelle noreply at github.com
Fri Mar 1 19:16:02 UTC 2019


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b86237494bfc0ccd85cfbe788c43279878890442
      https://github.com/wesnoth/wesnoth/commit/b86237494bfc0ccd85cfbe788c43279878890442
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2019-03-01 (Fri, 01 Mar 2019)

  Changed paths:
    M src/formula/string_utils.cpp

  Log Message:
  -----------
  Fix FTBFS on older versions of GCC because of initializer list confusion

Regression introduced in commit
f84b604d27127488552e9b9bfcb9bb5e2419b250. The solution is simply to be
more explicit about the types used in the init list and not leave the
compiler (such as GCC 4.9) to guess them incorrectly.





More information about the Commits mailing list