waylandpp icon indicating copy to clipboard operation
waylandpp copied to clipboard

add missing <cstdint> include

Open trofi opened this issue 2 years ago • 1 comments

Upcoming gcc-13 made <string> leaner and does not include <cstdint> implicitly anymore. As a result build fails without the change as:

[  2%] Building CXX object CMakeFiles/wayland-scanner++.dir/scanner/scanner.cpp.o
scanner/scanner.cpp:378:3: error: 'uint32_t' does not name a type
  378 |   uint32_t width = 0;
      |   ^~~~~~~~

trofi avatar Jan 08 '23 18:01 trofi

Tested as working with gcc-13.1. 👍

@NilsBrause - would it be possible to merge and potentially issue a 1.0.1 release

heitbaum avatar Apr 30 '23 04:04 heitbaum