Skip to content

[codex] Use non-reserved header guards#116

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

[codex] Use non-reserved header guards#116
NewYaroslav wants to merge 1 commit 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.
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