From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75024 invoked by alias); 12 Oct 2018 01:42:41 -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 75009 invoked by uid 89); 12 Oct 2018 01:42:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:826 X-HELO: mail-qt1-f195.google.com Received: from mail-qt1-f195.google.com (HELO mail-qt1-f195.google.com) (209.85.160.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 12 Oct 2018 01:42:39 +0000 Received: by mail-qt1-f195.google.com with SMTP id j46-v6so12256407qtc.9 for ; Thu, 11 Oct 2018 18:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=Hkv0NFNr+YKOHlTPGkDID91TJcjCwJrRoeEL9xxL4dg=; b=t/ct18g0RPo3Li16ivGjv5Jmc0ToHD/K+m1mT9/6Wn9mMTmIMZoWMd/KOUqFWFsjth Ljb9253svF0TyGJ0hyH5atAXd+kKq1VHzheP0qhxxsvWXKOUp7pxayPSRJXbpYjJHu6Z aEfDwcsKipJgBjRMb8QJ++dlbZHmHcf+gXnn5xX6zZSht3XNZspXI4wlptPsa0OqC0Ou O7kxTWzh0N7o2HFsPoK3kxYicBFX513xznLI8kIGHNRl9ONtogjznQB2dDqoONJ8Q9Uw 3CtF/88xB34WlL2D+Nup0AmR3hqwOrO+TcglLP7mxTK5gpIoMCy9rdSrUkS+Zq7RvNtR mzrA== Return-Path: Received: from localhost.localdomain (184-96-225-137.hlrn.qwest.net. [184.96.225.137]) by smtp.gmail.com with ESMTPSA id t22-v6sm15983798qtt.1.2018.10.11.18.42.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Oct 2018 18:42:36 -0700 (PDT) Subject: Re: [doc PATCH] using multiple format-arg attributes on a single function (PR 87593) To: Joseph Myers References: <7d7bacdc-6163-6e3d-72d4-6e05857c82ee@gmail.com> Cc: Gcc Patch List From: Martin Sebor Message-ID: <45b0bf78-c26b-bbcd-1174-87349e7d9747@gmail.com> Date: Fri, 12 Oct 2018 02:58:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00713.txt.bz2 On 10/11/2018 04:38 PM, Joseph Myers wrote: > On Thu, 11 Oct 2018, Martin Sebor wrote: > >> Attached is a documentation-only patch to clarify the use case >> of multiple distinct format_arg attributes on a single function. >> It's far from obvious that the use case makes sense so explicitly >> mentioning it should help avoid the mistake of assuming that >> accepting it is due to the lack of better checking in the area >> (it could also prompt Clang to support the use case -- likely >> an omission due to its obscurity). > > This doc patch is OK (though I wonder if it should mention ngettext > explicitly as an example of a use case for multiple format_arg > attributes). I've committed r265073 with a sentence mentioning it. Martin