[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 3d6f262f 9/9: Enable '-Wextra-semi' for clang
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 3d6f262f 9/9: Enable '-Wextra-semi' for clang |
Date: |
Fri, 29 Jul 2022 20:42:33 -0400 (EDT) |
branch: master
commit 3d6f262fc50478e3fb2acc9eab7da2ef58da52bb
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Enable '-Wextra-semi' for clang
This is especially important because gcc-10 warned of stray semicolons
but gcc-11 does not (because the language no longer forbids it).
---
compiler_clang_warnings.make | 2 --
1 file changed, 2 deletions(-)
diff --git a/compiler_clang_warnings.make b/compiler_clang_warnings.make
index cdb6ccaa..59e912a7 100644
--- a/compiler_clang_warnings.make
+++ b/compiler_clang_warnings.make
@@ -57,7 +57,6 @@ clang_c_warnings := \
# -Wdocumentation-unknown-command: warns about comments
# -Wdouble-promotion: not actually useful
# -Wexit-time-destructors: for analysis only--all positives are false
-# -Wextra-semi-stmt: all positives are false
# -Wfloat-conversion: false positives for double-to-bool conversion
# -Wfloat-equal: too many false positives, e.g., 0.0 == X
# -Wglobal-constructors: for analysis only--all positives are false
@@ -86,7 +85,6 @@ clang_cxx_warnings := \
-Wno-documentation-unknown-command \
-Wno-double-promotion \
-Wno-exit-time-destructors \
- -Wno-extra-semi-stmt \
-Wno-float-conversion \
-Wno-float-equal \
-Wno-global-constructors \
- [lmi-commits] [lmi] master updated (a07a61b8 -> 3d6f262f), Greg Chicares, 2022/07/29
- [lmi-commits] [lmi] master 9131e7c6 2/9: Also test polymorphic-ness, Greg Chicares, 2022/07/29
- [lmi-commits] [lmi] master 52e11311 3/9: Print type name with garniture, Greg Chicares, 2022/07/29
- [lmi-commits] [lmi] master 27fbf8ca 8/9: Rewrite unit-test macros to allow invocation with terminal '; ', Greg Chicares, 2022/07/29
- [lmi-commits] [lmi] master 6b384aee 1/9: Explicitly test derivation from class polymorphic_base, Greg Chicares, 2022/07/29
- [lmi-commits] [lmi] master b380d114 5/9: Preclude UB, Greg Chicares, 2022/07/29
- [lmi-commits] [lmi] master ac56835b 7/9: Remove null statements, Greg Chicares, 2022/07/29
- [lmi-commits] [lmi] master 3d6f262f 9/9: Enable '-Wextra-semi' for clang,
Greg Chicares <=
- [lmi-commits] [lmi] master 2ca1e113 6/9: Comment out superfluous semicolons, Greg Chicares, 2022/07/29
- [lmi-commits] [lmi] master cb353f7b 4/9: Assert that a type is not default constructible, Greg Chicares, 2022/07/29