Skip to content

Add missing #include <cstdint> - #560

Merged
mmore500 merged 2 commits into
native-canvasfrom
claude/sweet-fermi-qhcj64
Nov 11, 2026
Merged

mmore500 merged 2 commits into
native-canvasfrom
claude/sweet-fermi-qhcj64

Conversation

@mmore500

@mmore500 mmore500 commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Adds #include <cstdint> to 73 files that use fixed-width integer types (uint8_t, uint32_t, uint64_t, int64_t, UINT32_MAX, etc.) without including <cstdint> or <stdint.h> directly.
Newer compilers, such as GCC 13 and later, no longer pull in <cstdint> through other standard headers.

  • Covers include/, tests/, examples/, and demos/; third-party/ is untouched.
  • Every file was checked after stripping comments and string literals, so each one uses at least one <cstdint> identifier in actual code.
    Three files that only mention these types inside string literals were left alone: config_web_interface.hpp, ConfigPanel.hpp, and tests/meta/TypeID.cpp.
  • Where a file already has a block of standard-library includes, <cstdint> is added to it in alphabetical order.
    Otherwise it goes before the first #include, followed by a blank line.
  • CRLF line endings are kept in tests/data/DataFile.cpp and tests/datastructs/hash_utils.cpp.

Checked with g++ -fsyntax-only on a sample of the changed headers.
Errors only came from missing submodules (cereal, span-lite), and the same errors happen without this change.

🤖 Generated with Claude Code

https://claude.ai/code/session_013NYk5FSNgxh9gKx1uLiKQ4

@mmore500 mmore500 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mmore500
mmore500 merged commit f70d0b6 into native-canvas Nov 11, 2026
1 check failed
@mmore500
mmore500 deleted the claude/sweet-fermi-qhcj64 branch November 11, 2026 20:50
mmore500 pushed a commit to mmore500/conduit that referenced this pull request Nov 11, 2026
Points third-party/Empirical at devosoft/Empirical native-canvas f70d0b6
(devosoft/Empirical#560).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013NYk5FSNgxh9gKx1uLiKQ4
mmore500 added a commit to mmore500/conduit that referenced this pull request Nov 11, 2026
Points third-party/Empirical at devosoft/Empirical native-canvas f70d0b6
(devosoft/Empirical#560).


Claude-Session: https://claude.ai/code/session_013NYk5FSNgxh9gKx1uLiKQ4

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants