[RFC v1 1/1] string: Add streq(), memeq(), wcseq(), wmemeq()
Joseph Myers
josmyers@redhat.com
Mon Sep 1 16:53:14 GMT 2025
On Mon, 1 Sep 2025, Adhemerval Zanella Netto wrote:
> It is for C89 [1]:
>
> :::: -std=c89 -D_GNU_SOURCE=1
> In file included from ../include/string.h:60,
> from ../inet/netinet/icmp6.h:22,
> from ../include/netinet/icmp6.h:1,
> from /tmp/cih_test_4ZNjF5.c:10:
> ../string/string.h:86:14: error: expected ';' before '_Bool'
> 86 | static inline _Bool
> | ^~~~~~
That's about inline not being a keyword (should be using __inline).
Although if anyone tries to use GCC versions before GCC 3.0 with the
headers, they'd run into lack of _Bool as well.
--
Joseph S. Myers
josmyers@redhat.com
More information about the Libc-alpha
mailing list