This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Replace __bzero with memset


On Mon, Jun 12, 2017 at 1:51 PM, Joseph Myers <joseph@codesourcery.com> wrote:
> The string2.h removal breaks build for 32-bit x86.
>
> In file included from ../string/string-inlines.c:32:0,
>                  from ../sysdeps/i386/string-inlines.c:21:
> ../sysdeps/x86/bits/string.h:678:0: error: "__stpcpy" redefined [-Werror]
>  #  define __stpcpy(dest, src) \
>
> In file included from ../string/string-inlines.c:27:0,
>                  from ../sysdeps/i386/string-inlines.c:21:
> ../include/string.h:167:0: note: this is the location of the previous definition
>  # define __stpcpy(dest, src) __builtin_stpcpy (dest, src)
>
> cc1: all warnings being treated as errors

This should get fixed, but FYI, in about two hours I'm going to
propose a patch to zap bits/string.h. :)

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]