Skip to content

Conversation

@litvaOo
Copy link
Contributor

@litvaOo litvaOo commented Oct 29, 2025

Motivation

The version of Boost, used by theRock build system(1.87.0), is breaking our build due to the unused variables. This PR fixes that compile error.

Technical Details

This PR disables unused params check for specific boost headers using pragma directives

Test Plan

Tests should be successfully compiling with Boost 1.87.0 and consequently pass.

Test Result

Test compilation is fixed, waiting for PSDB to pass.

Submission Checklist

Copilot AI review requested due to automatic review settings October 29, 2025 15:38
@litvaOo litvaOo requested a review from a team as a code owner October 29, 2025 15:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR suppresses compiler warnings for unused parameters from the Boost Math library header and adds a missing newline at the end of a test file.

  • Adds #pragma GCC diagnostic directives to suppress -Wunused-parameter warnings when including boost/math/special_functions.hpp
  • Restores the newline at the end of trig_funcs.cc

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
projects/hip-tests/catch/unit/math/trig_funcs.cc Wraps Boost Math header with pragma directives to suppress unused parameter warnings and adds trailing newline
projects/hip-tests/catch/unit/math/special_funcs.cc Wraps Boost Math header with pragma directives to suppress unused parameter warnings

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants