Skip to content

Conversation

@kbipinkumar
Copy link

This PR fixes build failures we encountered with gcc version 15 as mentioned in issue #6

The PR makes the following modifications:

  • In src/ops.c:

    • Adds #define _XOPEN_SOURCE 700 at the top of the file before any #include to explicitly request POSIX.1-2008/SUSv4 features required by modern compiler versions.
    • Adds #include <stdio.h> to guarantee that standard I/O function declarations are available to prevent implicit declaration warnings or errors under stricter compilers.
  • In src/read.c:

    • Adds #define _XOPEN_SOURCE 700 at the top of the file to similarly enable the required POSIX features.

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