lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 12e7208 1/3: Improve commentary


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 12e7208 1/3: Improve commentary
Date: Thu, 7 Jun 2018 09:16:55 -0400 (EDT)

branch: master
commit 12e72081fa4e0e2906aafad78a69ee4c0cdb4b33
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Improve commentary
---
 workhorse.make | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/workhorse.make b/workhorse.make
index 480d03a..3321058 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -545,6 +545,11 @@ wno_sign_conv_objects := \
   md5.o \
   round_glibc.o \
 
+# '-Wsign-conversion' is generally unusable with C++ because the STL
+# defectively uses unsigned types. It is useful to enable it from
+# time to time and filter the output thus:
+#   grep 'error:' | sed -e '/size_type/d'
+
 $(wno_sign_conv_objects): gcc_common_extra_warnings += -Wno-sign-conversion
 
 C_WARNINGS = \



reply via email to

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