[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master b5cee829 18/24: Explain why '-Wpadded' is dis
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master b5cee829 18/24: Explain why '-Wpadded' is disabled for clang |
Date: |
Fri, 8 Jul 2022 07:11:28 -0400 (EDT) |
branch: master
commit b5cee829a8f1a8f9155cb42f71409eb08bb200ef
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Explain why '-Wpadded' is disabled for clang
Copied explanation from 'compiler_gcc_warnings.make'. For concinnity
with the gcc makefile, removed terminal periods in this section.
---
compiler_clang_warnings.make | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/compiler_clang_warnings.make b/compiler_clang_warnings.make
index d9f09060..543e387a 100644
--- a/compiler_clang_warnings.make
+++ b/compiler_clang_warnings.make
@@ -47,10 +47,11 @@ clang_c_warnings := \
# Write '-Wno' options at the end, with a rationale here.
#
-# -Wstring-plus-int: false negatives and no true positives in lmi.
-# -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.
+# -Wpadded: useful only for low-level work
+# -Wstring-plus-int: false negatives and no true positives in lmi
+# -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
clang_cxx_warnings := \
$(clang_common_warnings) \
- [lmi-commits] [lmi] master fb7c030b 10/24: Work around clang '-Wno-unreachable-code-return', (continued)
- [lmi-commits] [lmi] master fb7c030b 10/24: Work around clang '-Wno-unreachable-code-return', Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master a5e06004 14/24: Enable another clang warning, except for cgicc, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master c21d8849 12/24: Explain why certain clang warnings will remain disabled, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master e5eeed14 20/24: Explain why two more clang warnings are disabled, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master f8fac8dd 24/24: Explain why several more clang warnings are disabled, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 06f81a9c 05/24: Refine warning pragmata, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 32145870 03/24: Correct an inconsistency in a comment, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 5334fa49 04/24: Prefer 'nullptr' to '0', Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master e7ef946d 11/24: Disable a warning only for cgicc, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master e97c7ec6 17/24: Enable another clang warning, with one pragmatic exception, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master b5cee829 18/24: Explain why '-Wpadded' is disabled for clang,
Greg Chicares <=
- [lmi-commits] [lmi] master 9a551769 22/24: Disable floating-point comparison warning, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master bb0434c3 09/24: Avoid clang warning on silliness, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 17c9b8e0 16/24: Enable another clang warning, except for cgicc, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 1be7d13d 23/24: Don't let clang warn about lawful comments, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 29fec503 13/24: Work around spurious clang "unused" warnings, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 89930e76 15/24: Experimentally work around a clang warning, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 06024f1f 19/24: '-Wold-style-cast': treat clang the same as gcc, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 6a5c4bb3 21/24: Distinguish gcc vs. clang floating-point warnings, Greg Chicares, 2022/07/08