[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 3250841 2/5: Suppress another warning in a pa
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 3250841 2/5: Suppress another warning in a particular library file |
Date: |
Thu, 29 Dec 2016 00:19:50 +0000 (UTC) |
branch: master
commit 3250841d4ed7f6c3bffc505c063d6a32c660d9a0
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Suppress another warning in a particular library file
---
workhorse.make | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/workhorse.make b/workhorse.make
index ac2e07a..0b1079e 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -490,9 +490,12 @@ endif
$(wx_dependent_objects): gcc_common_extra_warnings :=
$(wx_dependent_physical_closure_files): gcc_common_extra_warnings :=
-# Boost didn't remove an unused parameter in this file:
+# Boost didn't remove an unused parameter in this file, which also
+# seems to contain a "maybe-uninitialized" variable--see:
+# http://lists.nongnu.org/archive/html/lmi/2016-12/msg00080.html
operations_posix_windows.o: gcc_common_extra_warnings += -Wno-unused-parameter
+operations_posix_windows.o: gcc_common_extra_warnings +=
-Wno-maybe-uninitialized
# The boost regex library improperly defines "NOMINMAX":
# http://lists.boost.org/Archives/boost/2006/03/102189.php