Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microsoft/cppwinrt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: csbehrend/cppwinrt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 9 files changed
  • 2 contributors

Commits on Jun 24, 2026

  1. Add cppwinrt to solution

    csbehrend committed Jun 24, 2026
    Configuration menu
    Copy the full SHA
    c011da6 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2026

  1. Add Linux/ELF support to base headers (gated, MSVC-identical)

    Port the proven WSL/ELF spike edits into the strings/*.h source-of-truth so
    cppwinrt.exe regenerates a Linux-buildable winrt/base.h. All edits are gated
    behind !_WIN32 / __GNUC__+ELF so MSVC output is byte-identical:
    
    - base_macros.h: platform-shim block (__stdcall, WINRT_IMPL_SELECTANY,
      WINRT_IMPL_64 LP64 macro, six inline GCC-builtin interlocked shims).
    - base_activation.h: interlocked_read_32/64 GCC branches; six _WIN64 gates
      widened to (defined(_WIN64) || defined(WINRT_IMPL_64)); SLIST #error guard
      relaxed for GCC/ELF on x86/x64/arm64.
    - base_extern.h / base_natvis.h / base_version.h: __declspec(selectany) ->
      WINRT_IMPL_SELECTANY (weak symbol on non-MSVC).
    - base_includes.h: guard <intrin.h> behind _WIN32.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    csbehrend and Copilot committed Jun 26, 2026
    Configuration menu
    Copy the full SHA
    58cbfa5 View commit details
    Browse the repository at this point in the history
Loading