Re: [PATCH] Compiler Attributes: Add __counted_by macro

From: Miguel Ojeda
Date: Thu May 04 2023 - 14:27:57 EST


On Thu, May 4, 2023 at 8:16 PM Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> + * Optional: future support coming in clang 17 and gcc 14

Should we just say:

Optional: only supported since clang >= 17
Optional: only supported since gcc >= 14

even if they are in the future? That way we avoid changing it later.
If somebody asks, you already say it it is in the future the commit
message, so it should be clear enough... :)

And if the compilers end up not supporting it on those versions for
some unexpected reason, well, we will need to fix the comment either
way.

(I can change it on my side if you prefer)

Thanks!

Cheers,
Miguel