Skip to content
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

Add include <algorithm> to fix building with gcc 14 #653

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Conversation

kostadinsh
Copy link
Contributor

With gcc 14 some C++ Standard Library headers have been changed to no longer include other headers that were being used internally by the library. In opensmt's case it is the <algorithm> header.

Downstream Gentoo bug

GCC 14 porting guide

With gcc 14 some C++ Standard Library headers have been changed to no longer include other headers that were being used internally by the library. In opensmt's case it is the <algorithm> header.

Downstream Gentoo bug:
https://bugs.gentoo.org/916855

GCC 14 porting guide:
https://gcc.gnu.org/gcc-14/porting_to.html

Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
Copy link
Member

@blishko blishko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@blishko blishko merged commit f30e983 into usi-verification-and-security:master Nov 7, 2023
8 checks passed
@kostadinsh kostadinsh deleted the gcc-14 branch November 11, 2023 08:19
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.

None yet

2 participants