Skip to content

fix: missing standard includes (macOS build) - #5

Open
behnamasadi wants to merge 2 commits into
masterfrom
fix/missing-std-includes
Open

behnamasadi wants to merge 2 commits into
masterfrom
fix/missing-std-includes

Conversation

@behnamasadi

Copy link
Copy Markdown
Owner

macOS on master fails on std::ref without ; system_call.cpp uses system without . Building every target against LLVM 21 libc++ with _LIBCPP_REMOVE_TRANSITIVE_INCLUDES (no transitive includes) finds exactly these two; with this change that strict build is clean.

https://claude.ai/code/session_01KikZtcmggL3YKN9MHjMaV2

… used

Found by building every target against LLVM 21 libc++ with
_LIBCPP_REMOVE_TRANSITIVE_INCLUDES, which builds clean with this change.
Apple's headers do not pull these in, so macOS failed.

Claude-Session: https://claude.ai/code/session_01KikZtcmggL3YKN9MHjMaV2
_SC_LEVEL1_DCACHE_LINESIZE is a glibc extension; macOS exposes the value as
the hw.cachelinesize sysctl.

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

This branch has not been deployed

No deployments
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.

1 participant