This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Log4cpp Git repository.".
The branch, throw-noexcept-auto_unique-va has been created
at 231e96104cf739b03ca011c8b838ac834395e73d (commit)
- Log -----------------------------------------------------------------
http://sourceforge.net/p/log4cpp/codegit/ci/
commit 6448ecddc8d7fdf2179bbce574cec7341181295c
Author: Alexander Perepelkin <san...@us...>
Date: Tue Feb 7 23:17:50 2023 +0400
Patch #49 C99 compatibility fix for snprintf configure check. Do not call the undeclared exit function. This avoids an implicit function declaration, which future compilers may reject by default. (Florian Weimer, @fweimer)
diff --git a/m4/AC_FUNC_SNPRINTF.m4 b/m4/AC_FUNC_SNPRINTF.m4
index 08af521..3d77d0f 100644
--- a/m4/AC_FUNC_SNPRINTF.m4
+++ b/m4/AC_FUNC_SNPRINTF.m4
@@ -13,7 +13,7 @@ dnl
AC_DEFUN([AC_FUNC_SNPRINTF],
[AC_CACHE_CHECK(for working snprintf, ac_cv_func_snprintf,
[AC_TRY_RUN([#include <stdio.h>
-int main () { int l = snprintf(NULL,0,"%d",100); exit (!((3 <= l) || (-1 == l))); }
+int main () { int l = snprintf(NULL,0,"%d",100); return !((3 <= l) || (-1 == l)); }
], ac_cv_func_snprintf=yes, ac_cv_func_snprintf=no,
ac_cv_func_snprintf=no)])
if test $ac_cv_func_snprintf = yes; then
http://sourceforge.net/p/log4cpp/codegit/ci/
commit 6448ecddc8d7fdf2179bbce574cec7341181295c
Author: Alexander Perepelkin <san...@us...>
Date: Tue Feb 7 23:17:50 2023 +0400
Patch #49 C99 compatibility fix for snprintf configure check. Do not call the undeclared exit function. This avoids an implicit function declaration, which future compilers may reject by default. (Florian Weimer, @fweimer)
diff --git a/m4/AC_FUNC_SNPRINTF.m4 b/m4/AC_FUNC_SNPRINTF.m4
index 08af521..3d77d0f 100644
--- a/m4/AC_FUNC_SNPRINTF.m4
+++ b/m4/AC_FUNC_SNPRINTF.m4
@@ -13,7 +13,7 @@ dnl
AC_DEFUN([AC_FUNC_SNPRINTF],
[AC_CACHE_CHECK(for working snprintf, ac_cv_func_snprintf,
[AC_TRY_RUN([#include <stdio.h>
-int main () { int l = snprintf(NULL,0,"%d",100); exit (!((3 <= l) || (-1 == l))); }
+int main () { int l = snprintf(NULL,0,"%d",100); return !((3 <= l) || (-1 == l)); }
], ac_cv_func_snprintf=yes, ac_cv_func_snprintf=no,
ac_cv_func_snprintf=no)])
if test $ac_cv_func_snprintf = yes; then
http://sourceforge.net/p/log4cpp/codegit/ci/
commit 6448ecddc8d7fdf2179bbce574cec7341181295c
Author: Alexander Perepelkin <san...@us...>
Date: Tue Feb 7 23:17:50 2023 +0400
Patch #49 C99 compatibility fix for snprintf configure check. Do not call the undeclared exit function. This avoids an implicit function declaration, which future compilers may reject by default. (Florian Weimer, @fweimer)
diff --git a/m4/AC_FUNC_SNPRINTF.m4 b/m4/AC_FUNC_SNPRINTF.m4
index 08af521..3d77d0f 100644
--- a/m4/AC_FUNC_SNPRINTF.m4
+++ b/m4/AC_FUNC_SNPRINTF.m4
@@ -13,7 +13,7 @@ dnl
AC_DEFUN([AC_FUNC_SNPRINTF],
[AC_CACHE_CHECK(for working snprintf, ac_cv_func_snprintf,
[AC_TRY_RUN([#include <stdio.h>
-int main () { int l = snprintf(NULL,0,"%d",100); exit (!((3 <= l) || (-1 == l))); }
+int main () { int l = snprintf(NULL,0,"%d",100); return !((3 <= l) || (-1 == l)); }
], ac_cv_func_snprintf=yes, ac_cv_func_snprintf=no,
ac_cv_func_snprintf=no)])
if test $ac_cv_func_snprintf = yes; then
-----------------------------------------------------------------------
hooks/post-receive
--
Log4cpp Git repository.
|