I am currently porting a former VS2010 Application (based on Juce) to Mac.
When I try to compile, Xcode shows tons of errors for the BinaryData.cpp file, that the Introjucer created for me:
../../JuceLibraryCode/BinaryData.cpp:2421:14: error: case value evaluates to 3787181599, which cannot be narrowed to type 'int' [-Wc++11-narrowing]
case 0xe1bbce1f: numBytes = 795; return Logo_png;
The line is part of the huge switch-statement in GetNamedResource.
Visual c++ compiled this… What am I missing here?
StrangeMan
I don’t know, why XCode stopped complaining about it, but after I fixed several other errors in my code, it came back to these, although i recreated the binary data files.
Now i was thinking my version of “the Introjucer” is outdated and downloaded the source from the website the compile the up-to-date version. When I try to compile it, it stops at exactly at the same binary data file.
No, its not simply a warning. I attached a screenshot.
My Introjucer is Ver. 3.0.0, thats the one, that can be downloaded from the website. I can’t compile the sources myself, because they suffer from exactly the same problem with Xcode4.4.1. I deleted my BinaryData.cpp File and forced the Introjucer to recreate it. So that one is up-to-date, too.
What else, should I update?