[Commits] [wesnoth/wesnoth] f1749c: Attempt to silence warning about deprecated stuff ...

GitHub noreply at github.com
Wed Nov 8 05:56:53 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: f1749c8d9b7a7a684cb00dd3d038cca473a52660
      https://github.com/wesnoth/wesnoth/commit/f1749c8d9b7a7a684cb00dd3d038cca473a52660
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-11-08 (Wed, 08 Nov 2017)

  Changed paths:
    M src/server/server_base.hpp
    M src/wesnothd_connection.hpp

  Log Message:
  -----------
  Attempt to silence warning about deprecated stuff in Boost

For some reason, after d7302d684d9d a warning about Boost's use of gethostbyaddr and appeared
when compiling wesnothd_connection.cpp on Windows. No idea what change in the above commit caused
it, but it seems moving the _WINSOCK_DEPRECATED_NO_WARNINGS define to wesnothd_connection.hpp silences it.





More information about the Commits mailing list