[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 54ce0f17 1/6: Mark clang warnings requiring i
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 54ce0f17 1/6: Mark clang warnings requiring investigation |
Date: |
Fri, 8 Jul 2022 16:59:16 -0400 (EDT) |
branch: master
commit 54ce0f1712f3c0f9cfc1ca8fe1b7c21ce088f3f2
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Mark clang warnings requiring investigation
---
compiler_clang_warnings.make | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/compiler_clang_warnings.make b/compiler_clang_warnings.make
index cc0289a3..844df884 100644
--- a/compiler_clang_warnings.make
+++ b/compiler_clang_warnings.make
@@ -49,15 +49,34 @@ clang_c_warnings := \
#
# -W++20-compat: backward compatibility not desirable
# -W++98-compat-pedantic: backward compatibility not desirable
+### [triple '#' marks warnings requiring investigation]
+### -Wcast-function-type
+### -Wcomma
+### -Wconditional-uninitialized
+### -Wcovered-switch-default
# -Wdate-time: only for "bit-wise-identical reproducible compilations"
+### -Wdeprecated-copy-with-dtor
+### -Wdisabled-macro-expansion
# -Wdocumentation: warns about comments
# -Wdocumentation-html: warns about comments
# -Wdocumentation-unknown-command: warns about comments
+### -Wdouble-promotion
+### -Wexit-time-destructors
+### -Wextra-semi-stmt
+### -Wfloat-conversion
# -Wfloat-equal: too many false positives, e.g., 0.0 == X
+### -Wglobal-constructors
+### -Wimplicit-fallthrough
# -Wlogical-op-parentheses: && is multiplicative; || is additive
# -Wmismatched-tags: stylistic freedom--not a defect
+### -Wmissing-noreturn
+### -Wmissing-prototypes
+### -Wmissing-variable-declarations
# -Wpadded: useful only for low-level work
+### -Wshadow
+### -Wsign-conversion
# -Wstring-plus-int: false negatives and no true positives in lmi
+### -Wundefined-func-template
# -Wunreachable-code-break: pleonastic 'break' adds clarity
# -Wweak-template-vtables: same as '-Wweak-vtables'
# -Wweak-vtables: it's better to let the linker remove duplicates
- [lmi-commits] [lmi] master updated (f8fac8dd -> 68095897), Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 259a59c7 3/6: Enable '-Wshadow' for clang, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 782f0641 4/6: Don't limit the number of clang diagnostics, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 68095897 6/6: Use [[fallthrough]], Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 54ce0f17 1/6: Mark clang warnings requiring investigation,
Greg Chicares <=
- [lmi-commits] [lmi] master 5c883d42 2/6: '-Wcast-function-type': treat clang the same as gcc, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 98265f31 5/6: Don't use clang's '-Wcovered-switch-default', Greg Chicares, 2022/07/08