Skip to content

Conversation

@nshireman
Copy link

PR fixes a compilation error on newer Linux distributions using GCC 14 or 15.

The spinner array was initialized with 4 characters, but the array size was explicitly set to [4]. Modern GCC versions treat this as a fatal error because there is no room for the null terminator (\0), and the build dies.

Increasing the array size from 4 to 5 to accommodate the null terminator allows the build to complete on modern systems.

PR fixes a compilation error on newer Linux distributions using GCC 14 or 15.

The spinner array was initialized with 4 characters, but the array size was explicitly set to [4]. Modern GCC versions treat this as a fatal error because there is no room for the null terminator (\0).

Increasing the array size from 4 to 5 to accommodate the null terminator allows the build to complete on modern systems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant