Include stdint.h, fix build with GCC 15 #5
Reference in New Issue
Block a user
No description provided.
Delete Branch "koolkhel/cpp-btree:gcc15-stdint"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
btree.h uses uint8_t and uint16_t but got them only transitively through other standard headers. GCC 15 libstdc++ no longer includes them, so the header fails with:
Include stdint.h explicitly.
Tested: a minimal btree_map program with GCC 15.3.1 fails to compile before this change and builds and runs after it.
Contributor Name
Yury Luneff (MIND Software LLC, https://mindsw.io)
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.