jarro2783 / cxxopts

Lightweight C++ command line option parser
MIT License
4.16k stars 582 forks source link

Add missing header for gcc-15 #438

Closed pastalian closed 2 weeks ago

pastalian commented 2 weeks ago

GCC-15 no longer includes \<cstdint> implicitly. https://gcc.gnu.org/gcc-15/porting_to.html

/var/tmp/portage/dev-libs/cxxopts-3.2.0-r1/work/cxxopts-3.2.0/include/cxxopts.hpp:123:3: error: ‘uint8_t’ does not name a type
  123 |   uint8_t major, minor, patch;
      |   ^~~~~~~

This change is Reviewable