Paul Eggert <egg...@cs.ucla.edu> writes:

> On 3/23/23 18:23, Lawrence Velázquez wrote:
>> On Thu, Mar 23, 2023, at 9:16 PM, Paul Eggert wrote:
>>> I see that Bash won't compile with a C23 compiler, since it still uses
>>> old-style function definitions which C23 no longer supports. Is there
>>> any effort and/or interest in fixing this portability problem in Bash?
>> I believe this was done a few months ago on the devel branch.
>> https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=a61ffa78ede6df4d1127fddd2e8a1a77a7186ea1
>
> Oh, thanks, I was looking at the wrong branch.
>
> However, Bash's devel branch still has old-style function definitions
> and therefore won't compile with a strict C23 compiler. For example,
> get_variable_value in variables.c is old-style. I assume there would
> be interest in fixing remaining areas where Bash won't port to C23?

I hope so. I'm waiting for a review of an issue in one of its configure
checks with a strict compiler too [0].

[0] https://lists.gnu.org/archive/html/bug-bash/2023-02/msg00000.html

Attachment: signature.asc
Description: PGP signature

Reply via email to