From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15473 invoked by alias); 5 Dec 2018 07:10:05 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 15437 invoked by uid 89); 5 Dec 2018 07:10:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=char8_t, impacted, 20181104, HContent-Transfer-Encoding:8bit X-HELO: smtp81.ord1c.emailsrvr.com Received: from smtp81.ord1c.emailsrvr.com (HELO smtp81.ord1c.emailsrvr.com) (108.166.43.81) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 05 Dec 2018 07:09:55 +0000 Received: from smtp3.relay.ord1c.emailsrvr.com (localhost [127.0.0.1]) by smtp3.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 710B2A0170; Wed, 5 Dec 2018 02:09:53 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=honermann.net; s=20180930-2j89z3ji; t=1543993793; bh=M+UnICeX9oCINvDVzQGuIWHo2sd9NDqSaL6TnOw2jso=; h=Subject:To:From:Date:From; b=ky10KQkm9z5EFKBQM4erC+IwwIA9Kvboai8c0UI5GjNBI8JygN2RuubIJW/LEh9LH PRdj3dADpvZxYLAw4i9cymNEEmREi2AL96kYXVxTLeJD2O60LhcMwb1ROXCEYUsZxM FgBS2y4L+P7NwTD4kZBmpOb/B/zn0hCfxOCjzn80= X-Auth-ID: tom@honermann.net Received: by smtp3.relay.ord1c.emailsrvr.com (Authenticated sender: tom-AT-honermann.net) with ESMTPSA id 2B4DCA00A8; Wed, 5 Dec 2018 02:09:53 -0500 (EST) X-Sender-Id: tom@honermann.net Received: from [192.168.1.19] (pool-71-176-235-158.rcmdva.fios.verizon.net [71.176.235.158]) (using TLSv1.2 with cipher AES128-SHA) by 0.0.0.0:587 (trex/5.7.12); Wed, 05 Dec 2018 02:09:53 -0500 Subject: Re: [PATCH 1/9]: C++ P0482R5 char8_t: Documentation updates To: Jason Merrill , gcc-patches References: <1de934a1-cc14-26fe-a18c-5de855271187@honermann.net> From: Tom Honermann Message-ID: <38dd7b69-3e86-215d-2450-245716939cd3@honermann.net> Date: Wed, 05 Dec 2018 07:10:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg00258.txt.bz2 On 12/3/18 2:59 PM, Jason Merrill wrote: > On 11/5/18 2:39 PM, Tom Honermann wrote: >> This patch adds documentation for new -fchar8_t and -fno-char8_t >> options. >> >> gcc/ChangeLog: >> >> 2018-11-04  Tom Honermann  >>       * doc/invoke.texi (-fchar8_t): Document new option. > >> +Enable support for the P0482 proposal including the addition of a >> +new @code{char8_t} fundamental type, changes to the types of UTF-8 > > Now that the proposal has been accepted, I'd refer to C++2a instead. Agreed.  I also need to make the changes to implicitly enable -fchar8_t with -std=c++2a. The list of impacted standard library features was incomplete and I suspect it isn't worth mentioning them specifically.  Perhaps mentioning the feature test macros would be helpful as well? How does the following sound? Enable support for @code{char8_t} as adopted for C++2a.  This includes the addition of a new @code{char8_t} fundamental type, changes to the types of UTF-8 string and character literals, new signatures for user defined literals, associated standard library updates, and new @code{__cpp_char8_t} and @code{__cpp_lib_char8_t} feature test macros. Tom. > > Jason