[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 := \
- [lmi-commits] [lmi] master updated (eebb410 -> ec7be84), Greg Chicares, 2019/03/22
- [lmi-commits] [lmi] master c01e2c3 2/7: Make certain classes 'final' as suggested by '-Wsuggest-final-types', Greg Chicares, 2019/03/22
- [lmi-commits] [lmi] master 784d552 4/7: Explain why '-Wsign-promo' is not enabled, Greg Chicares, 2019/03/22
- [lmi-commits] [lmi] master 5cb593a 3/7: Enable '-Wnon-virtual-dtor'; fix the issues it flags, Greg Chicares, 2019/03/22
- [lmi-commits] [lmi] master a1dadae 6/7: Explain why '-Wmissing-declarations' is not enabled,
Greg Chicares <=
- [lmi-commits] [lmi] master f3cc535 1/7: Revise lists of postponed compiler options, Greg Chicares, 2019/03/22
- [lmi-commits] [lmi] master ec7be84 7/7: Enable '-Wswitch-enum'; fix the issues it flags, Greg Chicares, 2019/03/22
- [lmi-commits] [lmi] master 78a4de0 5/7: Enable '-Wnull-dereference'; fix the issues it flags, Greg Chicares, 2019/03/22