Skip to content

Conversation

@grawlinson
Copy link

When compiling, gcc throws an error about missing header for std::find()

When compiling, gcc throws an error about missing header for std::find()
Copy link

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 fixes a compilation failure (FTBFS - Fails To Build From Source) with recent GCC versions by adding the missing <algorithm> header required for std::find(). Recent GCC versions have stricter requirements for explicit header inclusion and no longer transitively include <algorithm> through other headers.

  • Adds #include <algorithm> to NMR_ResourceDependencySorter.cpp to fix compilation error

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

@3dJan 3dJan self-requested a review December 16, 2025 07:13
@3dJan
Copy link
Contributor

3dJan commented Dec 16, 2025

We already added the include on the develop branch. We will do a release very soon (and merge develop into master).

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.

2 participants