lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master d81f0641 1/4: Improve gcc option documentatio


From: Greg Chicares
Subject: [lmi-commits] [lmi] master d81f0641 1/4: Improve gcc option documentation
Date: Wed, 13 Jul 2022 09:36:17 -0400 (EDT)

branch: master
commit d81f0641990186a9b1d72aec4fa8d614c1feb0ac
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Improve gcc option documentation
    
    Commit 8b387bdcd95b6 of 20220708T2148 improvidently documented these
    as though they were standard attributes that lmi might use. Actually
    they are almost all nonstandard gcc-specific attributes that lmi
    avoids using.
---
 compiler_gcc_warnings.make | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/compiler_gcc_warnings.make b/compiler_gcc_warnings.make
index e6535d9f..db6dadf7 100644
--- a/compiler_gcc_warnings.make
+++ b/compiler_gcc_warnings.make
@@ -59,7 +59,9 @@ endif
 # -Wparentheses: its diagnostics are beyond pedantic
 # -Wpsabi: undocumented--ARM only?
 # -Wsign-conversion: [see note elsewhere in this file]
-# -Wsuggest-attribute: use occasionally; beware false positives
+# -Wsuggest-attribute: these are all nonstandard and gcc-specific,
+#   except '-Wno-suggest-attribute=noreturn', which might occasionally
+#   be useful for C++ although it gives many false positives.
 # -Wsystem-headers: not generally useful
 # -Wswitch-default: false positives for switches on enums that
 #   include all cases (verified by -Wswitch-enum)



reply via email to

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