Skip to content

Fix issues that break MSVC strict compilation#2727

Open
oznogon wants to merge 1 commit intodaid:masterfrom
oznogon:fix-strict-compilation
Open

Fix issues that break MSVC strict compilation#2727
oznogon wants to merge 1 commit intodaid:masterfrom
oznogon:fix-strict-compilation

Conversation

@oznogon
Copy link
Contributor

@oznogon oznogon commented Feb 19, 2026

  • Workaround ambiguous resources.h includes in EmptyEpsilon/init/ by including SP's resources.h
  • Include vectorUtils.h in components/beamweapon.cpp to ensure that M_PI is available
  • Use _WIN32 instead of WIN32 in preprocessor ifdefs; MSVC 18 doesn't appear to define WIN32

These changes should have no impact on non-MSVC builds, and would contribute toward unblocking MSVC as a compiler.

@oznogon oznogon force-pushed the fix-strict-compilation branch from c75146d to d1f713e Compare March 4, 2026 16:19
- Workaround ambiguous resources.h includes in
  EmptyEpsilon/init/ by including SP's resources.h
- Include vectorUtils.h in components/beamweapon.cpp to ensure
  that M_PI is available
- Use _WIN32 instead of WIN32 in preprocessor ifdefs; MSVC 18
  doesn't appear to define WIN32.
@oznogon oznogon force-pushed the fix-strict-compilation branch from b5e1f5b to 68d3cb2 Compare March 7, 2026 01:07
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