Skip to content

[DRAFT] db/blob: add direct <cstdint> include in blob_index.h (GCC 15)#14334

Draft
arup-chauhan wants to merge 1 commit intofacebook:mainfrom
arup-chauhan:fix/blob-index-cstdint-gcc15
Draft

[DRAFT] db/blob: add direct <cstdint> include in blob_index.h (GCC 15)#14334
arup-chauhan wants to merge 1 commit intofacebook:mainfrom
arup-chauhan:fix/blob-index-cstdint-gcc15

Conversation

@arup-chauhan
Copy link

Summary

This draft PR adds a direct #include <cstdint> to db/blob/blob_index.h.

Aim to fix #13365

blob_index.h uses fixed-width integer types (e.g. uint64_t) and should be self-contained instead of relying on transitive includes.

Why

GCC 15 is stricter in some include-order situations, and missing direct includes can surface as build failures in downstream consumers.

Change

  • db/blob/blob_index.h
    • add #include <cstdint>

Validation

  • Rebuild with GCC 15 (in progress)
  • Confirm no regressions in normal build/test targets (in progress)

This is a minimal ownership patch to unblock progress and document direction; I can follow up with any additional missing <cstdint> includes in other blob headers if maintainers prefer a broader fix in one PR.

Signed-off-by: Arup Chauhan <arupchauhan.connect@gmail.com>
@meta-cla meta-cla bot added the CLA Signed label Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rocksdb 10.0.1 fails to build with GCC 15

1 participant