Date: Fri, 28 Dec 2018 10:18:12 +0100 From: Gary Jennejohn <gljennjohn@gmail.com> To: freebsd-current@freebsd.org Subject: HEAD buildworld fails in libc Message-ID: <20181228101812.42000b6d@ernst.home>
next in thread | raw e-mail | index | archive | help
I don't know why this hasn't already been reported, but I've been
seeing this error since the commit was made.
===> lib/libc (obj,all,install)
/usr/src/lib/libc/string/strerror.c:96:11: error: passing 'const char []' to parameter of type 'char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
__uprefix,
^~~~~~~~~
/usr/src/lib/libc/string/strerror.c:61:23: note: passing argument to parameter 'uprefix' here
errstr(int num, char *uprefix, char *buf, size_t len)
^
1 error generated.
*** [strerror.o] Error code 1
I deleted /usr/obj, disabled META_MODE and ran the ``make buildworld''
with -j1.
My /usr/src is at r342569.
--
Gary Jennejohn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181228101812.42000b6d>
