Intel Mac Compiler Error


When you compile 1.2.3 on an Intel Mac (or cross-compile on a PPC) you get the following error:

juce_mac_Windowing.cpp:284 ‘i’ was not declared in this scope

This is appears in a #ifdef LITTLE_ENDIAN preprocessor block, so I imagine didn’t have coverage. Changing the two 'i’s to ‘x’ solves it.

Glaresoft, Inc.


Ah yes, thanks. I’d already spotted that one too, so it’ll be fixed in the next version (out today or tomorrow).

Be sure to shout if you find any other intel mac problems, as I’ve not yet got myself one of those to try it on…