Differences From Artifact [5f63e9e6f7]:
- File configure.ac — part of check-in [97cabd4a82] at 2013-07-01 20:45:47 on branch trunk — Update buildsys. (user: js, size: 23556) [annotate] [blame] [check-ins using]
To Artifact [8591f0efb5]:
- File
configure.ac
— part of check-in
[c23578f03f]
at
2013-07-03 21:29:51
on branch trunk
— Check all -W flags with -Werror.
This is necessary as unknown flags are accepted by Clang, but issue a
warning and thus configure thinks they are accepted. However, with
-Werror later, the warning about the flag becomes an error and
compilation fails. (user: js, size: 23588) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
63 64 65 66 67 68 69 | esac 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") ]) | | | | | | 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | esac 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, [OBJCFLAGS="$OBJCFLAGS -Wshorten-64-to-32"]) AX_CHECK_COMPILER_FLAGS(-Wsemicolon-before-method-body -Werror, [OBJCFLAGS="$OBJCFLAGS -Wsemicolon-before-method-body"]) AX_CHECK_COMPILER_FLAGS(-Wno-objc-root-class -Werror, [OBJCFLAGS="$OBJCFLAGS -Wno-objc-root-class"]) AX_CHECK_COMPILER_FLAGS([-Wno-deprecated-objc-pointer-introspection -Werror], [OBJCFLAGS="$OBJCFLAGS -Wno-deprecated-objc-pointer-introspection"]) AX_CHECK_COMPILER_FLAGS(-Wdocumentation -Werror, [OBJCFLAGS="$OBJCFLAGS -Wdocumentation"]) case "$OBJC" in *clang*) ASFLAGS="$ASFLAGS -no-integrated-as" ;; esac |
︙ | ︙ |