lmi-commits
[Top][All Lists]
Advanced

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



reply via email to

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