ReleaseNotes.rtf 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf420
  2. {\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fnil\fcharset77 Monaco;
  3. }
  4. {\colortbl;\red255\green255\blue255;\red70\green130\blue100;}
  5. \vieww11200\viewh14360\viewkind0
  6. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  7. \f0\b\fs30 \cf0 Objective-C Release Notes\
  8. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  9. \f1\b0\fs24 \cf0 \
  10. \
  11. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  12. \f0\b\fs30 \cf0 Mac OS X 10.5 Leopard
  13. \f1\b0\fs24 \
  14. \
  15. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  16. \f0\b \cf0 Contents
  17. \f1\b0 \
  18. \'a5 Garbage Collection\
  19. \'a5\'caProperties\
  20. \'a5\'caLoading and Unloading Bundles\
  21. \'a5 Method and Class Attributes\
  22. \'a5\'ca@package Instance Variables\
  23. \'a5\'caRuntime API changes\
  24. \'a5\'ca64-bit ABI\
  25. \'a5\'ca64-bit Class and Instance Variable Access Control\
  26. \'a5\'ca64-bit Non-Fragile Instance Variables\
  27. \'a5\'ca64-bit Zero-Cost C++-Compatible Exceptions\
  28. \
  29. \
  30. \f0\b Garbage Collection\
  31. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  32. \f1\b0 \cf0 \
  33. The Objective-C runtime examines on startup the execution image to determine whether to run with garbage collection or not. Each object file has an info section and they must all agree for execution to proceed. Standard compilation results in an info section that indicates that no GC capability is present. Compiling with -fobjc-gc indicates that both GC and retain/release logic is present. Compiling with -fobjc-gc-only indicates that only GC logic is present. A non-GC executable that attempts to load a gc-only framework will fail, as will a GC capable executable that attemps to load a GC incapable framework (or bundle).\
  34. \
  35. The collector initially runs only on the main thread when requested via objc_collect_if_needed(1), which is called automatically from the autoreleasepool -drain method. The AppKit arranges to call objc_start_collector_thread() after launch and subsequently collections run on a dedicated thread and are responsive to pure allocation demand. The objc_set_collection_threshold and objc_set_collection_ratio calls are used to establish the "need" for a collection. Once every ratio times a full (complete) collection will occur; otherwise a generational collection will be done if allocations have exceeded the threshold.\
  36. \
  37. The garbage collector minimally pauses those threads which have been registered to it while collecting. Registration occurs during establishment of an NSThread, not simply a pthread.\
  38. \
  39. A critical assumption that the collector makes is that one thread never gains access to an object (or more generally any block of garbage collected memory) by way of a pointer to another thread's stack memory. In other words, the collector does not make provision for cross thread stack references. This enables the collector to avoid pausing all threads at the same time while it examines recursively all of their references.\
  40. \
  41. The compiler uses three "helper" functions for assignments of strong pointers to garbage collected memory into global memory (
  42. \f2\fs20 objc_assign_global
  43. \f1\fs24 ), garbage collected heap memory (
  44. \f2\fs20 objc_assign_ivar
  45. \f1\fs24 ), or into unknown memory (
  46. \f2\fs20 objc_assign_strongCast
  47. \f1\fs24 ). For assignments of weak pointers it uses objc_assign_weak and for reads it uses objc_read_weak.\
  48. \
  49. When copying memory in bulk into a garbage collected block one must use the API
  50. \f2\fs20 objc_memmove_collectable(void *dst, const void *src, size_t size)
  51. \f1\fs24 .\
  52. \
  53. Garbage Collection Errors\
  54. \
  55. The collector itself is found in
  56. \f2\fs20 /usr/lib/libauto.dylib
  57. \f1\fs24 . Its error messages are printed using
  58. \f2\fs20 malloc_printf
  59. \f1\fs24 . The ObjC runtime is found in
  60. \f2\fs20 /usr/lib/libobjc.dylib
  61. \f1\fs24 . Its errors are printed using
  62. \f2\fs20 _objc_inform
  63. \f1\fs24 . Currently we note resurrection and reference count underflow errors by calling the following routines:\
  64. \
  65. \pard\tx960\pardeftab960\ql\qnatural\pardirnatural
  66. \f2\fs20 \cf2 \CocoaLigature0 objc_assign_global_error\
  67. \pard\tx960\pardeftab960\ql\qnatural\pardirnatural
  68. \cf0 objc_assign_ivar_error\
  69. \pard\tx960\pardeftab960\ql\qnatural\pardirnatural
  70. \cf2 objc_exception_during_finalize_error\
  71. auto_zone_resurrection_error\cf0 \
  72. \cf2 auto_refcount_underflow_error
  73. \f1\fs24 \cf0 \CocoaLigature1 \
  74. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  75. \cf0 \
  76. \
  77. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  78. \f0\b \cf0 Properties
  79. \f1\b0 \
  80. \
  81. The syntax for Objective-C properties has been overhauled since WWDC 2006. See the property documentation for details.\
  82. \
  83. In summary, @property(attributes) type name introduces an implicit declaration of a "getter" and a "setter" method (unless a read-only property is requested) for the "variable" named. The setter= and getter= attributes allow one to specify the names of the methods, otherwise a "name" method and a "setName:" method are implicitly declared. They may also be explicitly named.\
  84. \
  85. By default, properties are assigned when set. For objects under non-GC this is often incorrect and a warning is issued unless the assignment semantic is explicitly named. There are three choices - assign, for non-retained object references, copy, for objects that are copied and implicitly retained, and simply retain, for objects that require being retained when set.\
  86. \
  87. Access to properties is atomic by default. This is trivial under GC for almost everything and also trivial under non-GC for everything but objects and structures. In particular atomic access to retained objects under non-GC conditions can be expensive. As such, a nonatomic property attribute is available.\
  88. \
  89. Pointers may be held strongly under GC by declaring them __strong, and they can be zeroing weak by declaring them __weak.\
  90. \
  91. The implementations for properties can be provided by the compiler and runtime through the use of the @synthesize statement in the @implementation section of the class (or class extension). The compiler expects an instance variable of the same name as the property. If one wishes a different name it can be supplied to the @synthesize statement.\
  92. \
  93. In particular the compiler and runtime will implement accessors to retained objects by using atomic compare and swap instructions. It is extremely dangerous to directly access an atomic object property through its instance variable since another thread might change its value unpredictably. As such the compiler will warn you about such unprotected accesses. The runtime, in fact, will temporarily use the least significant bit of the instance variable as a temporary lock while retaining the new value and releasing the old. Direct use of an atomic instance variable under non-GC is strongly discouraged.\
  94. \
  95. \
  96. \f0\b Loading and Unloading Bundles\
  97. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  98. \f1\b0 \cf0 \
  99. Since Mac OS X Version 10.4 it has been possible to unload bundles containing Objective-C. No attempt is made to prevent this if objects are still present for classes that are unloaded. Subclasses of classes loaded in bundles are particularly vulnerable.\
  100. \
  101. \
  102. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  103. \f0\b \cf0 Method and Class Attributes\
  104. \
  105. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  106. \f1\b0 \cf0 Objective-C now supports some gcc attributes for Objective-C methods. Syntactically, attributes for a method follow the method's declaration, and attributes for a method parameter sit between the parameter type and the parameter name. Supported attributes include:\
  107. \
  108. Deprecation and availability, including AvailabilityMacros.h\
  109. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  110. \f2\fs20 \cf0 - (void)method:(id)param __attribute__((deprecated));\
  111. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  112. \f1\fs24 \cf0 \
  113. Unused parameters\
  114. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  115. \f2\fs20 \cf0 - (void)method:(id) __attribute__((unused)) param;\
  116. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  117. \f1\fs24 \cf0 \
  118. Sentinel parameters, including
  119. \f2\fs20 NS_REQUIRES_NIL_TERMINATION
  120. \f1\fs24 \
  121. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  122. \f2\fs20 \cf0 - (void)methodWithObjects:(id)obj, ... NS_REQUIRES_NIL_TERMINATION;\
  123. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  124. \f1\fs24 \cf0 \
  125. Objective-C also supports some gcc attributes for Objective-C classes. Syntactically, attributes for a class precede the class's
  126. \f2\fs20 @interface
  127. \f1\fs24 declaration. Supported attributes include:\
  128. \
  129. Deprecation and availability, including AvailabilityMacros.h\
  130. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  131. \f2\fs20 \cf0 __attribute__((deprecated))\
  132. @interface MyDeprecatedClass : SomeSuperclass\
  133. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  134. \f1\fs24 \cf0 \
  135. Visibility\
  136. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  137. \f2\fs20 \cf0 __attribute__((visibility("hidden")))\
  138. @interface MyPrivateClass : SomeSuperclass
  139. \f1\fs24 \
  140. \
  141. \
  142. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  143. \f0\b \cf0 @package Instance Variables
  144. \f1\b0 \
  145. \
  146. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  147. \f2\fs20 \cf0 @package
  148. \f1\fs24 is a new ivar protection class, like
  149. \f2\fs20 @public
  150. \f1\fs24 and
  151. \f2\fs20 @protected
  152. \f1\fs24 .
  153. \f2\fs20 @package
  154. \f1\fs24 ivars behave as follows:\
  155. \'a5\'ca
  156. \f2\fs20 @public
  157. \f1\fs24 in 32-bit; \
  158. \'a5\'ca
  159. \f2\fs20 @public
  160. \f1\fs24 in 64-bit, inside the framework that defined the class; \
  161. \'a5\'ca
  162. \f2\fs20 @private
  163. \f1\fs24 in 64-bit, outside the framework that defined the class.\
  164. \
  165. In 64-bit, the ivar symbol for an
  166. \f2\fs20 @package
  167. \f1\fs24 ivar is not exported, so any attempt to use the ivar from outside the framework that defined the class will fail with a link error. See "64-bit Class and Instance Variable Access Control" for more about ivar symbols.\
  168. \
  169. \
  170. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  171. \f0\b \cf0 Runtime API changes\
  172. \
  173. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  174. \f1\b0 \cf0 The C interface to the Objective-C runtime (in
  175. \f2\fs20 <objc/*.h>
  176. \f1\fs24 ) has changed significantly. Highlights include:\
  177. \'a5\'caAlmost all structures are deprecated, including
  178. \f2\fs20 struct objc_class
  179. \f1\fs24 . Functional replacements for most of these are provided.\
  180. \'a5\'ca
  181. \f2\fs20 class_poseAs
  182. \f1\fs24 is deprecated. Use method list manipulation functions instead.\
  183. \'a5\'ca
  184. \f2\fs20 class_nextMethodList
  185. \f1\fs24 is deprecated. Use
  186. \f2\fs20 class_copyMethodList
  187. \f1\fs24 instead.\
  188. \'a5\'ca
  189. \f2\fs20 class_addMethods
  190. \f1\fs24 is deprecated. Use
  191. \f2\fs20 class_addMethod
  192. \f1\fs24 instead.\
  193. \'a5\'ca
  194. \f2\fs20 objc_addClass
  195. \f1\fs24 is deprecated. Use
  196. \f2\fs20 objc_allocateClassPair
  197. \f1\fs24 and
  198. \f2\fs20 objc_registerClassPair
  199. \f1\fs24 instead.\
  200. \'a5\'caIn general, all deprecated declarations are absent in 64-bit.\
  201. \'a5\'caThe API in objc/objc-runtime.h and objc/objc-class.h is now in objc/runtime.h and objc/message.h. The old header files simply #include the new ones.\
  202. \
  203. \
  204. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  205. \f0\b \cf0 64-bit ABI\
  206. \
  207. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  208. \f1\b0 \cf0 The 64-bit Objective-C ABI is generally unlike the 32-bit ABI. The new ABI provides new features, better performance, and improved future adaptability. All aspects of the 64-bit ABI are private and subject to future change. Forthcoming documentation will describe the ABI for the use of compilers and developer tools only.\
  209. \
  210. \
  211. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  212. \f0\b \cf0 64-bit Class and Instance Variable Access Control\
  213. \
  214. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  215. \f1\b0 \cf0 In 64-bit Objective-C, access control for classes and each class and instance variable has a symbol associated with it. All uses of a class or instance variable reference this symbol. These symbols are subject to access control by the linker.\
  216. \
  217. The upshot is that access to private classes and ivars is more strictly enforced. Illegal use of a private ivar may fail with a link error. Frameworks that provide classes and ivars must correctly export their symbols. In particular, frameworks built with
  218. \f2\fs20 -fvisibility=hidden
  219. \f1\fs24 or a linker export list may need to be changed.\
  220. \
  221. Class symbols have names of the form
  222. \f2\fs20 _OBJC_CLASS_$_ClassName
  223. \f1\fs24 and
  224. \f2\fs20 _OBJC_METACLASS_$_ClassName
  225. \f1\fs24 . The class symbol is used by clients who send messages to the class (i.e.
  226. \f2\fs20 [ClassName someMessage]
  227. \f1\fs24 ). The metaclass symbol is used by clients who subclass the class.\
  228. \
  229. By default, class symbols are exported. They are affected by gcc's symbol visibility flags, so
  230. \f2\fs20 -fvisibility=hidden
  231. \f1\fs24 will make the class symbols non-exported. The linker recognizes the old symbol name
  232. \f2\fs20 .objc_class_name_ClassName
  233. \f1\fs24 in linker export lists and translates it to these symbols. \
  234. \
  235. Visibility of a single class can be changed using an attribute.\
  236. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  237. \f2\fs20 \cf0 __attribute__((visibility("hidden")))\
  238. @interface ClassName : SomeSuperclass\
  239. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  240. \f1\fs24 \cf0 For classes with
  241. \f2\fs20 "default"
  242. \f1\fs24 visibility, the class symbols are exported, and the ivar symbols are handled as described below. For classes with
  243. \f2\fs20 "hidden"
  244. \f1\fs24 visibility, the class symbols and ivar symbols are all not exported.\
  245. \
  246. Ivar symbols have the form
  247. \f2\fs20 _OBJC_IVAR_$_ClassName.IvarName
  248. \f1\fs24 . The ivar symbol is used by clients who read or write the ivar.\
  249. \
  250. By default, ivar symbols for
  251. \f2\fs20 @private
  252. \f1\fs24 and
  253. \f2\fs20 @package
  254. \f1\fs24 ivars are not exported, and ivar symbols for
  255. \f2\fs20 @public
  256. \f1\fs24 and
  257. \f2\fs20 @protected
  258. \f1\fs24 ivars are exported. This can be changed by export lists,
  259. \f2\fs20 -fvisibility
  260. \f1\fs24 , or a visibility attribute on the class. Visibility attributes on individual ivars are currently not supported.\
  261. \
  262. \
  263. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  264. \f0\b \cf0 64-bit Non-Fragile Instance Variables\
  265. \
  266. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  267. \f1\b0 \cf0 All instance variables in 64-bit Objective-C are non-fragile. That is, existing compiled code that uses a class's ivars will not break when the class or a superclass changes its own ivar layout. In particular, framework classes may add new ivars without breaking subclasses compiled against a previous version of the framework.\
  268. \
  269. Ivars may be added or reordered freely; existing users of a reordered ivar will adapt transparently. Other ivar changes are safe except that they will break any existing users of the ivar: deleting an ivar, renaming an ivar, moving an ivar to a different class, and changing the type of an ivar. \
  270. \
  271. Do not use
  272. \f2\fs20 @defs
  273. \f1\fs24 . The ivar layout it presents cannot adapt to superclass changes.\
  274. \
  275. Do not use
  276. \f2\fs20 sizeof(SomeClass)
  277. \f1\fs24 . Use
  278. \f2\fs20 class_getInstanceSize([SomeClass class])
  279. \f1\fs24 instead.\
  280. \
  281. Do not use
  282. \f2\fs20 offsetof(SomeClass, SomeIvar)
  283. \f1\fs24 . Use
  284. \f2\fs20 ivar_getOffset(class_getInstanceVariable([SomeClass class], "SomeIvar"))
  285. \f1\fs24 instead.\
  286. \
  287. \
  288. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  289. \f0\b \cf0 64-bit Zero-Cost C++-Compatible Exceptions\
  290. \
  291. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
  292. \f1\b0 \cf0 In 64-bit, the implementation of Objective-C exceptions has been rewritten. The new system provides "zero-cost" try blocks and interoperability with C++. \
  293. \
  294. "Zero-cost" try blocks incur no time penalty when entering an
  295. \f2\fs20 @try
  296. \f1\fs24 block, unlike 32-bit which must call
  297. \f2\fs20 setjmp()
  298. \f1\fs24 and other additional bookkeeping. On the other hand, actually throwing an exception is much more expensive. For best performance in 64-bit, exceptions should be thrown only in exceptional cases.\
  299. \
  300. The Cocoa frameworks require that all exceptions be instances of NSException or its subclasses. Do not throw objects of other types.\
  301. \
  302. The Cocoa frameworks are generally not exception-safe. Their general pattern is that exceptions are reserved for programmer error only, and the program should quit soon after catching such an exception. Be careful when throwing exceptions across the Cocoa frameworks.\
  303. \
  304. In 64-bit, C++ exceptions and Objective-C exceptions are interoperable. In particular, C++ destructors and Objective-C
  305. \f2\fs20 @finally
  306. \f1\fs24 blocks are honored when unwinding any exception, and default catch clauses -
  307. \f2\fs20 catch (...)
  308. \f1\fs24 and
  309. \f2\fs20 @catch (...)
  310. \f1\fs24 - are able to catch and re-throw any exception.\
  311. \
  312. Objective-C
  313. \f2\fs20 @catch (id e)
  314. \f1\fs24 catches any Objective-C exception, but no C++ exceptions. Use
  315. \f2\fs20 @catch (...)
  316. \f1\fs24 to catch everything, and
  317. \f2\fs20 @throw;
  318. \f1\fs24 to re-throw caught exceptions.
  319. \f2\fs20 @catch (...)
  320. \f1\fs24 is allowed in 32-bit, and has the same effect there as
  321. \f2\fs20 @catch (id e)
  322. \f1\fs24 . \
  323. }