diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-09-07 14:39:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-07 14:39:36 +0200 |
commit | b728af02255cd35bf061f2ea11e2c028108d8b4a (patch) | |
tree | ef52edeaf7c7605eab2ac7ecf978adb119305ef9 | |
parent | d31ab5ff448c6070e04d8913ebeeacfd295c680c (diff) | |
parent | 346ba48dd9cad3728b2e06d938fe9262b8b81518 (diff) | |
download | UXP-b728af02255cd35bf061f2ea11e2c028108d8b4a.tar UXP-b728af02255cd35bf061f2ea11e2c028108d8b4a.tar.gz UXP-b728af02255cd35bf061f2ea11e2c028108d8b4a.tar.lz UXP-b728af02255cd35bf061f2ea11e2c028108d8b4a.tar.xz UXP-b728af02255cd35bf061f2ea11e2c028108d8b4a.zip |
Merge pull request #753 from trav90/buildsystem-work
[GCC] Add -Wno-noexcept-type to the js build flags
-rw-r--r-- | build/moz.configure/warnings.configure | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/moz.configure/warnings.configure b/build/moz.configure/warnings.configure index 94ad3fa79..567814632 100644 --- a/build/moz.configure/warnings.configure +++ b/build/moz.configure/warnings.configure @@ -109,6 +109,14 @@ check_and_add_gcc_warning('-Wno-error=multistatement-macros') check_and_add_gcc_warning('-Wno-format', when=depends(target)(lambda t: t.kernel == 'WINNT')) +# Disable a warning with GCC 7+. +# We are far from using C++17 and the impact of the warning will be +# limited to a potential public ABI. +# Currently only affecting js/ +check_and_add_gcc_warning('-Wno-noexcept-type', cxx_compiler, + when=depends(build_project) + (lambda build_project: build_project == 'js')) + # Please keep these last in this file add_old_configure_assignment('_WARNINGS_CFLAGS', warnings_cflags) add_old_configure_assignment('_WARNINGS_CXXFLAGS', warnings_cxxflags) |