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

Sven Hesse noreply at github.com
Thu Aug 27 09:46:17 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/phaethon
  Commit: 41e5394b16b02cc73550e198beb0e2fc780bec6d
      https://github.com/xoreos/phaethon/commit/41e5394b16b02cc73550e198beb0e2fc780bec6d
  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: 113beec584c771edb236f95b365182aab3894d88
      https://github.com/xoreos/phaethon/commit/113beec584c771edb236f95b365182aab3894d88
  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: 3594c4bfd5a2ef1a757da50276cc346291998775
      https://github.com/xoreos/phaethon/commit/3594c4bfd5a2ef1a757da50276cc346291998775
  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: 08b8ac120def096d6157ced3af6255dfee9588f4
      https://github.com/xoreos/phaethon/commit/08b8ac120def096d6157ced3af6255dfee9588f4
  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: e243bd47c527b13b86143f1633bc813940121278
      https://github.com/xoreos/phaethon/commit/e243bd47c527b13b86143f1633bc813940121278
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M src/phaethon.cpp

  Log Message:
  -----------
  MAIN: Mark WinMain parameters as unused


  Commit: d9d7d2dab56bb407bcd6427cb28327ed2651fc28
      https://github.com/xoreos/phaethon/commit/d9d7d2dab56bb407bcd6427cb28327ed2651fc28
  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/phaethon/compare/02aa32e20da4...d9d7d2dab56b



More information about the xoreos-git mailing list