Re: Bus error gcc compiler for any for ( x in array ) inside Objective-C++ template

2009-10-15 Thread Ian Lance Taylor
John Holdsworth writes: > I've encountered a bus error using Apple's gcc in Xcode 3.1, 3.2 > compiling the following code or any containing for( x in y ) is used > inside a template in Objective-C++. > > template > class OODictionary { > void boom() { > NSArray *keys = nil;

Bus error gcc compiler for any for ( x in array ) inside Objective-C++ template

2009-10-15 Thread John Holdsworth
Hi, I've encountered a bus error using Apple's gcc in Xcode 3.1, 3.2 compiling the following code or any containing for( x in y ) is used inside a template in Objective-C++. template class OODictionary { void boom() { NSArray *keys = nil; for ( NSString