Overview
Comment: | Remove defines we no longer need
Now that we require GCC >= 4.6, those features are always available. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
be8db496356053a2d984e54b61d59b96 |
User & Date: | js on 2015-11-29 14:26:44 |
Other Links: | manifest | tags |
Context
2015-11-29
| ||
18:46 | Fix compilation of ObjC++ check-in: 5826fb0441 user: js tags: trunk | |
14:26 | Remove defines we no longer need check-in: be8db49635 user: js tags: trunk | |
14:23 | Clean up class extensions check-in: 2aca549d60 user: js tags: trunk | |
Changes
Modified Doxyfile from [acb8142762] to [6815d9887c].
1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | - - - | PROJECT_NAME = "ObjFW" OUTPUT_DIRECTORY = docs/ INPUT = src src/exceptions FILE_PATTERNS = *.h *.m HTML_OUTPUT = . GENERATE_LATEX = NO HIDE_UNDOC_CLASSES = YES HIDE_UNDOC_MEMBERS = YES PREDEFINED = DOXYGEN \ OF_HAVE_BLOCKS \ OF_HAVE_FILES \ |
Modified src/macros.h from [d6041f701d] to [bcbd739063].
︙ | |||
97 98 99 100 101 102 103 | 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | - - - - - - - - - - - - | #ifdef __GNUC__ # define __GCC_VERSION__ (__GNUC__ * 100 + __GNUC_MINOR__) #else # define __GCC_VERSION__ 0 #endif |
︙ |
Modified tests/OFArrayTests.m from [a0e388f1bc] to [db4b803ef8].
︙ | |||
196 197 198 199 200 201 202 | 196 197 198 199 200 201 202 203 204 205 206 207 208 209 | - | [enumerator reset]; [m[0] removeObjectAtIndex: 0]; EXPECT_EXCEPTION(@"Detection of mutation during enumeration", OFEnumerationMutationException, [enumerator nextObject]) |
︙ | |||
239 240 241 242 243 244 245 | 238 239 240 241 242 243 244 245 246 247 248 249 250 251 | - | } @catch (OFEnumerationMutationException *e) { ok = true; } TEST(@"Detection of mutation during Fast Enumeration", ok) [m[0] removeLastObject]; |
︙ |
Modified tests/OFDictionaryTests.m from [9df1f8a4e7] to [3cc771ecbe].
︙ | |||
90 91 92 93 94 95 96 | 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | - | EXPECT_EXCEPTION(@"Detection of mutation during enumeration", OFEnumerationMutationException, [key_enum nextObject]); [dict setObject: values[0] forKey: keys[0]]; |
︙ | |||
122 123 124 125 126 127 128 | 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | - | } @catch (OFEnumerationMutationException *e) { ok = true; } TEST(@"Detection of mutation during Fast Enumeration", ok) [dict removeObjectForKey: @""]; |
︙ |
Modified tests/OFListTests.m from [e8f2de8a74] to [c4bfbb1bc1].
︙ | |||
119 120 121 122 123 124 125 | 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | - | [list removeListObject: [list firstListObject]]; EXPECT_EXCEPTION(@"Detection of mutation during enumeration", OFEnumerationMutationException, [enumerator nextObject]) [list prependObject: strings[0]]; |
︙ | |||
149 150 151 152 153 154 155 | 148 149 150 151 152 153 154 155 156 157 158 | - | [list removeListObject: [list lastListObject]]; } } @catch (OFEnumerationMutationException *e) { ok = true; } TEST(@"Detection of mutation during Fast Enumeration", ok) |
Modified tests/OFSetTests.m from [ae430dfeb5] to [bc85efc808].
︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | - - | @implementation TestsAppDelegate (OFSetTests) - (void)setTests { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; OFSet *set1, *set2; OFMutableSet *mutableSet; |
︙ | |||
87 88 89 90 91 92 93 | 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | - | nil]]) TEST(@"-[unionSet:]", R([mutableSet unionSet: [OFSet setWithObjects: @"x", @"bar", nil]]) && [mutableSet isEqual: [OFSet setWithObjects: @"baz", @"bar", @"x", nil]]) |
︙ | |||
128 129 130 131 132 133 134 | 125 126 127 128 129 130 131 132 133 134 135 | - | for (OFString *s in mutableSet) [mutableSet removeObject: s]; } @catch (OFEnumerationMutationException *e) { ok = true; } TEST(@"Detection of mutation during Fast Enumeration", ok); |
Modified tests/TestsAppDelegate.m from [8ae7c85a0a] to [3fc0278a36].
︙ | |||
368 369 370 371 372 373 374 | 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 | - - | [self serializationTests]; #endif [self JSONTests]; #ifdef OF_HAVE_PLUGINS [self pluginTests]; #endif [self forwardingTests]; |
︙ |