Commit b40a7a3
Include <cstdint> for uint32_t in numpy_support.h
Summary: This diff adds `#include <cstdint>` to `numpy_support.h`. The header declares `load_npy_compressed(const char*, uint32_t, uint32_t)` but relied on `uint32_t` arriving transitively through `<memory>`, `<string>`, or `<vector>` rather than including the standard header that defines it. That transitive path is not guaranteed and is not provided under newer GCC/libstdc++ toolchains, where the translation unit fails to compile with `'uint32_t' has not been declared`. Including `<cstdint>` directly makes the header self-contained and it compiles cleanly across toolchains.
Differential Revision: D1153136051 parent 23d85ae commit b40a7a3
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments