This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] For Adding clang check
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Kamlesh Kumar <kamleshbhalui at gmail dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 28 Nov 2019 19:52:18 +0100
- Subject: Re: [PATCH] For Adding clang check
- References: <20191128184733.27377-1-kamleshbhalui@gmail.com>
* Kamlesh Kumar:
> ChangeLog :
>
> 2019-11-28 Kamlesh Kumar <kamleshbhalui@gmail.com>
>
> * string/string.h (__glibc_clang_prereq): Used.
> ---
> string/string.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/string/string.h b/string/string.h
> index 73c22a535a..06a8977165 100644
> --- a/string/string.h
> +++ b/string/string.h
> @@ -33,7 +33,7 @@ __BEGIN_DECLS
> #include <stddef.h>
>
> /* Tell the caller that we provide correct C++ prototypes. */
> -#if defined __cplusplus && __GNUC_PREREQ (4, 4)
> +#if defined __cplusplus && (__GNUC_PREREQ (4, 4) || __glibc_clang_prereq(3,5))
> # define __CORRECT_ISO_CPP_STRING_H_PROTO
> #endif
Sorry, what's the purpose of this change? Thanks.
If it fixes a user-visible problem, it should reference a bug in
Bugzilla.