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

Fix compiler errors and some error paths #202

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

pablogsal
Copy link
Member

When compiling pystack with gcc 14, the C++ standard library headers are
not giving us transitevely the 'algorithm' include and we are missing it
explicitly so it currently fails to compile.

Additionally, we are not properly handling some of the exceptions that
are being raised when something fails when copying memory when we are
resolving the Python version.

Issue number of the reported bug or feature request: #

Describe your changes
A clear and concise description of the changes you have made.

Testing performed
Describe the testing you have performed to ensure that the bug has been addressed, or that the new feature works as planned.

Additional context
Add any other context about your contribution here.

Copy link
Contributor

@godlygeek godlygeek left a comment

Choose a reason for hiding this comment

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

One minor nit:

src/pystack/_pystack/mem.cpp Outdated Show resolved Hide resolved
When compiling pystack with gcc 14, the C++ standard library headers are
not giving us transitevely the 'algorithm' include and we are missing it
explicitly so it currently fails to compile.

Additionally, we are not properly handling some of the exceptions that
are being raised when something fails when copying memory when we are
resolving the Python version.

Signed-off-by: Pablo Galindo <[email protected]>
Copy link
Contributor

@godlygeek godlygeek left a comment

Choose a reason for hiding this comment

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

Discussed offline with Pablo, made that change, and rebased, after which this LGTM

@godlygeek godlygeek enabled auto-merge (rebase) August 9, 2024 17:54
@godlygeek godlygeek merged commit 54cbdfd into bloomberg:main Aug 9, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants