[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string-buffer: Enable resource leak warnings from clang
From: |
Bruno Haible |
Subject: |
Re: string-buffer: Enable resource leak warnings from clang |
Date: |
Tue, 29 Oct 2024 16:21:26 +0100 |
A misindentation in this commit:
> 2024-09-25 Bruno Haible <bruno@clisp.org>
>
> string-buffer: Enable resource leak warnings from clang.
> * m4/gnulib-common.m4 (gl_COMMON_BODY): Define the macros
> _GL_ATTRIBUTE_CAPABILITY_TYPE, _GL_ATTRIBUTE_ACQUIRE_CAPABILITY,
> _GL_ATTRIBUTE_RELEASE_CAPABILITY.
broke GNU clisp. This patch fixes it:
2024-10-29 Bruno Haible <bruno@clisp.org>
Fix indentation in config.h (regression 2024-09-25).
* m4/gnulib-common.m4 (gl_COMMON_BODY): Fix a '#else' indentation.
diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4
index 6981dcae81..0a5cbd55ec 100644
--- a/m4/gnulib-common.m4
+++ b/m4/gnulib-common.m4
@@ -1,5 +1,5 @@
# gnulib-common.m4
-# serial 105
+# serial 106
dnl Copyright (C) 2007-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -852,7 +852,7 @@ AC_DEFUN([gl_COMMON_BODY]
# if __clang_major__ >= 15
# define _GL_ATTRIBUTE_CAPABILITY_TYPE(concept) \
__attribute__ ((__capability__ (concept)))
-#else
+# else
# define _GL_ATTRIBUTE_CAPABILITY_TYPE(concept)
# endif
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: string-buffer: Enable resource leak warnings from clang,
Bruno Haible <=