Skip to content

Conversation

@jopadan
Copy link

@jopadan jopadan commented Jun 27, 2025

  • Use -std=c99
  • Avoids warning/error with gcc-14/15 about bool being a typedef
  • Avoids localtime_r not being defined with -std=c99

@jopadan jopadan changed the title remove bool define and require c99 to avoid error/warning in newer compilers use stdbool.h and __USE_POSIX for time.h Jun 27, 2025
@jopadan jopadan changed the title use stdbool.h and __USE_POSIX for time.h use C99 stdbool.h and __USE_POSIX for time.h Jun 27, 2025
- Use -std=c99
- Avoids warning/error with gcc-14/15 about bool being a typedef
- Avoids localtime_r not being defined with -std=c99
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