ObjFW  Check-in [cea49f2ece]

Overview
Comment:configure: Check for -Wundeclared-selector
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: cea49f2eced1896bc5e7fd540e301bc27fadf72686e39a4f3e1fcc0dd3c23b53
User & Date: js on 2017-09-24 01:14:14
Other Links: manifest | tags
Context
2017-09-24
02:11
OFObject: Add -[performSelector*] with 3 objects check-in: 9f1accca4e user: js tags: trunk
01:14
configure: Check for -Wundeclared-selector check-in: cea49f2ece user: js tags: trunk
00:59
Make OFHTTPClient asynchronous check-in: 56a18442e2 user: js tags: trunk
Changes

Modified configure.ac from [5c197c36b0] to [060495809e].

171
172
173
174
175
176
177
178

179
180

181


182

183
184

185
186

187
188
189
190
191
192
193
171
172
173
174
175
176
177

178
179

180
181
182
183

184
185

186
187

188
189
190
191
192
193
194
195







-
+

-
+

+
+
-
+

-
+

-
+








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(-Wsign-compare -Werror,
AX_CHECK_COMPILER_FLAGS([-Wsign-compare -Werror],
	[OBJCFLAGS="$OBJCFLAGS -Wsign-compare"])
AX_CHECK_COMPILER_FLAGS(-Wshorten-64-to-32 -Werror,
AX_CHECK_COMPILER_FLAGS([-Wshorten-64-to-32 -Werror],
	[OBJCFLAGS="$OBJCFLAGS -Wshorten-64-to-32"])
AX_CHECK_COMPILER_FLAGS([-Wundeclared-selector -Werror],
	[OBJCFLAGS="$OBJCFLAGS -Wundeclared-selector"])
AX_CHECK_COMPILER_FLAGS(-Wsemicolon-before-method-body -Werror,
AX_CHECK_COMPILER_FLAGS([-Wsemicolon-before-method-body -Werror],
	[OBJCFLAGS="$OBJCFLAGS -Wsemicolon-before-method-body"])
AX_CHECK_COMPILER_FLAGS(-Wobjc-missing-property-synthesis -Werror,
AX_CHECK_COMPILER_FLAGS([-Wobjc-missing-property-synthesis -Werror],
	[OBJCFLAGS="$OBJCFLAGS -Wobjc-missing-property-synthesis"])
AX_CHECK_COMPILER_FLAGS(-Watomic-properties -Werror, [
AX_CHECK_COMPILER_FLAGS([-Watomic-properties -Werror], [
	OBJCFLAGS="$OBJCFLAGS -Watomic-properties"
	TESTS_OBJCFLAGS="$TESTS_OBJCFLAGS -Wno-atomic-properties"
])

AC_MSG_CHECKING(whether Objective C compiler supports properties)
AC_TRY_COMPILE([
	#ifdef __has_attribute