Differences From Artifact [a76c510128]:
- File
src/OFObject.m
— part of check-in
[894658f979]
at
2011-03-10 19:54:52
on branch trunk
— Call C++ constructors and destructors.
However, this only works with Apple GCC and Clang, but does not hurt
if unsupported. Therefore, no check for compiler support is needed. (user: js, size: 19440) [annotate] [blame] [check-ins using]
To Artifact [83c3cca2e3]:
- File src/OFObject.m — part of check-in [36c4b260aa] at 2011-03-11 16:47:48 on branch trunk — Get rid of warnings when using latest clang. (user: js, size: 19447) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
64 65 66 67 68 69 70 | #if !defined(OF_ATOMIC_OPS) of_spinlock_t retain_spinlock; #endif }; /* Hopefully no arch needs more than 16 bytes padding */ #define PRE_IVAR_ALIGN ((sizeof(struct pre_ivar) + 15) & ~15) | | | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | #if !defined(OF_ATOMIC_OPS) of_spinlock_t retain_spinlock; #endif }; /* Hopefully no arch needs more than 16 bytes padding */ #define PRE_IVAR_ALIGN ((sizeof(struct pre_ivar) + 15) & ~15) #define PRE_IVAR ((struct pre_ivar*)(void*)((char*)self - PRE_IVAR_ALIGN)) static struct { Class isa; } alloc_failed_exception; static Class autoreleasepool = Nil; static SEL cxx_construct = NULL; |
︙ | ︙ |