lmi-commits
[Top][All Lists]
Advanced

[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 \



reply via email to

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