lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 4ebf92ed 03/13: Suppress warnings for depreca


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 4ebf92ed 03/13: Suppress warnings for deprecated unary_function in cgicc
Date: Wed, 27 Jul 2022 15:16:33 -0400 (EDT)

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

    Suppress warnings for deprecated unary_function in cgicc
    
    See:
      https://lists.nongnu.org/archive/html/lmi/2022-07/msg00098.html
---
 compiler_clang_warnings.make | 1 +
 compiler_gcc_warnings.make   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/compiler_clang_warnings.make b/compiler_clang_warnings.make
index 5ecf361b..cdb6ccaa 100644
--- a/compiler_clang_warnings.make
+++ b/compiler_clang_warnings.make
@@ -106,6 +106,7 @@ clang_cxx_warnings := \
 # Target-specific modifications.
 
 $(cgicc_objects): clang_common_extra_warnings += \
+  -Wno-deprecated-declarations \
   -Wno-shorten-64-to-32 \
   -Wno-unknown-pragmas \
   -Wno-zero-as-null-pointer-constant \
diff --git a/compiler_gcc_warnings.make b/compiler_gcc_warnings.make
index db6dadf7..752d414a 100644
--- a/compiler_gcc_warnings.make
+++ b/compiler_gcc_warnings.make
@@ -233,6 +233,7 @@ bourn_cast_test.o: gcc_common_extra_warnings += \
 
 $(cgicc_objects): gcc_common_extra_warnings += \
   -Wno-conversion \
+  -Wno-deprecated-declarations \
   -Wno-zero-as-null-pointer-constant \
 
 wno_sign_conv_objects := \



reply via email to

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