lmi-commits
[Top][All Lists]
Advanced

[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 \



reply via email to

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