Skip to content

Dead platform removal#1068

Open
leethomason wants to merge 2 commits intomasterfrom
leethomason/platform-clean-up
Open

Dead platform removal#1068
leethomason wants to merge 2 commits intomasterfrom
leethomason/platform-clean-up

Conversation

@leethomason
Copy link
Owner

Too many long dead platforms still in the source code.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes legacy/dead platform conditionals from TinyXML-2’s headers/source to simplify platform-specific compilation paths.

Changes:

  • Removed __BORLANDC__, __QNXNTO__, __CC_ARM, and WinCE-related conditional compilation branches.
  • Simplified platform-specific include selection to primarily special-case ANDROID_NDK.
  • Adjusted Windows file seek/tell macro selection to key off _MSC_VER and removed legacy fallback code paths.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
tinyxml2.h Drops legacy platform conditionals and removes an outdated build/formatting comment block.
tinyxml2.cpp Removes legacy compiler/platform branches, simplifies fallthrough/sn* macro logic, and tweaks file seek/tell platform selection.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

_charBuffer = 0;
_parsingDepth = 0;

Copy link

Copilot AI Mar 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains stray whitespace on an otherwise blank line. This can cause noisy diffs and may violate whitespace/formatting checks; remove the trailing spaces (leave it as a truly empty line or delete the blank line).

Copilot uses AI. Check for mistakes.
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.

2 participants