Overview
Comment: | Enable -pedantic |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
9c0f66d49d2c6b8b8bf830c1ed69bf75 |
User & Date: | js on 2014-05-15 15:32:43 |
Other Links: | manifest | tags |
Context
2014-05-15
| ||
15:46 | Minor style corrections check-in: 478119cde4 user: js tags: trunk | |
15:32 | Enable -pedantic check-in: 9c0f66d49d user: js tags: trunk | |
15:32 | Work around dlsym() API not being valid C check-in: 4a2f61814f user: js tags: trunk | |
Changes
Modified ObjFW.xcodeproj/project.pbxproj from [cb6f7b66a3] to [6804223f2b].
︙ | |||
2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 | 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 | + | /* Begin XCBuildConfiguration section */ 1DEB919408733D9F0010E9CD /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { GCC_C_LANGUAGE_STANDARD = c11; GCC_OPTIMIZATION_LEVEL = 2; GCC_WARN_PEDANTIC = YES; OTHER_CFLAGS = ( "-fexceptions", "-fconstant-string-class=OFConstantString", "-fno-constant-cfstrings", "-fno-common", "-fblocks", "-pipe", |
︙ | |||
2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 | 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 | + | name = Debug; }; 1DEB919508733D9F0010E9CD /* Release */ = { isa = XCBuildConfiguration; buildSettings = { GCC_C_LANGUAGE_STANDARD = c11; GCC_OPTIMIZATION_LEVEL = 2; GCC_WARN_PEDANTIC = YES; OTHER_CFLAGS = ( "-fexceptions", "-fconstant-string-class=OFConstantString", "-fno-constant-cfstrings", "-fno-common", "-fblocks", "-pipe", |
︙ |
Modified configure.ac from [4687ac1097] to [173e34f2cc].
︙ | |||
90 91 92 93 94 95 96 97 98 99 100 101 102 103 | 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | + | OBJCFLAGS="$OBJCFLAGS -std=c1x" ], [ AX_CHECK_COMPILER_FLAGS(-std=c99, [OBJCFLAGS="$OBJCFLAGS -std=c99"]) ]) ]) AX_CHECK_COMPILER_FLAGS(-pedantic, [OBJCFLAGS="$OBJCFLAGS -pedantic"]) AX_CHECK_COMPILER_FLAGS(-pipe, [OBJCFLAGS="$OBJCFLAGS -pipe"]) AX_CHECK_COMPILER_FLAGS(-fno-common, [OBJCFLAGS="$OBJCFLAGS -fno-common"]) AX_CHECK_COMPILER_FLAGS(-fno-constant-cfstrings, [ OBJCFLAGS="$OBJCFLAGS -fno-constant-cfstrings" AC_SUBST(NO_CONST_CFSTRINGS, "-fno-constant-cfstrings") ]) AX_CHECK_COMPILER_FLAGS(-Wshorten-64-to-32 -Werror, |
︙ |