linux-cross | Linux cross-build environment | Automation library
kandi X-RAY | linux-cross Summary
kandi X-RAY | linux-cross Summary
Linux cross-build environment
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of linux-cross
linux-cross Key Features
linux-cross Examples and Code Snippets
Community Discussions
Trending Discussions on linux-cross
QUESTION
I have seen that there are some topics with the "Cast of Objective-C pointer type 'NSString *' to C pointer type 'CFStringRef'" problem solved, but my case is slightly different.
I am doing some iOS cross compilation from linux and I have a local desktop pc with ubuntu where I can manage to compile without any issues all my code. When I try to port this into a AWS machine I get the following compilation error:
"Cast of Objective-C pointer type 'NSString *' to C pointer type 'CFStringRef'" on this code:
...ANSWER
Answered 2017-Apr-05 at 16:05I finally found the root cause of the problem. In my host machine I wasn't using CCache but on the AWS machine it was being used.
The AWS machine had an old CCache version where the run_second_cpp option was set to false and compilation was splitted into two steps: First run the preprocessor (with -E), check for a hit and in case that it wasn't found, compile the code with the previous preprocessor output. After changing it to "True" manually on the configuration everything started to work.
Main reason for this behaviour is explained here: Missing bridge cast causes error in preprocessed source but not in real source
Thanks Ken for your questions and help, they made me think a bit more and look around for more differences! Really appreciate it!
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install linux-cross
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page