ObjFW  Check-in [f248c8f842]

Overview
Comment:Fix a configure check.

This checks for -Wno-deprecated-objc-pointer-introspection with -Werror,
as old Clang versions do not know
-Wno-deprecated-objc-pointer-introspection and thus issue a warning for
it, which leads to an error if -Werror is added after the configure
script.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f248c8f8420fb4bb49bbb5b5005e736e113572ed83588774ed65fdfecac4aba0
User & Date: js on 2013-06-27 22:43:29
Other Links: manifest | tags
Context
2013-06-28
18:43
Include errno in headers for exceptions using it. check-in: 3d6917fe0b user: js tags: trunk
2013-06-27
22:43
Fix a configure check. check-in: f248c8f842 user: js tags: trunk
09:38
Improve OFFile API. check-in: 20a5c3d547 user: js tags: trunk
Changes

Modified configure.ac from [b939ec3d54] to [aa74e9e1a1].

69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
])
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"])
AX_CHECK_COMPILER_FLAGS(-Wno-deprecated-objc-pointer-introspection,
	[OBJCFLAGS="$OBJCFLAGS -Wno-deprecated-objc-pointer-introspection"])
AX_CHECK_COMPILER_FLAGS(-Wdocumentation,
	[OBJCFLAGS="$OBJCFLAGS -Wdocumentation"])

case "$OBJC" in
	*clang*)
		ASFLAGS="$ASFLAGS -no-integrated-as"







|







69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
])
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"])
AX_CHECK_COMPILER_FLAGS([-Wno-deprecated-objc-pointer-introspection -Werror],
	[OBJCFLAGS="$OBJCFLAGS -Wno-deprecated-objc-pointer-introspection"])
AX_CHECK_COMPILER_FLAGS(-Wdocumentation,
	[OBJCFLAGS="$OBJCFLAGS -Wdocumentation"])

case "$OBJC" in
	*clang*)
		ASFLAGS="$ASFLAGS -no-integrated-as"