Overview
Comment: | Use -Wno-objc-root-class if available.
clang introduced a warning for creating a new root class, as this is |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
0c87d8f53b3246df3777efdee36881d6 |
User & Date: | js on 2012-08-05 12:17:31 |
Other Links: | manifest | tags |
Context
2012-08-05
| ||
16:52 | Fix a possible race condition in initialize_class. check-in: 8f02ff02dc user: js tags: trunk | |
12:17 | Use -Wno-objc-root-class if available. check-in: 0c87d8f53b user: js tags: trunk | |
10:45 | runtime: Rewrite synchronized.m. check-in: f65ad67272 user: js tags: trunk | |
Changes
Modified configure.ac from [f5457fae3d] to [a704aa9fe3].
︙ | |||
37 38 39 40 41 42 43 44 45 46 47 48 49 50 | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | + + | OBJCFLAGS="$OBJCFLAGS -fno-constant-cfstrings" AC_SUBST(NO_CONST_CFSTRINGS, "-fno-constant-cfstrings") ]) AX_CHECK_COMPILER_FLAGS(-Wshorten-64-to-32, [OBJCFLAGS="$OBJCFLAGS -Wshorten-64-to-32"]) AX_CHECK_COMPILER_FLAGS(-Wsemicolon-before-method-body, [OBJCFLAGS="$OBJCFLAGS -Wsemicolon-before-method-body"]) AX_CHECK_COMPILER_FLAGS(-Wno-objc-root-class, [OBJCFLAGS="$OBJCFLAGS -Wno-objc-root-class"]) AC_MSG_CHECKING(whether Objective C compiler supports fast enumeration) AC_TRY_COMPILE([ @protocol OFFastEnumeration - (int)countByEnumeratingWithState: (void*)state objects: (id*)objects count: (int)count; |
︙ |