Skip to content

[codex] Use non-reserved header guards#116

Merged
NewYaroslav merged 2 commits into
mainfrom
codex/non-reserved-header-guards
Jul 5, 2026
Merged

[codex] Use non-reserved header guards#116
NewYaroslav merged 2 commits into
mainfrom
codex/non-reserved-header-guards

Conversation

@NewYaroslav

Copy link
Copy Markdown
Owner

Summary

  • rename C++ header guards to non-reserved TIME_SHIELD_HEADER_*_INCLUDED names
  • rename MQL5 subheader guards away from double-underscore __TIME_SHIELD_* names
  • document non-reserved guard rules for C++ and MQL include files in agent guidance

Validation

  • scanned C++ include/: 50 guards, 0 missing, 0 reserved names, 0 duplicates, 0 BOMs
  • scanned MQL5/Include: 15 guards, 0 missing, 0 reserved names, 0 BOMs
  • git diff --check
  • configured MinGW test build in tmp/agent-work/build-guards
  • cmake --build tmp/agent-work/build-guards
  • ctest --test-dir tmp/agent-work/build-guards --output-on-failure passed 50/50

Rename C++ and MQL5 include guards to non-reserved project-prefixed names and document the rule for future agent work.
Restore the SPDX-License-Identifier header lines in C++ public headers after the include guard rename.
@NewYaroslav NewYaroslav marked this pull request as ready for review July 5, 2026 15:04
@NewYaroslav NewYaroslav merged commit 21d6ca7 into main Jul 5, 2026
10 checks passed
@NewYaroslav NewYaroslav deleted the codex/non-reserved-header-guards branch July 5, 2026 15:04
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