Hi,
Could somebody inform about status of ObjC++ branch ?
Recently I took CVS sources & built native MinGW compilers,
1. but version is 3.5.0 20040819 - very old !!!
2. and it produces internal compile error when I try to compile simplest ObjC
example with .mm extension:
#import <stdio.h>
#import <objc/Object.h>
@interface MyClass: Object
{
int val;
}
-(void) print;
@end
@implementation MyClass; /// <<<--- Test.mm:13: internal compiler error...
-(void) print
{
printf (" Hey\n");
}
@end
int main (int argc, char *argv[])
{
MyClass *myClass;
myClass = [MyClass alloc];
myClass = [myClass init];
[myClass print];
[myClass free];
return 0;
}
The same file with .m extension works fine.
Serguei Kouratov