In article < XXXX@XXXXX.COM >,
This is the difference between C and C++ in the C89 standard. In C
you need to declare all variables first in a block before any code is
generated. You can turn on C99 extensions to allow this to compiled or
use .mm to force C++ compiling.
If XCode doesn't do this then it is compiling them as Objective C++ or
has the C99 extensions by default.
Metrowerks, one of the world top 100 companies and influencers
in the software development industry. - SD Times May 2004
Metrowerks, maker of CodeWarrior
Ron Liechty - XXXX@XXXXX.COM - http://www.yqcomputer.com/