Re: [PATCH 1/2] Support clang for explicit_bzero

2021-01-23 Thread Bruno Haible
> diff --git a/lib/explicit_bzero.c b/lib/explicit_bzero.c > index 87fadba81a..71a1cca3b0 100644 > --- a/lib/explicit_bzero.c > +++ b/lib/explicit_bzero.c > @@ -56,9 +56,19 @@ explicit_bzero (void *s, size_t len) >(void) memset_s (s, len, '\0', len); > #else >memset (s, '\0', len); > -#

[PATCH 1/2] Support clang for explicit_bzero

2021-01-23 Thread roucaries . bastien
From: Bastien Roucariès According to https://bugs.llvm.org/show_bug.cgi?id=15495#c11 llvm need g type constraint Signed-off-by: Bastien Roucariès --- lib/explicit_bzero.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/explicit_bzero.c

[PATCH 1/2] Support clang for explicit_bzero

2021-01-23 Thread roucaries . bastien
From: Bastien Roucariès According to https://bugs.llvm.org/show_bug.cgi?id=15495#c11 llvm need g type constraint Signed-off-by: Bastien Roucariès --- lib/explicit_bzero.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/explicit_bzero.c