ClippingBezier icon indicating copy to clipboard operation
ClippingBezier copied to clipboard

Compile warnings

Open azun-c opened this issue 1 year ago • 1 comments

I'm currently getting these warnings with ClippingBezier and PerformanceBezier when integrating via SPM

warnings

Can you please fix the warnings?

PS: I'm working on a 0-warning project. 🥹 I cannot find a way to suppress SPM's package warnings.

azun-c avatar Jun 20 '24 07:06 azun-c

This can suppress the warnings:

  • https://stackoverflow.com/a/64842804/24658404

but it doesn't support versioned dependencies:

  • https://forums.swift.org/t/question-about-contains-unsafe-build-flags-in-spm/47677/4

About the root cause of the warnings:

  • https://forums.swift.org/t/root-cause-of-umbrella-header-for-module-does-not-include/24063/2

So to fix the warnings, we should either import the headers or remove them totally. It appears that removing them is not so reasonable, because they're being used internally.

@adamwulf can you help to fix the warnings? just by importing them to the module. 🙇

azun-c avatar Jun 21 '24 00:06 azun-c