As I mentioned in another post (several replies deep and hard to notice), these two lines in juce_amalgamated_template.cpp in the latest non-modularized tip, cause an error in XCode 4 when building a multi-file amalgamation:
#if JUCE_BUILD_MISC // (put these in misc to balance the file sizes and avoid problems in iphone build) ... #if JUCE_BUILD_CORE && ! JUCE_ONLY_BUILD_CORE_LIBRARY // do these in the core section to help balance the sizes
The problem is the C++ style comment in the preprocessor directive. If we can move each comment so it is on its own line, just before each #if statement, then the problem will vanish!