lmi-commits
[Top][All Lists]
Advanced

[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



reply via email to

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