Skip to content

fix: resolve compiler warnings in IVF Index implementations#4942

Closed
maxwbuckley wants to merge 5 commits intofacebookresearch:mainfrom
maxwbuckley:fix/warnings-ivf-indexes
Closed

fix: resolve compiler warnings in IVF Index implementations#4942
maxwbuckley wants to merge 5 commits intofacebookresearch:mainfrom
maxwbuckley:fix/warnings-ivf-indexes

Conversation

@maxwbuckley
Copy link
Copy Markdown
Contributor

Summary

  • Fix compiler warnings in all IndexIVF variants: IndexIVF, IndexIVFFlat, IndexIVFPQ, IndexIVFFastScan, IndexIVFAdditiveQuantizer, IndexIVFAdditiveQuantizerFastScan, IndexIVFRaBitQ, IndexIVFRaBitQFastScan, IndexIVFPQFastScan, IndexIVFPQR, IndexIVFSpectralHash, IndexIVFFlatPanorama, IndexIVFIndependentQuantizer
  • Fixes include -Wshadow, -Wunused-parameter, -Wformat, signed/unsigned comparisons, and MSVC OpenMP loop variable types

All changes are mechanical. No functional changes.

Part 11/13 of the compiler warnings cleanup (split from #4810 per maintainer request).

Test plan

  • No functional changes — all fixes are mechanical renames and annotations

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented Mar 17, 2026

@alibeklfc has imported this pull request. If you are a Meta employee, you can view this in D96996860.

@maxwbuckley maxwbuckley force-pushed the fix/warnings-ivf-indexes branch from e6a1e77 to 3c8070b Compare March 18, 2026 10:07
maxwbuckley and others added 2 commits March 19, 2026 21:28
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
maxwbuckley and others added 3 commits March 20, 2026 09:59
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented Mar 20, 2026

@alibeklfc merged this pull request in 7645426.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant