[Box Backup-commit] [boxbackup/boxbackup] 915998: Improve detection of warnings not supported by com...

GitHub noreply at github.com
Fri Jan 20 21:16:38 GMT 2017

  Branch: refs/heads/s3_support
  Home:   https://github.com/boxbackup/boxbackup
  Commit: 915998ce6c863ea373911bc99e96747f4cf5c79c
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-01-20 (Fri, 20 Jan 2017)

  Changed paths:
    M infrastructure/m4/boxbackup_tests.m4

  Log Message:
  Improve detection of warnings not supported by compilers.

GCC normally only gives a warning on unsupported warnings, so our M4 feature
detection can think that a warning is supported, and enable it, when in fact
it's not supported, and this adds harmful warning noise to the compilation
output. By making -Wunknown-warning-option (enabled by default) into a fatal
error when checking whether warnings are supported, this allows us to really
detect whether they are or not.

More information about the Boxbackup-commit mailing list