Skip to content

fix: eliminate build warnings on Linux/Windows/macOS#91

Merged
dkorbelainen merged 4 commits into
developfrom
fix/build-warnings-cross-platform
Apr 28, 2026
Merged

fix: eliminate build warnings on Linux/Windows/macOS#91
dkorbelainen merged 4 commits into
developfrom
fix/build-warnings-cross-platform

Conversation

@dkorbelainen

@dkorbelainen dkorbelainen commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator
  • Fix GCC/Clang warnings (unused params, -Wreorder, sign-compare, dead code)
  • Replace sprintf with snprintf in sha256.cpp for MSVC compatibility
  • CI: add macOS runner, use submodules: recursive, triplet-based cache keys, JUnit test result artifacts

dkorbelainen and others added 4 commits April 28, 2026 21:17
- Remove unused comp params in compressor callback functions
- Fix constructor init list order in header (Wreorder)
- Remove dead read_files_batched_legacy function
- Cast block_size config fields to uint64_t (sign-compare)
- Replace sprintf with snprintf in sha256.cpp (MSVC compat)
- Fix unused argc/argv in io_overhead benchmark
- ci: add macOS runner, submodules in checkout, test result artifacts
  - Guard SSE4.2 intrinsics with x86/x64 arch check (fixes arm64-osx build)
  - Fix btree.hpp: friend struct -> friend class block_allocator
  - Fix format specifiers: %lu -> PRIu64 for uint64_t (macOS compat)
  - Fix test_data_integrity_strict.cpp: check fread return values

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
  - Fix std::min type mismatch (size_t vs uint64_t) in test_insert_erase and
  test_library
  - Replace deprecated INSTANTIATE_TEST_CASE_P with INSTANTIATE_TEST_SUITE_P
  - Remove unused lambda captures in test_concurrency_stress and
  test_allocator_advanced
  - Remove unused file_size private field in optimal_usage benchmark
  - Fix fread return value ignored in test_data_integrity_strict
  - Fix SSE4.2 arch guard, btree friend class, PRIu64 format specifiers

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dkorbelainen dkorbelainen merged commit 5d5da7d into develop Apr 28, 2026
3 checks passed
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