-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Comments
Conversation
Source/ASNetworkImageNode.mm
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sizeof(NSInteger) > sizeof(long)
Another way to do this is to keep the formatter the same but box the scalar ie @(cacheType).
4cb69a0 to
969d2cd
Compare
joprice
commented
Jan 31, 2021
I'm trying to verify this change by using build.sh, but I have a newer sdk. When I provide TEXTURE_BUILD_PLATFORM and TEXTURE_BUILD_SDK with my current versions, I get errors related to missing extern modifiers, etc. It seems that -Werror, and I'm not sure if that's intentional and the sdk version caused this, or if these warnings are expected and I'm supposed to ignore them somehow.
Up until now, I've been testing this by building it via bazel using PodToBuild, but I'd like to be able to test it directly and run the tests (or perhaps bazel support could be added directly?).
969d2cd to
20d6418
Compare
This applies the suggested fix that shows up when
ASEnableVerboseLoggingis enabled: