Skip to content

Silence compiler warnings in molden.h and build_libint.cc#420

Open
evaleev wants to merge 1 commit into
masterfrom
fix/compiler-warnings
Open

Silence compiler warnings in molden.h and build_libint.cc#420
evaleev wants to merge 1 commit into
masterfrom
fix/compiler-warnings

Conversation

@evaleev
Copy link
Copy Markdown
Owner

@evaleev evaleev commented May 20, 2026

Summary

  • molden.h: use libint2::nbf instead of the deprecated BasisSet::nbf, and pass libint2::solid_harmonics_ordering() to INT_SOLIDHARMINDEX to match the current API.
  • build_libint.cc: mark build_R12kG12_2b_2k_separate [[maybe_unused]] since it is only referenced under specific configurations.

Test plan

  • Build with a warnings-enabled compiler (e.g. recent clang/gcc) and confirm the previously emitted warnings for these two files are gone.
  • Run the existing test suite to confirm no behavior change.

- molden.h: use libint2::nbf and pass solid_harmonics_ordering() to
  INT_SOLIDHARMINDEX to match the current API and avoid deprecation warnings
- build_libint.cc: mark build_R12kG12_2b_2k_separate as [[maybe_unused]]
  since it is only used under specific configurations
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