After getting a plugin to build, I thought I’d take a look at the general Juce Demo project.
There’s a function in BinaryData.cpp called getNamedResource which would not compile until I changed the type of ‘hash’ from int to unsigned long. It complained (correctly that the values for the case statements were too long to fit in an int.