Skip to content

[codex] Use non-reserved header guards#122

Draft
NewYaroslav wants to merge 1 commit into
mainfrom
codex/non-reserved-header-guards
Draft

[codex] Use non-reserved header guards#122
NewYaroslav wants to merge 1 commit into
mainfrom
codex/non-reserved-header-guards

Conversation

@NewYaroslav

Copy link
Copy Markdown
Owner

Summary

  • rename project-owned header guards to non-reserved LOGIT_CPP_HEADER_*_INCLUDED names
  • add missing guards to pragma-only public headers
  • update agent/style/orientation docs with the new guard rule
  • update the log_macros.hpp include-order check to use the renamed enums.hpp guard

Validation

  • scanned include/: 64 guards, 0 missing, 0 reserved names, 0 duplicates, 0 BOMs
  • git diff --check
  • configured MinGW test build with LOGIT_CPP_BUILD_TESTS=ON
  • built include-contract targets
  • ctest -R "include_.*|include-only|quickstart" passed 9/9

Rename project-owned header guards to the LOGIT_CPP_HEADER_*_INCLUDED pattern and add missing guards to pragma-only headers. Document the rule for future agent work.
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