[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master a4748f8 2/4: Exclude more object files from '
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master a4748f8 2/4: Exclude more object files from '-Wsign-conversion' |
Date: |
Mon, 4 Jun 2018 12:19:52 -0400 (EDT) |
branch: master
commit a4748f8ef1ca2c392b7de1becb60caf8bd6e5999
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Exclude more object files from '-Wsign-conversion'
The only substantive change is the addition of a single line, but that
required moving a large block.
---
workhorse.make | 63 +++++++++++++++++++++++++++++-----------------------------
1 file changed, 32 insertions(+), 31 deletions(-)
diff --git a/workhorse.make b/workhorse.make
index 22c7284..a539833 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -472,37 +472,6 @@ gcc_cxx_warnings := \
gcc_common_extra_warnings := \
-Wcast-qual \
-# SOMEDAY !! Address some of these '-Wconversion' issues.
-
-wno_conv_objects := \
- CgiUtils.o \
- currency_test.o \
- rate_table.o \
- round_glibc.o \
-
-$(wno_conv_objects): gcc_common_extra_warnings += -Wno-conversion
-
-wno_float_conv_objects := \
- gpt_server.o \
- ihs_basicval.o \
- mec_server.o \
-
-$(wno_float_conv_objects): gcc_common_extra_warnings += -Wno-float-conversion
-
-wno_sign_conv_objects := \
- $(boost_filesystem_objects) \
- $(boost_regex_objects) \
- $(xmlwrapp_objects) \
- CgiEnvironment.o \
- CgiUtils.o \
- crc32.o \
- getopt.o \
- md5.o \
- rate_table.o \
- round_glibc.o \
-
-$(wno_sign_conv_objects): gcc_common_extra_warnings += -Wno-sign-conversion
-
ifeq (safestdlib,$(findstring safestdlib,$(build_type)))
ifeq (3.4.5,$(gcc_version))
expression_template_0_test.o: gcc_common_extra_warnings +=
-Wno-unused-parameter
@@ -554,6 +523,38 @@ endif
# Too many warnings for wx and various boost libraries:
# -Wold-style-cast \
+# SOMEDAY !! Address some of these '-Wconversion' issues.
+
+wno_conv_objects := \
+ CgiUtils.o \
+ currency_test.o \
+ rate_table.o \
+ round_glibc.o \
+
+$(wno_conv_objects): gcc_common_extra_warnings += -Wno-conversion
+
+wno_float_conv_objects := \
+ gpt_server.o \
+ ihs_basicval.o \
+ mec_server.o \
+
+$(wno_float_conv_objects): gcc_common_extra_warnings += -Wno-float-conversion
+
+wno_sign_conv_objects := \
+ $(boost_dependent_objects) \
+ $(boost_filesystem_objects) \
+ $(boost_regex_objects) \
+ $(xmlwrapp_objects) \
+ CgiEnvironment.o \
+ CgiUtils.o \
+ crc32.o \
+ getopt.o \
+ md5.o \
+ rate_table.o \
+ round_glibc.o \
+
+$(wno_sign_conv_objects): gcc_common_extra_warnings += -Wno-sign-conversion
+
C_WARNINGS = \
$(gcc_c_warnings) \
$(gcc_common_extra_warnings) \