Upgrade sol2 to 3.5.0 including patch for GCC >= 14 #2200
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hopefully this fixes the GCC compilation for more recent versions. It upgrades sol2 to version 3.5.0 and includes the patch from ThePhD/sol2#1676, which should fix compilation with newer compiler versions. Another change is that we don't use the single header file anymore, as this makes patching more complex than before.
Edit: Also check out https://bugs.gentoo.org/955999 which shows that this is the current fix for the Gentoo ebuild.