lmi-commits
[Top][All Lists]
Advanced

[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 = \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]