Objective-C 2.0 has several new enhancements:
- garbage collection
- quick listing:
for..in - The properties
- thread synchronization: @synchronized (self)
- @ try / @ catch / @ finally / @ throw exception handling
I am interested in using Objective-C 2.0 as a language for programming portable code on several operating system platforms, while avoiding frameworks such as OpenStep or GNUStep.
However, although gcc 3.4.5 on Windows will parse the syntax for using the @ try / @ catch / @ finally / @ throw exception handler when compiling with -fobjc exceptions, it still generates this error:
error: storage size of '_stackExceptionData' isn't known
Is there support for Objective-C 2.0 features on operating systems other than Mac OS X v10.3 and later?