From: ori@eigenstate.org
To: 9front@9front.org
Subject: Re: [9front] Re: [9front] [PATCH] cc: support type qualifiers inside array brackets.
Date: Mon, 15 May 2023 08:51:03 -0400 [thread overview]
Message-ID: <9DC9C76B76A235F85F3710646508AD34@eigenstate.org> (raw)
In-Reply-To: <8F22ED51-F0B5-4DF9-881E-E8BF258DF795@tachibana-labs.org>
Quoth mia soweli <inbox@tachibana-labs.org>:
> 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.
next prev parent reply other threads:[~2023-05-15 12:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-13 23:31 [9front] [PATCH] cc: support const and restrict inside array declarations mia soweli
2023-05-14 5:25 ` ori
2023-05-14 10:20 ` [9front] " mia soweli
2023-05-14 8:10 ` Michael Forney
2023-05-14 10:23 ` [9front] " mia soweli
2023-05-14 11:10 ` [9front] [PATCH] cc: support type qualifiers inside array brackets mia soweli
2023-05-15 7:39 ` [9front] " mia soweli
2023-05-15 12:51 ` ori [this message]
2023-05-15 14:05 ` [9front] " mia soweli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9DC9C76B76A235F85F3710646508AD34@eigenstate.org \
--to=ori@eigenstate.org \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).