Skip to content

Fix includes in memspace test fixtures #711

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

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

npmiller
Copy link
Contributor

@npmiller npmiller commented Sep 6, 2024

Description

This file uses std::find and std::any_of which are part of the <algorithm> header, but it wasn't including it.

When building with gcc 14 this caused build issues such as:

memspace_fixtures.hpp:204:26: error: ‘any_of’ is not a member of ‘std’

With this patch adding the include building UMF with gcc 14 works fine.

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly

This file uses `std::find` and `std::any_of` which are part of the
`<algorithm>` header, but it wasn't including it.

When building with gcc 14 this caused build issues such as:

```
memspace_fixtures.hpp:204:26: error: ‘any_of’ is not a member of ‘std’
```

With this patch adding the include building UMF with gcc 14 works fine.
@npmiller npmiller requested a review from a team as a code owner September 6, 2024 09:08
@lukaszstolarczuk lukaszstolarczuk merged commit 9e57192 into oneapi-src:main Sep 6, 2024
66 checks passed
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.

4 participants