[Top][All Lists]

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

Bash not portable to C23

From: Paul Eggert
Subject: Bash not portable to C23
Date: Thu, 23 Mar 2023 18:16:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

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?

It's OK these days to assume C89 or later, so it's OK for Bash to switch to new-style function definitions. Indeed, most GNU projects I'm familiar with assume many C99 constructs.

reply via email to

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