[go: up one dir, main page]

Skip to content

Build failure with GCC 15: ../../include/orcus/sax_parser.hpp:24:22: error: 'uint8_t' does not name a type

Trying to build orcus 0.19.2 with GCC 15 yields the following error:

In file included from ../../include/orcus/sax_ns_parser.hpp:11,
                 from ../../include/orcus/sax_token_parser.hpp:11,
                 from sax_token_parser.cpp:8:
../../include/orcus/sax_parser.hpp:24:22: error: 'uint8_t' does not name a type
   24 |     static constexpr uint8_t baseline_version = 10;
      |                      ^~~~~~~
../../include/orcus/sax_parser.hpp:12:1: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   11 | #include "sax_parser_base.hpp"
  +++ |+#include <cstdint>
   12 | 

libstdc++ no longer brings in <stdint.h> transitively via some other headers.