Skip to content

fix: resolve compiler warnings in top-level FAISS source files#4943

Closed
maxwbuckley wants to merge 2 commits intofacebookresearch:mainfrom
maxwbuckley:fix/warnings-top-level
Closed

fix: resolve compiler warnings in top-level FAISS source files#4943
maxwbuckley wants to merge 2 commits intofacebookresearch:mainfrom
maxwbuckley:fix/warnings-top-level

Conversation

@maxwbuckley
Copy link
Copy Markdown
Contributor

Summary

  • Fix compiler warnings in AutoTune, Clustering, IVFlib, VectorTransform, clone_index, index_factory, MetaIndexes, IndexReplicas, IndexRowwiseMinMax, IndexScalarQuantizer, IndexShards, IndexShardsIVF
  • Fixes include -Wshadow, -Wunused-parameter, -Wformat, and -Woverloaded-virtual

All changes are mechanical. No functional changes.

Part 12/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 D96996987.

@maxwbuckley maxwbuckley force-pushed the fix/warnings-top-level branch from 18eec3a to 0613830 Compare March 18, 2026 10:01
Mechanical fixes for compiler warnings found with -Wall -Wextra -Wshadow.
No functional changes — only variable renames, unused parameter annotations,
signed/unsigned casts, and [[fallthrough]] attributes.

Part 12/13 of the compiler warnings cleanup (split from PR facebookresearch#4810).

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 meta-codesync bot closed this in 44f57ba Mar 20, 2026
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync bot commented Mar 20, 2026

@alibeklfc merged this pull request in 44f57ba.

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