bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: base64: gcc-15 compile issue


From: Collin Funk
Subject: Re: base64: gcc-15 compile issue
Date: Sat, 21 Dec 2024 11:53:50 -0800
User-agent: Gnus/5.13 (Gnus v5.13)

Bruno Haible via Gnulib discussion list <bug-gnulib@gnu.org> writes:

> In this case, the code is perfectly fine: it initializes an array of
> size 64 with 64 characters. There is no better way to write such an
> initialization.

If I interpret the warning correctly, I don't think it would trigger
with something like this:

    static const char b64c[64] = { 'A', 'B', 'C', 'D', ... };

Not sure if it is worth the effort to change though.

Collin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]