Branch: refs/heads/master
  Home:   https://github.com/Warzone2100/warzone2100
  Commit: f62aee82ac391af4f5fc606d4de79f15237248d3
      
https://github.com/Warzone2100/warzone2100/commit/f62aee82ac391af4f5fc606d4de79f15237248d3
  Author: past-due <[email protected]>
  Date:   2018-02-26 (Mon, 26 Feb 2018)

  Changed paths:
    M src/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Set WIN32_EXECUTABLE for Windows builds


  Commit: ea384698d87f4bb931a7a5acbc355f43b8224d9e
      
https://github.com/Warzone2100/warzone2100/commit/ea384698d87f4bb931a7a5acbc355f43b8224d9e
  Author: past-due <[email protected]>
  Date:   2018-02-26 (Mon, 26 Feb 2018)

  Changed paths:
    M cmake/FindOggVorbis.cmake
    M lib/sequence/CMakeLists.txt
    M lib/sound/CMakeLists.txt
    M src/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Improve FindOggVorbis.cmake

- Improve FindOggVorbis.cmake to (a) not output text every build, (b) properly 
define OGGVORBIS_LIBRARIES and OGGVORBIS_INCLUDE_DIR.
- Use OGGVORBIS_LIBRARIES and OGGVORBIS_INCLUDE_DIR where appropriate.


  Commit: f8a8b9ef69ec0898e58224e24efe714c5062635a
      
https://github.com/Warzone2100/warzone2100/commit/f8a8b9ef69ec0898e58224e24efe714c5062635a
  Author: past-due <[email protected]>
  Date:   2018-02-26 (Mon, 26 Feb 2018)

  Changed paths:
    M CMakeLists.txt
    M lib/framework/types.h

  Log Message:
  -----------
  [CMake] Fix inttypes.h detection to support modern VC++ compilers

Modern VC++ supports `inttypes.h`, but does not define the POSIX-standard 
`ssize_t`. Tweak `lib/framework/types.h` to do so based on the VC++-defined 
`SSIZE_T` regardless of whether `inttypes.h` is detected.


  Commit: 088d88d9c3b5dfd3cad4960e284ef449eaced801
      
https://github.com/Warzone2100/warzone2100/commit/088d88d9c3b5dfd3cad4960e284ef449eaced801
  Author: past-due <[email protected]>
  Date:   2018-02-26 (Mon, 26 Feb 2018)

  Changed paths:
    M lib/framework/resource_lexer.cpp
    M lib/framework/strres_lexer.cpp
    M lib/gamelib/audp_lexer.cpp
    M lib/script/chat_lexer.cpp
    M lib/script/script_lexer.cpp
    M src/level_lexer.cpp
    M src/scriptvals_lexer.cpp

  Log Message:
  -----------
  Use `HAVE_INTTYPES_H` to detect whether `inttypes.h` is available

- Use `HAVE_INTTYPES_H`, in addition to checking `__STDC_VERSION__` for C99, to 
detect whether `inttypes.h` is available.

This fixes warnings about a redeclaration of `INT8_MIN`, `INT16_MIN` (etc) on 
VC++ where VC++ provides `inttypes.h`.

Several VC++ versions have `inttypes.h` but do not define `__STDC_VERSION__` 
because, quoting Microsoft: "While we do support a subset of C99's features, we 
don't claim to support the entirety of that language. If this changes in a 
future release, we will set the appropriate value for this macro. For now, 
however, defining __STDC_VERSION__ to 199901L would be inaccurate and 
misleading."

Source: 
https://social.msdn.microsoft.com/Forums/vstudio/en-US/53a4fd75-9f97-48b2-aa63-2e2e5a15efa3/stdcversion-problem


  Commit: 9a3da03cc7d39ada5ff0dc17f76dbbbd759673d6
      
https://github.com/Warzone2100/warzone2100/commit/9a3da03cc7d39ada5ff0dc17f76dbbbd759673d6
  Author: past-due <[email protected]>
  Date:   2018-02-26 (Mon, 26 Feb 2018)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Improve Windows MSVC build instructions in README.md


  Commit: cf05b46a4db676fa60c8210855beddf7c1dd9217
      
https://github.com/Warzone2100/warzone2100/commit/cf05b46a4db676fa60c8210855beddf7c1dd9217
  Author: past-due <[email protected]>
  Date:   2018-02-26 (Mon, 26 Feb 2018)

  Changed paths:
    M po/CMakeLists.txt

  Log Message:
  -----------
  [CMake] po/CMakeLists.txt: Enable VS 2017 builds

Because of a Windows-related bugfix in FindGettext.cmake in CMake 3.10, CMake 
3.10+ may be required (if compiling *on* Windows) to properly detect Gettext.

However, Visual Studio 2017 currently bundles CMake < 3.10, so requiring CMake 
3.10+ at the top of `po/CMakeLists.txt` leads to an inability to compile via 
Visual Studio itself.

Instead of using `cmake_minimum_required(VERSION 3.10)`, check the CMake 
version and emit a warning if it's below 3.10 (if detecting Gettext fails on 
Windows).


Compare: 
https://github.com/Warzone2100/warzone2100/compare/735916ee72db...cf05b46a4db6
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to