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

Import functional header to support std::function in RawData.h #1603

Open
wants to merge 1 commit into
base: topic/apple-indirect-bug
Choose a base branch
from

Conversation

muruganandham
Copy link
Contributor

@muruganandham muruganandham commented Feb 3, 2024

Bitrise build was failed in M1 with the following error.

platform=iOS" | xcpretty): /Users/[REDACTED]/git/Pods/WhirlyGlobe/common/WhirlyGlobeLib/include/RawData.h:51:64: error: no template named 'function' in namespace 'std' /Users/[REDACTED]/git/Pods/WhirlyGlobe/common/WhirlyGlobeLib/include/RawData.h:65:10: error: no template named 'function' in namespace 'std' /Users/[REDACTED]/git/Pods/WhirlyGlobe/common/WhirlyGlobeLib/include/RawData.h:51:64: error: no template named 'function' in namespace 'std' /Users/[REDACTED]/git/Pods/WhirlyGlobe/common/WhirlyGlobeLib/include/RawData.h:65:10: error: no template named 'function' in namespace 'std' /Users/[REDACTED]/git/Pods/WhirlyGlobe/common/WhirlyGlobeLib/src/Texture.cpp:78:12: error: no viable conversion from returned value of type 'shared_ptr<WhirlyKit::RawDataWrapper>' to function return type 'shared_ptr<RawData>' /Users/[REDACTED]/git/Pods/WhirlyGlobe/common/WhirlyGlobeLib/src/Texture.cpp:102:12: error: no viable conversion from returned value of type 'shared_ptr<WhirlyKit::RawDataWrapper>' to function return type 'shared_ptr<RawData>' /Users/[REDACTED]/git/Pods/WhirlyGlobe/common/WhirlyGlobeLib/src/Texture.cpp:125:12: error: no viable conversion from returned value of type 'shared_ptr<WhirlyKit::RawDataWrapper>' to function return type 'shared_ptr<RawData>' /Users/[REDACTED]/git/Pods/WhirlyGlobe/common/WhirlyGlobeLib/src/Texture.cpp:151:12: error: no viable conversion from returned value of type 'shared_ptr<WhirlyKit::RawDataWrapper>' to function return type 'shared_ptr<RawData>' /Users/[REDACTED]/git/Pods/WhirlyGlobe/common/WhirlyGlobeLib/src/Texture.cpp:177:12: error: no viable conversion from returned value of type 'shared_ptr<WhirlyKit::RawDataWrapper>' to function return type 'shared_ptr<RawData>' /Users/[REDACTED]/git/Pods/WhirlyGlobe/common/WhirlyGlobeLib/src/Texture.cpp:215:12: error: no viable conversion from returned value of type 'shared_ptr<WhirlyKit::RawDataWrapper>' to function return type 'shared_ptr<RawData>' /Users/[REDACTED]/git/Pods/WhirlyGlobe/common/WhirlyGlobeLib/src/Texture.cpp:247:12: error: no viable conversion from returned value of type 'shared_ptr<WhirlyKit::RawDataWrapper>' to function return type 'shared_ptr<RawData>'

  So, Imported functional header to support std::function in RawData.h  

skarppi added a commit to skarppi/cavok that referenced this pull request Mar 9, 2024
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.

2 participants