asmaloney / libE57Format

Library for reading & writing the E57 file format
Boost Software License 1.0
137 stars 66 forks source link

src/StringFunctions.h: add missing <cstdint> header #183

Closed trofi closed 1 year ago

trofi commented 1 year ago

Without the change build fails on weekly gcc-13 as:

In file included from src/StructureNode.cpp:32:
src/StringFunctions.h:56:34:
  error: 'uint8_t' was not declared in this scope
   56 |    inline std::string hexString( uint8_t x )
      |                                  ^~~~~~~
src/StringFunctions.h:32:1:
  note: 'uint8_t' is defined in header '<cstdint>';
    did you forget to '#include <cstdint>'?
   31 | #include <iostream>
  +++ |+#include <cstdint>
   32 | #include <sstream>
asmaloney commented 1 year ago

Thanks Sergei!