Skip to content

Conversation

@DevManu-de
Copy link
Contributor

The issues described in #103 are fixed.
They were undetected beacuse gcc used an older compiler version which did not raise an error.
I changed the code to be compliant with c23 and set this in the Makefile thus future changes in the default compiler version continue to compile.

The pull request #100 should also be considered to be merged as it may result in compiler errors because some systems separate ncurses and tinfo more strictly and thus result in an error.

@DevManu-de DevManu-de changed the title Fixed compiling error and added tinfo link Fixed compiling error Jul 4, 2025
@DevManu-de
Copy link
Contributor Author

DevManu-de commented Jul 4, 2025

Makefile now requires c11 yet enables posix extension strdup used in src/history.c:31 by defining -D_DEFAULT_SOURCE

Fixed compiling and added tinfo link
Removed tinfo link
Reduced compiler version
@ajccosta
Copy link
Collaborator

ajccosta commented Nov 6, 2025

Perfect thanks :). Just added attribute((unused)) to prevent the compiler warning.

@ajccosta ajccosta merged commit 153272c into alt-romes:master Nov 6, 2025
1 check passed
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.

2 participants