[xoreos-git] [xoreos/xoreos] 565463: BUILD: Extend boost.m4 to recognize gcc 7.5

Sven Hesse noreply at github.com
Thu Aug 27 09:43:26 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/xoreos
  Commit: 5654632e704daaaa8cce06bcb19de63c45846a81
      https://github.com/xoreos/xoreos/commit/5654632e704daaaa8cce06bcb19de63c45846a81
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M m4/boost.m4

  Log Message:
  -----------
  BUILD: Extend boost.m4 to recognize gcc 7.5


  Commit: 517b20e7b1fd1d1114a3990e06b8058043ae428f
      https://github.com/xoreos/xoreos/commit/517b20e7b1fd1d1114a3990e06b8058043ae428f
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M CMakeLists.txt
    M configure.ac

  Log Message:
  -----------
  BUILD: Disable -Wunused-const-variable

This one is enabled by -Wall in Clang, but not in gcc (at least not
for C++). The warning doesn't make sense for us, especially since we
sometimes leave in unused static const values for documentation
purposes, so let's disable it.


  Commit: 6eddf7c5ec4863b049888a806091dfe718fba011
      https://github.com/xoreos/xoreos/commit/6eddf7c5ec4863b049888a806091dfe718fba011
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M CMakeLists.txt
    M configure.ac

  Log Message:
  -----------
  BUILD: Disable -Wtautological-unsigned-enum-zero-compare

Whether an enum is signed or unsigned is implementation defined, so
this warning doesn't make any sense for us.


  Commit: 090240ae33657baee20c6ed21436c6997b7e62f5
      https://github.com/xoreos/xoreos/commit/090240ae33657baee20c6ed21436c6997b7e62f5
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M src/graphics/icon.cpp

  Log Message:
  -----------
  GRAPHICS: Silence unused parameter/function warnings on macOS


  Commit: 9d0bc2923b6e5e27f73e89ab694d0c48a43670b3
      https://github.com/xoreos/xoreos/commit/9d0bc2923b6e5e27f73e89ab694d0c48a43670b3
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M src/sound/sound.cpp

  Log Message:
  -----------
  SOUND: Silence the OpenAL deprecation warnings on macOS


  Commit: 04314193bcc2d33b7d87c88734934bbc723edbd5
      https://github.com/xoreos/xoreos/commit/04314193bcc2d33b7d87c88734934bbc723edbd5
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M src/graphics/images/ncgr.h

  Log Message:
  -----------
  GRAPHICS: Make NCGR/NCGRFile copy constructors explicit


  Commit: 5377100e79ce3c220eb85766c5740a59382f3643
      https://github.com/xoreos/xoreos/commit/5377100e79ce3c220eb85766c5740a59382f3643
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  TRAVIS: Try suppressing warnings in system includes

For two reasons, SDL2 when compiling with Clang and Boost.Locale on
macOS.

Clang ignores the "/* fallthrough */" comments in the SDL2 includes
and then complains about unmarked switch-case-fallthroughs. The SDL2
search script doesn't mark the SDL2 directory as system.

The Travis CI macOS build VMs have Boost.Locale preinstalled in
/usr/local/ and this is not marked as a system include. The version
preinstalled used std::auto_ptr and Clang notes that this is
deprecated.


Compare: https://github.com/xoreos/xoreos/compare/b347a6514bfe...5377100e79ce



More information about the xoreos-git mailing list