[Commits] [wesnoth/wesnoth] 19e17e: Replace std::isalnum() with a hand-rolled implemen...

GitHub noreply at github.com
Thu Jan 18 07:42:19 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 19e17e9417112d48b2ecbcfb82adaf44db4ca820
      https://github.com/wesnoth/wesnoth/commit/19e17e9417112d48b2ecbcfb82adaf44db4ca820
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2018-01-18 (Thu, 18 Jan 2018)

  Changed paths:
    M src/config.cpp

  Log Message:
  -----------
  Replace std::isalnum() with a hand-rolled implementation

The function seems to just throw std::bad_cast() in libstdc++ and libc++.
Fortunately it's very easy to write our own implementation instead.

Thanks to @Pentarctagon for the stack trace.





More information about the Commits mailing list