[xoreos-git] [xoreos/xoreos] 651b65: BUILD: Extend boost.m4 to recognize gcc 5.4 and 5....

GitHub noreply at github.com
Fri May 25 23:46:09 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/xoreos
  Commit: 651b650e87c0911d555b7c535a5e9a6c3b665814
      https://github.com/xoreos/xoreos/commit/651b650e87c0911d555b7c535a5e9a6c3b665814
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-05-25 (Fri, 25 May 2018)

  Changed paths:
    M m4/boost.m4

  Log Message:
  -----------
  BUILD: Extend boost.m4 to recognize gcc 5.4 and 5.5


  Commit: 9855515caadcd4b45fefe37a276ee570b021650a
      https://github.com/xoreos/xoreos/commit/9855515caadcd4b45fefe37a276ee570b021650a
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-05-25 (Fri, 25 May 2018)

  Changed paths:
    A src/common/fallthrough.h
    M src/common/rules.mk
    M src/common/system.h

  Log Message:
  -----------
  COMMON: Add a XOREOS_FALLTHROUGH macro

While gcc can parse the "// Fallthrough" comments we use to mark
switch case fallthroughs, clang can not. Instead, clang wants a
[[clang::fallthrough]] attribute.

So we use the XOREOS_FALLTHROUGH macro to select the appropriate
way to mark a fallthrough.


  Commit: c4574c355d6e764f4364513f554c2588846ef401
      https://github.com/xoreos/xoreos/commit/c4574c355d6e764f4364513f554c2588846ef401
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-05-25 (Fri, 25 May 2018)

  Changed paths:
    M src/common/readstream.cpp

  Log Message:
  -----------
  COMMON: Use the XOREOS_FALLTHROUGH macro to mark fallthroughs


  Commit: 0714ea8db6526495dfdcf92d58fc6c07c193179e
      https://github.com/xoreos/xoreos/commit/0714ea8db6526495dfdcf92d58fc6c07c193179e
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-05-25 (Fri, 25 May 2018)

  Changed paths:
    M src/aurora/lua/util.cpp

  Log Message:
  -----------
  AURORA: Use the XOREOS_FALLTHROUGH macro to mark fallthroughs


  Commit: be8e6df182ac4d12a1b43b2e4fd47c74ba5f107b
      https://github.com/xoreos/xoreos/commit/be8e6df182ac4d12a1b43b2e4fd47c74ba5f107b
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-05-25 (Fri, 25 May 2018)

  Changed paths:
    M src/sound/decoders/wma.cpp

  Log Message:
  -----------
  SOUND: Use the XOREOS_FALLTHROUGH macro to mark fallthroughs


  Commit: f03764921134afcb357da38bfedeb8f208142ad4
      https://github.com/xoreos/xoreos/commit/f03764921134afcb357da38bfedeb8f208142ad4
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-05-25 (Fri, 25 May 2018)

  Changed paths:
    M src/video/bink.cpp

  Log Message:
  -----------
  VIDEO: Use the XOREOS_FALLTHROUGH macro to mark fallthroughs


  Commit: 9b858487e47bcef2b58a263004bcc0ec8b782ad7
      https://github.com/xoreos/xoreos/commit/9b858487e47bcef2b58a263004bcc0ec8b782ad7
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-05-25 (Fri, 25 May 2018)

  Changed paths:
    M lua/ldebug.cpp
    M lua/lstrlib.cpp
    M lua/ltable.cpp

  Log Message:
  -----------
  LUA: Use the XOREOS_FALLTHROUGH macro to mark fallthroughs


  Commit: 1f92c7420b79b0968ca78231ba450c516f4fd54b
      https://github.com/xoreos/xoreos/commit/1f92c7420b79b0968ca78231ba450c516f4fd54b
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-05-25 (Fri, 25 May 2018)

  Changed paths:
    M lua/lapi.cpp

  Log Message:
  -----------
  LUA: Mark lua_ident as unused


  Commit: 6ec0ec1039097c83fc989b25d4119f1587a248ae
      https://github.com/xoreos/xoreos/commit/6ec0ec1039097c83fc989b25d4119f1587a248ae
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-05-25 (Fri, 25 May 2018)

  Changed paths:
    M CMakeLists.txt
    M configure.ac

  Log Message:
  -----------
  BUILD: Disable the -Wunused-private-field compiler warning

We're far from stable, so we still have several unused private fields
that will be used later.


  Commit: 1c635e0720cb4797a361306fe897a95cabfec995
      https://github.com/xoreos/xoreos/commit/1c635e0720cb4797a361306fe897a95cabfec995
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-05-25 (Fri, 25 May 2018)

  Changed paths:
    M src/common/fallthrough.h
    M src/common/mutex.h
    M src/common/thread.cpp
    M src/common/thread.h
    M src/common/threads.cpp
    M src/events/events.cpp
    M src/events/joystick.h
    M src/events/timerman.h
    M src/events/types.h
    M src/graphics/aurora/model.cpp
    M src/graphics/icon.cpp
    M src/graphics/types.h

  Log Message:
  -----------
  COMMON: Add macros to ignore fallthrough warnings in SDL2 includes

This is a consequence of two clang quirks:

- clang doesn't recognize the SDL2 includes as system headers, because
  sdl2-config puts the SDL2 path in to -I, not -isystem
- clang doesn't understand "Fallthrough" comments, and instead wants
  an attribute

As a workaround, we wrap the SDL2 includes into macros to disable the
warnings and re-enable them again afterwards.


Compare: https://github.com/xoreos/xoreos/compare/79ea57a6773b...1c635e0720cb
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the xoreos-git mailing list