gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: BUILD: Disable deprecation warnings for


From: gnunet
Subject: [gnunet] branch master updated: BUILD: Disable deprecation warnings for fork
Date: Thu, 05 Oct 2023 10:35:34 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 95507b4e2 BUILD: Disable deprecation warnings for fork
95507b4e2 is described below

commit 95507b4e283010a9a405a50b7fdb257270f848f1
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Thu Oct 5 10:35:29 2023 +0200

    BUILD: Disable deprecation warnings for fork
---
 src/util/os_priority.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/util/os_priority.c b/src/util/os_priority.c
index de4e6c395..63d18dbe4 100644
--- a/src/util/os_priority.c
+++ b/src/util/os_priority.c
@@ -436,7 +436,13 @@ start_process (enum GNUNET_OS_InheritStdioFlags 
std_inheritance,
   }
 #if DARWIN
   /* see https://web.archive.org/web/20150924082249/gnunet.org/vfork */
+  #pragma GCC diagnostic push
+  #pragma GCC diagnostic ignored "-Wdeprecated"
+  #pragma clang diagnostic push
+  #pragma clang diagnostic ignored "-Wdeprecated"
   ret = vfork ();
+  #pragma clang diagnostic pop
+  #pragma GCC diagnostic pop
 #else
   ret = fork ();
 #endif

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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