Skip to content

Comments

Add Windows Rtools build support and declare C++17 requirement#3

Open
mdsumner wants to merge 1 commit intomainfrom
claude/windows-rtools-build-QecQL
Open

Add Windows Rtools build support and declare C++17 requirement#3
mdsumner wants to merge 1 commit intomainfrom
claude/windows-rtools-build-QecQL

Conversation

@mdsumner
Copy link
Member

  • Create src/Makevars.win for explicit Windows build configuration
  • Add CXX_STD = CXX17 to both Makevars and Makevars.win (required by if constexpr usage in vendored GeographicLib source)
  • Set GEOGRAPHICLIB_SHARED_LIB=0 via PKG_CPPFLAGS (correct for vendored static library compiled into R package DLL)
  • Add SystemRequirements: C++17 to DESCRIPTION per CRAN policy

https://claude.ai/code/session_01DwoeJSvX2GEdAv1s8HaN7J

- Create src/Makevars.win for explicit Windows build configuration
- Add CXX_STD = CXX17 to both Makevars and Makevars.win (required by
  if constexpr usage in vendored GeographicLib source)
- Set GEOGRAPHICLIB_SHARED_LIB=0 via PKG_CPPFLAGS (correct for vendored
  static library compiled into R package DLL)
- Add SystemRequirements: C++17 to DESCRIPTION per CRAN policy

https://claude.ai/code/session_01DwoeJSvX2GEdAv1s8HaN7J
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