Overview
| Comment: | configure: Use -Wobjc-missing-property-synthesis
This warns when Clang would auto-synthesize a property and is what is |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
9a0fd366adbf6b79ea1b76d313d027fd |
| User & Date: | js on 2016-06-05 13:32:03 |
| Other Links: | manifest | tags |
Context
|
2016-06-05
| ||
| 13:41 | Key Value Coding: Check type encoding for NULL (check-in: b1ef40944b user: js tags: trunk) | |
| 13:32 | configure: Use -Wobjc-missing-property-synthesis (check-in: 9a0fd366ad user: js tags: trunk) | |
| 13:18 | Key Value Coding: Implement auto-wrapping (check-in: 6a92704355 user: js tags: trunk) | |
Changes
Modified configure.ac from [b4bfa64321] to [0c3c6d689a].
| ︙ | ︙ | |||
148 149 150 151 152 153 154 | 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"]) | | | | 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 |
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(-Wobjc-missing-property-synthesis -Werror,
[OBJCFLAGS="$OBJCFLAGS -Wobjc-missing-property-synthesis"])
AX_CHECK_COMPILER_FLAGS(-Wsign-compare -Werror,
[OBJCFLAGS="$OBJCFLAGS -Wsign-compare"])
AC_MSG_CHECKING(whether Objective C compiler supports properties)
AC_TRY_COMPILE([
@interface Foo
{
|
| ︙ | ︙ | |||
917 918 919 920 921 922 923 | mingw*) AC_SUBST(OFKERNELEVENTOBSERVER_SELECT_M, "OFKernelEventObserver_select.m") ;; esac AS_IF([test x"$with_wii" = x"yes"], [ | | | 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 | mingw*) AC_SUBST(OFKERNELEVENTOBSERVER_SELECT_M, "OFKernelEventObserver_select.m") ;; esac AS_IF([test x"$with_wii" = x"yes"], [ AC_SUBST(OFKERNELEVENTOBSERVER_POLL_M, "OFKernelEventObserver_poll.m") ]) AC_MSG_CHECKING(for getaddrinfo) AC_TRY_COMPILE([ #include <stddef.h> #ifndef _WIN32 |
| ︙ | ︙ |