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

Allow to specify -DSSE2NEON_SUPPRESS_WARNINGS to avoid the #warning about optimization issues #651

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

rouault
Copy link
Contributor

@rouault rouault commented Nov 3, 2024

This warning breaks builds of applications using -Werror.

…bout optimization issues

This warning breaks builds of applications using -Werror.
Copy link
Member

@jserv jserv left a comment

Choose a reason for hiding this comment

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

Mention SSE2NEON_SUPPRESS_WARNINGS in top-level README.md.

@rouault
Copy link
Contributor Author

rouault commented Nov 3, 2024

Mention SSE2NEON_SUPPRESS_WARNINGS in top-level README.md.

done

@howjmay
Copy link
Collaborator

howjmay commented Nov 3, 2024

I think instead of how SSE2NEON_SUPPRESS_WARNINGS affects the compilation when optimizations are enabled, we should mention SSE2NEON_SUPPRESS_WARNINGS in Compile-time Configurations section. Add a new item SSE2NEON_SUPPRESS_WARNINGS and describe the usage of it.
Thank you

@rouault
Copy link
Contributor Author

rouault commented Nov 3, 2024

Add a new item SSE2NEON_SUPPRESS_WARNINGS and describe the usage of it.

done

@jserv jserv merged commit 5b35287 into DLTcollab:master Nov 4, 2024
16 checks passed
@jserv
Copy link
Member

jserv commented Nov 4, 2024

Thank @rouault for contributing!

@rouault
Copy link
Contributor Author

rouault commented Nov 4, 2024

Thank @rouault for contributing!

you're welcome. For your information, I'm using sse2neon to provide a much faster implementation of std::min_element / max_element for primitive types in OSGeo/gdal#11202

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.

3 participants