Skip to content

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