I am using the Introjucer to manage a project I am working on. I have two images as my binary data.
I have problems compiling BinaryData.cpp with the latest version of Juce on my Mac running XCode 4.5.1
The project I am working on fails building due to a “Semantic issue. Case value evaluates to somelargenumber, which cannot be narrowed to type int” when
compiling BinaryData.cpp. This happens in the switch case for the hash code in getNamedResource for all cases where the number has the most significant bit high.
Changing the type of the hash value from int to unsigned int solves the problem, but I would rather not do this since I will have to do this everytime I make a change
to the binary data. I saw in the forum, a post from someone with the same problem and Jules told him that the latest version of Juce is allready using an unsigned int
for the hash value. I simply can not see this, it is an int? Any help is very much appreciated.