[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master ef317d2 6/6: Forbid old-style casts generally
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master ef317d2 6/6: Forbid old-style casts generally |
Date: |
Tue, 16 Jun 2020 15:43:49 -0400 (EDT) |
branch: master
commit ef317d249c39cbdf0faf0f8f4788b4b8f40a34dc
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Forbid old-style casts generally
---
workhorse.make | 3 +++
1 file changed, 3 insertions(+)
diff --git a/workhorse.make b/workhorse.make
index a23eba6..cdae6d7 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -513,6 +513,7 @@ gcc_cxx_warnings := \
-Wnoexcept-type \
-Wnon-template-friend \
-Wnon-virtual-dtor \
+ -Wold-style-cast \
-Woverloaded-virtual \
-Wplacement-new=2 \
-Wpmf-conversions \
@@ -552,6 +553,7 @@ currency_test.o: gcc_common_extra_warnings += \
$(boost_filesystem_objects): gcc_common_extra_warnings += \
-Wno-deprecated-declarations \
+ -Wno-old-style-cast \
-Wno-unused-macros \
-Wno-unused-parameter \
-Wno-zero-as-null-pointer-constant \
@@ -560,6 +562,7 @@ $(boost_regex_objects): gcc_common_extra_warnings += \
-Wno-conversion \
-Wno-duplicated-branches \
-Wno-implicit-fallthrough \
+ -Wno-old-style-cast \
-Wno-register \
-Wno-shadow \
-Wno-switch-enum \
- [lmi-commits] [lmi] master updated (6f5da56 -> ef317d2), Greg Chicares, 2020/06/16
- [lmi-commits] [lmi] master ef317d2 6/6: Forbid old-style casts generally,
Greg Chicares <=
- [lmi-commits] [lmi] master 272c028 1/6: Log output of 'check_concinnity' target separately, Greg Chicares, 2020/06/16
- [lmi-commits] [lmi] master 41bb715 3/6: Don't respecify the types of floating literals, Greg Chicares, 2020/06/16
- [lmi-commits] [lmi] master a09d2fc 2/6: Remove needless gcc-version conditionals, Greg Chicares, 2020/06/16
- [lmi-commits] [lmi] master a26fe6a 4/6: Eradicate old-style casts, Greg Chicares, 2020/06/16
- [lmi-commits] [lmi] master 8cc64f6 5/6: Allow old-style casts in certain circumstances, Greg Chicares, 2020/06/16