[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master b260973 4/6: Make compiler warnings stricter
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master b260973 4/6: Make compiler warnings stricter |
Date: |
Sun, 1 Oct 2017 14:20:02 -0400 (EDT) |
branch: master
commit b2609733393f0fbbb798798c4cf1e344065ea556
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Make compiler warnings stricter
Applied gcc's '-Wdeprecated-declarations' universally. This warning had
been selectively inhibited due to use of deprecated std::auto_ptr by
xmlwrapp and boost, but the reason for those exceptions has now been
removed by upgrading xmlwrapp and by defining 'BOOST_NO_AUTO_PTR'.
---
workhorse.make | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/workhorse.make b/workhorse.make
index 50cd7b9..7ae0b73 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -378,10 +378,8 @@ else ifneq (,$(filter $(gcc_version), 4.9.1 4.9.2))
# See:
# http://lists.nongnu.org/archive/html/lmi/2015-12/msg00028.html
# http://lists.nongnu.org/archive/html/lmi/2015-12/msg00040.html
- # XMLWRAPP !! '-Wno-deprecated-declarations' needed for auto_ptr
gcc_version_specific_warnings := \
-Wno-conversion \
- -Wno-deprecated-declarations \
-Wno-parentheses \
-Wno-unused-local-typedefs \
-Wno-unused-variable \
@@ -391,10 +389,8 @@ else ifneq (,$(filter $(gcc_version), 6.3.0))
# See:
# http://lists.nongnu.org/archive/html/lmi/2015-12/msg00028.html
# http://lists.nongnu.org/archive/html/lmi/2015-12/msg00040.html
- # XMLWRAPP !! '-Wno-deprecated-declarations' needed for auto_ptr
gcc_version_specific_warnings := \
-Wno-conversion \
- -Wno-deprecated-declarations \
-Wno-parentheses \
-Wno-unused-local-typedefs \
-Wno-unused-variable \
@@ -660,6 +656,7 @@ REQUIRED_CPPFLAGS = \
$(platform_defines) \
$(libstdcxx_warning_macros) \
$(wx_predefinitions) \
+ -DBOOST_NO_AUTO_PTR \
-DBOOST_STRICT_CONFIG \
REQUIRED_CFLAGS = \
- [lmi-commits] [lmi] master updated (172dbc6 -> eff057a), Greg Chicares, 2017/10/01
- [lmi-commits] [lmi] master f7747a7 5/6: Modernize C and C++ warnings, Greg Chicares, 2017/10/01
- [lmi-commits] [lmi] master e7a9fae 2/6: Correct misleading wx_table_generator ctor argument name, Greg Chicares, 2017/10/01
- [lmi-commits] [lmi] master 33aad87 3/6: Upgrade to xmlwrapp-0.8.1, Greg Chicares, 2017/10/01
- [lmi-commits] [lmi] master 4f66e63 1/6: Resolve a clang complaint differently, Greg Chicares, 2017/10/01
- [lmi-commits] [lmi] master b260973 4/6: Make compiler warnings stricter,
Greg Chicares <=
- [lmi-commits] [lmi] master eff057a 6/6: Make compiler warnings stricter, Greg Chicares, 2017/10/01