<b>6.0.0.1984</b>
Sergey Khalyutn 2026.06.02 11:09:33
Fix: The compiler does not consider "#define INVALID_HANDLE_VALUE ((HANDLE)(LONG_PTR)-1)" as a constant - compilation error: constexpr variable 'INVALID_HANDLE' must be initialized by a constant expression
```
[build]    77 |         constexpr static Handle INVALID_HANDLE = INVALID_HANDLE_VALUE;
[build] /code/src/remote\../remote\../common/ThreadStart.h:77:26: error: constexpr variable 'INVALID_HANDLE' must be initialized by a constant expression
[build]    77 |         constexpr static Handle INVALID_HANDLE = INVALID_HANDLE_VALUE;
[build]       |                                 ^                ~~~~~~~~~~~~~~~~~~~~
[build] /code/src/remote\../remote\../common/ThreadStart.h:77:43: note: cast that performs the conversions of a reinterpret_cast is not allowed in a constant expression
[build]    77 |         constexpr static Handle INVALID_HANDLE = INVALID_HANDLE_VALUE;
[build]       |                                                  ^
[build] C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\handleapi.h:27:31: note: expanded from macro 'INVALID_HANDLE_VALUE'
[build]    27 | #define INVALID_HANDLE_VALUE ((HANDLE)(LONG_PTR)-1)
[build]       |                               ^
```

Changed paths:
  M src/common/ThreadStart.h