Skip to content

fix: include cstdint in config header - #3

Open
localai-org-maint-bot wants to merge 1 commit into
localai-org:masterfrom
localai-org-maint-bot:fix/issue-1-cstdint
Open

fix: include cstdint in config header#3
localai-org-maint-bot wants to merge 1 commit into
localai-org:masterfrom
localai-org-maint-bot:fix/issue-1-cstdint

Conversation

@localai-org-maint-bot

Copy link
Copy Markdown

Summary

  • include <cstdint> directly in config.hpp
  • stop relying on transitive libstdc++ declarations removed in GCC 16

Fixes #1.

Verification

  • g++ -std=c++17 -Wall -Wextra -Werror -I. -fsyntax-only <direct-config-header-probe>
  • git diff --check

Full CMake build was not run because cmake is not installed on the maintainer host.

Declare the standard header that owns int32_t instead of relying on transitive libstdc++ includes removed in GCC 16.

Assisted-by: Codex:gpt-5 [OpenAI Codex]
@localai-org-maint-bot

Copy link
Copy Markdown
Author

@mudler This is good to merge: it is the minimal header self-sufficiency fix for #1, remains mergeable, and has no outstanding review or CI feedback.

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.

Compilation failure on modern GCC (GCC 16+) due to missing <cstdint> in config.hpp

1 participant