gvsoc / gvsoc-core

Apache License 2.0
1 stars 11 forks source link

[ENGINE] Fix build failures on newer GCC versions #23

Closed zero9178 closed 6 months ago

zero9178 commented 6 months ago

Newer GCC versions (13 onwards) have changed the transitive includes of standard library headers causing code that previously worked "accidently" to no longer compile. In this specific case I was getting errors compiling files due to not finding std::remove. This PR adds #include <algorithm> where required to fix the issue.

zero9178 commented 6 months ago

cc @Victor-Jung

haugoug commented 6 months ago

Thanks for your fix !