[Commits] [wesnoth/wesnoth] b640c8: Fix build with Visual Studio 2013

GitHub noreply at github.com
Fri Jun 24 11:18:34 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b640c82f74b9ff44b9c0fdeade1279f0a8c3eed8
      https://github.com/wesnoth/wesnoth/commit/b640c82f74b9ff44b9c0fdeade1279f0a8c3eed8
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2016-06-24 (Fri, 24 Jun 2016)

  Changed paths:
    M src/utils/context_free_grammar_generator.hpp

  Log Message:
  -----------
  Fix build with Visual Studio 2013

Add #include <cstdint> to src/utils/context_free_grammar_generator.hpp. It
appears that without it, uint32_t ends up being different types in the
header and the implementation file (at least in Visual Studio 2013), which
makes the compiler complain that the print_nonterminal() function hasn't
been declared.


  Commit: 9db9a26143f1437b800def37ba50640af77e852f
      https://github.com/wesnoth/wesnoth/commit/9db9a26143f1437b800def37ba50640af77e852f
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-06-24 (Fri, 24 Jun 2016)

  Changed paths:
    M src/utils/context_free_grammar_generator.hpp

  Log Message:
  -----------
  Merge pull request #672 from jyrkive/fix-build

Fix build with Visual Studio 2013


Compare: https://github.com/wesnoth/wesnoth/compare/febf4f3d3c40...9db9a26143f1


More information about the Commits mailing list