From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30926 invoked from network); 15 May 2023 12:56:05 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 15 May 2023 12:56:05 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 9front; Mon May 15 08:51:08 -0400 2023 Received: from abbatoir (pool-108-27-53-161.nycmny.fios.verizon.net [108.27.53.161]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 03960caf (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Mon, 15 May 2023 05:51:05 -0700 (PDT) Message-ID: <9DC9C76B76A235F85F3710646508AD34@eigenstate.org> To: 9front@9front.org Date: Mon, 15 May 2023 08:51:03 -0400 From: ori@eigenstate.org In-Reply-To: <8F22ED51-F0B5-4DF9-881E-E8BF258DF795@tachibana-labs.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: app-scale property just-in-time manager Subject: Re: [9front] Re: [9front] [PATCH] cc: support type qualifiers inside array brackets. Reply-To: 9front@9front.org Precedence: bulk Quoth mia soweli : > allows c99 array declarations with type qualifiers inside the brackets. > for example: > > int list[const 5]; > int list[const restrict 5]; > int list[volatile 5]; > int list[static 5]; > > i read the standard more closely, the static seems to be an optimization thing that means the array has *at least* however many members, and we should ignore it instead of treating it like static outside the brackets. > the patch looks fine, but the feature seems idiotic. I wonder if it's more reasonable to just patch it out and send the patch to upstream.