[Commits] [wesnoth/wesnoth] fb8506: Fix build with Visual Studio

GitHub noreply at github.com
Tue May 16 18:08:41 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: fb8506dbacd987c21fc00ca3ab3daefb94a48649
      https://github.com/wesnoth/wesnoth/commit/fb8506dbacd987c21fc00ca3ab3daefb94a48649
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
    M projectfiles/VC12/wesnoth.vcxproj
    M projectfiles/VC12/wesnoth.vcxproj.filters
    M projectfiles/VC12/wesnothlib.vcxproj
    M projectfiles/VC12/wesnothlib.vcxproj.filters
    M src/utils/type_trait_aliases.hpp

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

First, VS2015 doesn't appear to support importing alias templates directly,
so let's make an alias template ourselves and import every alias we need.

That approach doesn't work with VS2013, apparently due to lack of support
for expression SFINAE. Thus, we now use our custom alias templates on
VS2013.

Also, I moved type_trait_aliases.hpp to the wesnothlib project where it
belongs.

Note that because of requiring expression SFINAE on VS2015, building
Wesnoth on VS2015 now requires that Update 1 or above is installed.





More information about the Commits mailing list