test: the pipeline cache header and PsychoV35 fixtures build on Windows #2562

Merged
NotRexed merged 1 commit from fix/windows-test-fixtures into main 2026-11-11 23:57:07 +00:00
NotRexed commented 2026-11-11 23:16:35 +00:00 (Migrated from github.com)

main's Windows source checks fail in two tests, so every open PR shows red:

  • tests/test_pcache_header_read.py: its fixture #defined _fseeki64 / _ftelli64 as fseeko / ftello, which Windows doesn't have (it has the _fseeki64 / _ftelli64 the code calls). Its fopen is also deprecated under -Werror by the Windows SDK. The names are now defined only off Windows.
  • tests/test_psychov35.py: scanf is deprecated under -Werror by the Windows SDK.

Both fixtures now define _CRT_SECURE_NO_WARNINGS. Test-only change; both pass locally.

🤖 Generated with Claude Code

main's Windows source checks fail in two tests, so every open PR shows red: - **`tests/test_pcache_header_read.py`**: its fixture `#define`d `_fseeki64` / `_ftelli64` as `fseeko` / `ftello`, which Windows doesn't have (it has the `_fseeki64` / `_ftelli64` the code calls). Its `fopen` is also deprecated under `-Werror` by the Windows SDK. The names are now defined only off Windows. - **`tests/test_psychov35.py`**: `scanf` is deprecated under `-Werror` by the Windows SDK. Both fixtures now define `_CRT_SECURE_NO_WARNINGS`. Test-only change; both pass locally. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Commenting is not possible because the repository is archived.
No description provided.