[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:
https://lists.nongnu.org/archive/html/lmi/2016-12/msg00080.html
apparently was due to a compiler defect:
https://lists.nongnu.org/archive/html/lmi/2016-12/msg00081.html
| 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 +=
-Wno-maybe-uninitialized
-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 += \
- [lmi-commits] [lmi] master updated (47ba720 -> ad6ea6c), Greg Chicares, 2020/06/08
- [lmi-commits] [lmi] master 7a98051c0 01/10: Enable five more warnings, Greg Chicares, 2020/06/08
- [lmi-commits] [lmi] master eb410dd 02/10: Remove a useless cast, Greg Chicares, 2020/06/08
- [lmi-commits] [lmi] master 857ca63 03/10: Move a pragma to a more appropriate place, Greg Chicares, 2020/06/08
- [lmi-commits] [lmi] master 6143242 06/10: Use a pragma to inhibit certain warnings in a single TU, Greg Chicares, 2020/06/08
- [lmi-commits] [lmi] master cddcbaa 09/10: Purge three classes of warnings that are no longer needed, Greg Chicares, 2020/06/08
- [lmi-commits] [lmi] master ad6ea6c 10/10: Remove pragmata rendered unnecessary by '-isystem', Greg Chicares, 2020/06/08
- [lmi-commits] [lmi] master 67e9fd6 04/10: Disable '-Wswitch-enum' in 'boost_regex.hpp', Greg Chicares, 2020/06/08
- [lmi-commits] [lmi] master 4b93a16 07/10: Consolidate and simplify '-Wno-' options for boost filesystem,
Greg Chicares <=
- [lmi-commits] [lmi] master b9adeb4 08/10: Consolidate and simplify '-Wno-' options for cgicc, Greg Chicares, 2020/06/08
- [lmi-commits] [lmi] master 272d69d 05/10: Purge a class of warnings that is no longer needed, Greg Chicares, 2020/06/08