[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 7d85ae5 3/3: Improve documentation
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 7d85ae5 3/3: Improve documentation |
Date: |
Thu, 7 Jun 2018 09:16:55 -0400 (EDT) |
branch: master
commit 7d85ae5d464bac32bedd8c5f23d21db0476cc851
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Improve documentation
---
workhorse.make | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/workhorse.make b/workhorse.make
index 3321058..0804d7a 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -467,11 +467,17 @@ gcc_cxx_warnings := \
# 'extra' flags. This makefile used to inhibit these flags for source
# files that seemed to depend on wx according to a casual heuristic,
# but now they're inhibited by a #pragma in the PCH file that all wx-
-# dependent TUs must include.
+# dependent TUs must include. For clarity, define this empty variable
+# and spell out the warnings here so that all warnings can be seen in
+# this one makefile.
+
+wx_dependent_objects :=
gcc_common_extra_warnings := \
-Wcast-qual \
+$(wx_dependent_objects): gcc_common_extra_warnings += -Wno-cast-qual
+
ifeq (safestdlib,$(findstring safestdlib,$(build_type)))
ifeq (3.4.5,$(gcc_version))
expression_template_0_test.o: gcc_common_extra_warnings +=
-Wno-unused-parameter
@@ -537,6 +543,7 @@ wno_sign_conv_objects := \
$(boost_dependent_objects) \
$(boost_filesystem_objects) \
$(boost_regex_objects) \
+ $(wx_dependent_objects) \
$(xmlwrapp_objects) \
CgiEnvironment.o \
CgiUtils.o \