[Commits] [wesnoth/wesnoth] 0be99e: Attempt to fix GCC/clang builds

GitHub noreply at github.com
Sun Dec 18 22:28:59 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0be99ede50d066c488c2fe8ff3e26c7d0e7eacd2
      https://github.com/wesnoth/wesnoth/commit/0be99ede50d066c488c2fe8ff3e26c7d0e7eacd2
  Author: Celtic Minstrel <celtic.minstrel.ca at gmail.com>
  Date:   2016-12-18 (Sun, 18 Dec 2016)

  Changed paths:
    M src/formula/function.cpp

  Log Message:
  -----------
  Attempt to fix GCC/clang builds

I can think of two possible reasons for the Travis build failures:
- The toupper/tolower functions were not in scope due to their header not being included
- The toupper/tolower functions are overloaded.

This commit addresses both potential issues.
If it still fails, I'll probably just use a lambda...





More information about the Commits mailing list