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

Refx/warnings #53

Merged
merged 4 commits into from
Jan 11, 2024
Merged

Refx/warnings #53

merged 4 commits into from
Jan 11, 2024

Conversation

FigBug
Copy link
Contributor

@FigBug FigBug commented Jan 11, 2024

Clean up a few warnings

@dpsproservices
Copy link

dpsproservices commented Jan 11, 2024 via email

@@ -41,7 +41,10 @@ namespace melatonin::blur
vImage_Buffer src = { copyData.getLinePointer (0), h, w, (size_t) data.lineStride };

vImage_Buffer dst = { data.getLinePointer (0), h, w, (size_t) data.lineStride };

JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wunguarded-availability-new")
Copy link
Owner

Choose a reason for hiding this comment

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

This relates to #13 (comment) — curious why they are fired as warnings at all, I'm assuming it's because the macOS target (like CMAKE_OSX_DEPLOYMENT_TARGET) is lower than these functions and the compiler just has no way to know that we've guarded them?

@sudara sudara mentioned this pull request Jan 11, 2024
4 tasks
@sudara sudara merged commit 9142de2 into sudara:main Jan 11, 2024
4 checks passed
@sudara
Copy link
Owner

sudara commented Jan 11, 2024

Thanks! I'm going to do another pass on the tests, getting close to warning free everywhere.

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