[xoreos-git] [xoreos/xoreos] 889cf9: TRAVIS: Try suppressing warnings in system includes

Sven Hesse noreply at github.com
Wed Aug 26 21:10:08 CEST 2020


  Branch: refs/heads/traviswarnings
  Home:   https://github.com/xoreos/xoreos
  Commit: 889cf9dc00eb0c2ea6d2da121e18be0642021574
      https://github.com/xoreos/xoreos/commit/889cf9dc00eb0c2ea6d2da121e18be0642021574
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2020-08-26 (Wed, 26 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.





More information about the xoreos-git mailing list