Bug 1464809 - Disable -Werror on -Wclass-memaccess until the backlog is fixed r?froydnj draft
authorSylvestre Ledru <sledru@mozilla.com>
Mon, 28 May 2018 14:56:41 +0200
changeset 800507 d00c8b3519284a29f9d85bf7a4630f940faa9726
parent 800404 db78be8dbc1c81844eb7d35c1a3073078eb5d923
push id111391
push userbmo:sledru@mozilla.com
push dateMon, 28 May 2018 12:57:11 +0000
bugs1464809, 1411029
Bug 1464809 - Disable -Werror on -Wclass-memaccess until the backlog is fixed r?froydnj https://bugzilla.mozilla.org/show_bug.cgi?id=1411029#c2 MozReview-Commit-ID: 2CyoNWMUrw9
--- a/build/moz.configure/warnings.configure
+++ b/build/moz.configure/warnings.configure
@@ -101,16 +101,20 @@ check_and_add_gcc_warning('-Wno-error=fr
 # Would be a pain to fix all occurrences, for very little gain
 # Disable the -Werror for return-std-move because of a false positive
 # on nsTAutoStringN: https://bugs.llvm.org/show_bug.cgi?id=37249
+# Disable the -Werror for -Wclass-memaccess as we have a long
+# tail of issues to fix
 # catches format/argument mismatches with printf
 c_format_warning, cxx_format_warning = check_and_add_gcc_warning(
     '-Wformat', when=depends(target)(lambda t: t.kernel != 'WINNT'))
 # Add compile-time warnings for unprotected functions and format functions
 # that represent possible security problems. Enable this only when -Wformat
 # is enabled, otherwise it is an error