# Intel Mac Compiler Error

**URL:** <https://forum.juce.com/t/intel-mac-compiler-error/621>\
**Category:** General JUCE discussion\
**Created:** [January 25, 2006, 1:29am UTC](https://forum.juce.com/t/intel-mac-compiler-error/621 "2006-01-25T01:29:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![agillesp](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/agillesp/32/434_2.png) [@agillesp](https://forum.juce.com/u/agillesp)\
**Post date:** [January 25, 2006, 1:29am UTC](https://forum.juce.com/t/intel-mac-compiler-error/621/1 "2006-01-25T01:29:08Z")

</div>

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.

Art  
Glaresoft, Inc.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [January 25, 2006, 9:41am UTC](https://forum.juce.com/t/intel-mac-compiler-error/621/2 "2006-01-25T09:41:52Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [May 12, 2017, 10:04am UTC](https://forum.juce.com/t/intel-mac-compiler-error/621/3 "2017-05-12T10:04:23Z")

</div>


