Introjucer compile errors with Xcode 4.3 /


#1

I have many compile error with the Introjuce using Xcode 4.3 with its default LLVM 3.1 compiler:

/Users/patrick/Documents/development/libs/juce_tip/extras/Introjucer/Builds/MacOSX/../../../../modules/juce_graphics/colour/juce_Colours.cpp:175:21: error: constant expression evaluates to 4278190080 which cannot be narrowed to type 'int' [-Wc++11-narrowing]
        0x05978fff, 0xff000000, /* black */
                    ^~~~~~~~~~
/Users/patrick/Documents/development/libs/juce_tip/extras/Introjucer/Builds/MacOSX/../../../../modules/juce_graphics/colour/juce_Colours.cpp:175:21: note: override this message by inserting an explicit cast
        0x05978fff, 0xff000000, /* black */
                    ^~~~~~~~~~
                    static_cast<int>(

Is there an easy way to get around these, eg disabling the error check / warning through a flag?

Patrick


#2

I didn’t know Xcode 4.3 was out… I guess I should upgrade.


#3

Thanks for fixing it right away. Awesome support as always!

Patrick