ObjFW  Check-in [f8dfd5ed63]

Overview
Comment:configure: Fix -Wunreachable-code check
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f8dfd5ed639e266ca025cd04ddabb2d1bf0bfeb291fda3731edfd1788299d0aa
User & Date: js on 2020-12-18 13:11:12
Other Links: manifest | tags
Context
2020-12-19
21:52
ofhttp: Support for non-Unicode console output check-in: 7da1f47ece user: js tags: trunk
2020-12-18
13:11
configure: Fix -Wunreachable-code check check-in: f8dfd5ed63 user: js tags: trunk
11:20
config.sub: Reintroduce local ARM64 & PSP changes check-in: a2da012f77 user: js tags: trunk
Changes

Modified configure.ac from [59c9f5ff7b] to [1c00b4af33].

1813
1814
1815
1816
1817
1818
1819

1820

1821
1822
1823
1824
1825
1826
1827
1813
1814
1815
1816
1817
1818
1819
1820

1821
1822
1823
1824
1825
1826
1827
1828







+
-
+







	old_OBJCFLAGS="$OBJCFLAGS"
	OBJCFLAGS="$OBJCFLAGS -Wunreachable-code"
	AC_MSG_CHECKING(whether -Wunreachable-code can be used)
	AC_COMPILE_IFELSE([
		AC_LANG_SOURCE([[
			#include <stdlib.h>
	
			struct objc_selector;
			typedef void *SEL;
			typedef const struct objc_selector *SEL;
	
			#ifdef __has_attribute
			# if __has_attribute(objc_root_class)
			__attribute__((__objc_root_class__))
			# endif
			#endif
			@interface Object