lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [6594] Suppress deprecated declarations warnings in config


From: vz-savannah
Subject: [lmi-commits] [6594] Suppress deprecated declarations warnings in configure gcc build
Date: Mon, 16 May 2016 22:35:25 +0000 (UTC)

Revision: 6594
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6594
Author:   zeitlin
Date:     2016-05-16 22:35:25 +0000 (Mon, 16 May 2016)
Log Message:
-----------
Suppress deprecated declarations warnings in configure gcc build

Such warnings are given for the use of std::auto_ptr<> in C++11 mode, but
several Boost 1.33.1 headers use it currently, resulting in many warnings
inside them.

Modified Paths:
--------------
    lmi/trunk/configure.ac

Modified: lmi/trunk/configure.ac
===================================================================
--- lmi/trunk/configure.ac      2016-05-16 16:17:40 UTC (rev 6593)
+++ lmi/trunk/configure.ac      2016-05-16 22:35:25 UTC (rev 6594)
@@ -541,7 +541,6 @@
         dnl Assume this is the real gcc.
         c_warnings_flags="$c_warnings_flags \
             -Wcast-align \
-            -Wdeprecated-declarations \
             -Wdisabled-optimization \
             -Wimport \
             -Wmultichar \
@@ -563,7 +562,7 @@
     else
         cxx_warnings_flags="$cxx_warnings_flags \
         -Wctor-dtor-privacy \
-        -Wdeprecated \
+        -Wno-deprecated-declarations \
         -Wnon-template-friend \
         -Woverloaded-virtual \
         -Wpmf-conversions \




reply via email to

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