Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed unused attribute compilation error for GCC 13 #17188

Merged
merged 5 commits into from
Oct 29, 2024

Conversation

lamarrr
Copy link
Contributor

@lamarrr lamarrr commented Oct 28, 2024

Description

With decltype(&pclose) for the destructor type of the unique_ptr, gcc makes the signature inherit the attributes of pclose. The compiler then ignores this attribute as it doesn't apply within the context with a warning, and since we have -Werror on for ignored attributes, the build fails.
This happens on gcc 13.2.0.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@lamarrr lamarrr requested a review from a team as a code owner October 28, 2024 14:21
@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Oct 28, 2024
@lamarrr lamarrr added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Oct 28, 2024
@lamarrr
Copy link
Contributor Author

lamarrr commented Oct 28, 2024

/merge

@rapids-bot rapids-bot bot merged commit 3775f7b into rapidsai:branch-24.12 Oct 29, 2024
102 checks passed
@lamarrr lamarrr deleted the compile-fix branch October 29, 2024 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants