Bug 1465585: Don't error on pessimizing-move and self-move, for now. r=froydnj

MozReview-Commit-ID: FzoqidPSCaV
This commit is contained in:
Emilio Cobos Álvarez 2018-05-31 01:52:37 +02:00
parent c773293cb3
commit 9855a4330e

View File

@ -86,6 +86,12 @@ check_and_add_gcc_warning('-Wno-inline-new-delete', cxx_compiler)
# too many false positives
check_and_add_gcc_warning('-Wno-error=maybe-uninitialized')
# Turned on by -Wall, but needs changes to be turned into an error
# (bug 1465060).
check_and_add_gcc_warning('-Wno-error=pessimizing-move')
# This one is probably easier, it's only triggered by tests.
check_and_add_gcc_warning('-Wno-error=self-move')
# we don't want our builds held hostage when a platform-specific API
# becomes deprecated.
check_and_add_gcc_warning('-Wno-error=deprecated-declarations')