lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master a1dadae 6/7: Explain why '-Wmissing-declarati


From: Greg Chicares
Subject: [lmi-commits] [lmi] master a1dadae 6/7: Explain why '-Wmissing-declarations' is not enabled
Date: Fri, 22 Mar 2019 05:53:37 -0400 (EDT)

branch: master
commit a1dadaec36e4161efaf83bf7f5dc7ac0109765dc
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Explain why '-Wmissing-declarations' is not enabled
---
 workhorse.make | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/workhorse.make b/workhorse.make
index 1d4db80..cbc6fc2 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -466,12 +466,13 @@ gcc_common_warnings := \
 # Warnings that are not generally useful.
 #
 # -Wdate-time: only for "bit-wise-identical reproducible compilations"
+# -Wmissing-declarations: for C++, this flags valid functions that
+#   arguably belong in an unnamed namespace
 # -Wunsafe-loop-optimizations: incompatible with ranged for-loops
 
 # Consider these later:
 
 postponed_gcc_common_warnings := \
-  -Wmissing-declarations \
   -Wswitch-enum \
 
 gcc_c_warnings := \



reply via email to

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