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

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


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 1ce87e4a579dd23c6ed98d75a38696e1989fc543
      https://github.com/wesnoth/wesnoth/commit/1ce87e4a579dd23c6ed98d75a38696e1989fc543
  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