[Top][All Lists]

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

[lmi-commits] [lmi] master 4b93a16 07/10: Consolidate and simplify '-Wno

From: Greg Chicares
Subject: [lmi-commits] [lmi] master 4b93a16 07/10: Consolidate and simplify '-Wno-' options for boost filesystem
Date: Mon, 8 Jun 2020 19:22:01 -0400 (EDT)

branch: master
commit 4b93a162abcbf61c0f89874187e860e981acaade
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Consolidate and simplify '-Wno-' options for boost filesystem
    Specified '-Wno-unused-parameter' for all boost filesystem sources.
    It's necessary only for one, but that doesn't justify a special case.
    Incidentally, pruned '-Wno-maybe-uninitialized'. The concern over a
    "maybe-uninitialized" variable:
    apparently was due to a compiler defect:
    | This looks like a bug in compiler to me
    that has since been corrected.
 workhorse.make | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/workhorse.make b/workhorse.make
index 3e122e2..60fd891 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -568,19 +568,12 @@ bourn_cast_test.o: gcc_common_extra_warnings += \
 currency_test.o: gcc_common_extra_warnings += \
   -Wno-useless-cast \
-# 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 += 
-operations_posix_windows.o: gcc_common_extra_warnings += -Wno-unused-macros
-operations_posix_windows.o: gcc_common_extra_warnings += -Wno-unused-parameter
 # Some boost-1.33.1 libraries are incompatible with many warnings.
 $(boost_filesystem_objects): gcc_common_extra_warnings += \
   -Wno-deprecated-declarations \
   -Wno-unused-macros \
+  -Wno-unused-parameter \
   -Wno-zero-as-null-pointer-constant \
 $(boost_regex_objects): gcc_common_extra_warnings += \

reply via email to

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