ImNodeFlow icon indicating copy to clipboard operation
ImNodeFlow copied to clipboard

Build failure on Windows CI: `'uint32_t'` not declared in `ImNodeFlow.h` (missing `<cstdint>` include)

Open NewYaroslav opened this issue 4 months ago • 1 comments

When building on Windows CI the compilation fails because ImNodeFlow.h uses uint32_t without explicitly including <cstdint>. Some toolchains happen to pull it transitively, but others (e.g., on GitHub Actions Windows runners) do not.

Environment

  • OS: Windows (GitHub Actions runner)
  • Build system: CMake
  • C++ standard: C++17
  • Compiler(s): MSVC / MinGW-w64 (both can hit this depending on transitive includes)

Proposed fix Add an explicit include in ImNodeFlow.h near the other includes:

#include <cstdint> // for std::uint32_t / uint32_t

NewYaroslav avatar Sep 02 '25 22:09 NewYaroslav

Yes , this is something that changed relatively recently, I'll have to add the include

Fattorino avatar Oct 05 '25 09:10 Fattorino