From owner-svn-src-all@FreeBSD.ORG Wed May 22 19:41:28 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B710DFF5; Wed, 22 May 2013 19:41:28 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from onyx.glenbarber.us (onyx.glenbarber.us [199.48.134.227]) by mx1.freebsd.org (Postfix) with ESMTP id 7E99D62E; Wed, 22 May 2013 19:41:28 +0000 (UTC) Received: from glenbarber.us (kaos.glenbarber.us [71.224.221.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by onyx.glenbarber.us (Postfix) with ESMTPSA id 4FD1523F804; Wed, 22 May 2013 15:41:27 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.8.3 onyx.glenbarber.us 4FD1523F804 Authentication-Results: onyx.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Wed, 22 May 2013 15:41:25 -0400 From: Glen Barber To: Ed Schouten Subject: Re: svn commit: r250883 - in head: include include/xlocale lib/libc/locale sys/sys tools/regression/lib/libc/locale Message-ID: <20130522194125.GM77347@glenbarber.us> References: <201305211959.r4LJxbLx034714@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bZ2MuwyI/0uB8yuJ" Content-Disposition: inline In-Reply-To: <201305211959.r4LJxbLx034714@svn.freebsd.org> X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 19:41:28 -0000 --bZ2MuwyI/0uB8yuJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 21, 2013 at 07:59:37PM +0000, Ed Schouten wrote: > Author: ed > Date: Tue May 21 19:59:37 2013 > New Revision: 250883 > URL: http://svnweb.freebsd.org/changeset/base/250883 >=20 > Log: > Add . > =20 > The header, part of C11, adds a small number of utility > functions for 16/32-bit "universal" characters, which may or may not be > UTF-16/32. As our wchar_t is already ISO 10646, simply add light-weight > wrappers around wcrtomb() and mbrtowc(). > =20 > While there, also add (non-yet-standard) _l functions, similar to the > ones we already have for the other locale-dependent functions. > =20 > Reviewed by: theraven >=20 > Added: > head/include/uchar.h (contents, props changed) > head/include/xlocale/_uchar.h (contents, props changed) > head/lib/libc/locale/c16rtomb.c (contents, props changed) > head/lib/libc/locale/c32rtomb.c (contents, props changed) > head/lib/libc/locale/mbrtoc16.c (contents, props changed) > head/lib/libc/locale/mbrtoc32.c (contents, props changed) > head/tools/regression/lib/libc/locale/test-c16rtomb.c (contents, prop= s changed) > head/tools/regression/lib/libc/locale/test-mbrtoc16.c (contents, prop= s changed) > Modified: > head/include/Makefile > head/include/stdatomic.h > head/include/xlocale/Makefile > head/lib/libc/locale/Makefile.inc > head/lib/libc/locale/Symbol.map > head/lib/libc/locale/mbrtowc.3 > head/lib/libc/locale/wcrtomb.3 > head/lib/libc/locale/xlocale_private.h > head/sys/sys/_types.h > head/tools/regression/lib/libc/locale/Makefile >=20 This fails to build for me with GCC. /usr/src/lib/libc/locale/c16rtomb.c:73: error: too many arguments to functi= on 'c32rtomb[21/1924] /usr/src/lib/libc/locale/c16rtomb.c: At top level: /usr/src/lib/libc/locale/c16rtomb.c:77: error: expected declaration specifi= ers or '...' before ' char16_t' /usr/src/lib/libc/locale/c16rtomb.c: In function 'c16rtomb': /usr/src/lib/l= ibc/locale/c16rtomb.c:80: error: 'c16' undeclared (first use in this functi= on) /usr/src/lib/libc/locale/c16rtomb.c:80: warning: passing argument 3 of 'c16= rtomb_l' from incompa tible pointer type /usr/src/lib/libc/locale/c16rtomb.c:80: error: too many arguments to functi= on 'c16rtomb_l' *** Error code 1 Stop. make: stopped in /usr/src/lib/libc *** Error code 1 Glen --bZ2MuwyI/0uB8yuJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBCAAGBQJRnR9lAAoJEFJPDDeguUajcFcH/ipTIIYF+Afgvx4kIr+Np0ia vrUQ0Nud/KKP04I38piXAdniCG/4nWAXDQjhbV35rrHAUpK/EqFRQq4WAtk72J0s KNoUVpbloRaZ79ajTQW43WfW+J5MpoF7M5h4s2BTBNde4J77c3UMVE6BAUJiY0Py ngGM9b/bQJEK1pf6mp/lvDu+hfmzESfoOQ5+C3VhrdYZ5YwjznkZ4O169S6k89wM CLvmSFaqIoxJtSvRBDb+JYW/9gQyEGVDLPguAr/ii8t1NZ2R7XJMDJJpK04DACXV rToZ6N056B1BqlqUilyJxTDb30dvUgcDCof8EhbffWNmUn+7GpCKEtxI/5AgXno= =onj0 -----END PGP SIGNATURE----- --bZ2MuwyI/0uB8yuJ--