[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master f7747a7 5/6: Modernize C and C++ warnings
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master f7747a7 5/6: Modernize C and C++ warnings |
Date: |
Sun, 1 Oct 2017 14:20:02 -0400 (EDT) |
branch: master
commit f7747a7f61c049b2ad74c6956590cead65990580
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Modernize C and C++ warnings
'-Wno-long-long' is no longer needed now that 'long long int' has been
added to the current language standards. It now goes without saying
that '-Wmissing-prototypes' is inapplicable to C++.
---
workhorse.make | 8 --------
1 file changed, 8 deletions(-)
diff --git a/workhorse.make b/workhorse.make
index 7ae0b73..f2b4f73 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -424,11 +424,6 @@ gcc_common_warnings := \
-Wundef \
-Wwrite-strings \
-# Some boost libraries treat 'long long' as part of the language,
-# which it probably soon will be, so permit it now.
-
-gcc_common_warnings += -Wno-long-long
-
gcc_c_warnings := \
$(c_standard) \
$(gcc_common_warnings) \
@@ -495,9 +490,6 @@ endif
# Too many warnings for libstdc++:
# -Wunreachable-code \
-# Since at least gcc-3.4.2, -Wmissing-prototypes is deprecated as
-# being redundant for C++.
-
C_WARNINGS = \
$(gcc_c_warnings) \
$(gcc_common_extra_warnings) \
- [lmi-commits] [lmi] master updated (172dbc6 -> eff057a), Greg Chicares, 2017/10/01
- [lmi-commits] [lmi] master f7747a7 5/6: Modernize C and C++ warnings,
Greg Chicares <=
- [lmi-commits] [lmi] master e7a9fae 2/6: Correct misleading wx_table_generator ctor argument name, Greg Chicares, 2017/10/01
- [lmi-commits] [lmi] master 33aad87 3/6: Upgrade to xmlwrapp-0.8.1, Greg Chicares, 2017/10/01
- [lmi-commits] [lmi] master 4f66e63 1/6: Resolve a clang complaint differently, Greg Chicares, 2017/10/01
- [lmi-commits] [lmi] master b260973 4/6: Make compiler warnings stricter, Greg Chicares, 2017/10/01
- [lmi-commits] [lmi] master eff057a 6/6: Make compiler warnings stricter, Greg Chicares, 2017/10/01