From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by sourceware.org (Postfix) with ESMTPS id 73A213858CDB for ; Thu, 23 Mar 2023 20:14:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 73A213858CDB Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.98,285,1673942400"; d="scan'208";a="164244" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa4.mentor.iphmx.com with ESMTP; 23 Mar 2023 12:14:53 -0800 IronPort-SDR: 4s2vcMwuh5VSqJUslSG/KqLjET9zp7BNCnfNUHmz9GiTW2ARpdFoTw/ZXdQ7nx8ZUPjNXG1s6T 2EsyrIZjgv2L451jI7eF8sIzXNrlbm+DYrKRQVWzfiXh90BjTJBEsXcs6HQAIGfz4r0ujO8eo4 LYF0dmqETg1Kcq2ttd3sgDNKqoBnslbA6Z65g10USQpEo1gr7UyX780hIjQjya04DREWaTNGD2 No5ijVguapJbjpYNbQHp5MfNEK3FF1cwPCvJ7PHyPom1tObyD23Efp3ngpsj+GlVI6z/10+VN4 c7w= Date: Thu, 23 Mar 2023 20:14:48 +0000 From: Joseph Myers To: Qing Zhao CC: Jakub Jelinek , "sandra@codesourcery.com" , Siddhesh Poyarekar , "Kees Cook" , Richard Biener , gcc Patches Subject: Re: Fwd: [V5][PATCH 2/2] Update documentation to clarify a GCC extension In-Reply-To: Message-ID: <4a128885-687d-9c22-778-811816b2e535@codesourcery.com> References: <20230316214715.604671-3-qing.zhao@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3107.5 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Thu, 23 Mar 2023, Qing Zhao via Gcc-patches wrote: > +Wgnu-variable-sized-type-not-at-end > +C C++ Var(warn_variable_sized_type_not_at_end) Warning > +Warn about structures or unions with C99 flexible array members are not > +at the end of a structure. I think there's at least one word missing here, e.g. "that" before "are". > +Please use warning option @option{-Wgnu-variable-sized-type-not-at-end} to > +identify all such cases in the source code and modify them. This extension > +will be deprecated from gcc in the next release. We don't generally say "in the next release" in the manual (or "deprecated from gcc"). Maybe it *is* deprecated, maybe it will be *removed*, or will *start to warn by default*, in some specified version number (giving a version number seems better than "next release"), but "will be deprecated" is odd. -- Joseph S. Myers joseph@codesourcery.com