ObjFW  Check-in [99fb17e49b]

Overview
Comment:configure: Add --disable-werror
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 99fb17e49bf4ed65b4426a794941906f85d195d54f6e52b953cb449eac8cfcf4
User & Date: js on 2023-07-19 21:36:26
Other Links: manifest | tags
Context
2023-07-22
08:09
OFSystemInfo: Include scope for fe80::/10 IPv6s check-in: 1157d52bc0 user: js tags: trunk
2023-07-20
20:02
Merge trunk into 1.0 branch check-in: 124fe8b500 user: js tags: 1.0
2023-07-19
21:36
configure: Add --disable-werror check-in: 99fb17e49b user: js tags: trunk
21:00
OFMapTable: Change the rotation when resizing check-in: cdc49aa375 user: js tags: trunk
Changes

Modified configure.ac from [c17993d113] to [cdf26f147a].

1988
1989
1990
1991
1992
1993
1994
1995







1996
1997
1998
1999
2000
2001
2002
1988
1989
1990
1991
1992
1993
1994

1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008







-
+
+
+
+
+
+
+







	AC_MSG_RESULT(yes)
], [
	AC_MSG_RESULT(no)
	OBJCFLAGS="$old_OBJCFLAGS"
])

AS_IF([test x"$GOBJC" = x"yes"], [
	OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wpointer-arith -Werror"
	OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wpointer-arith"

	AC_ARG_ENABLE(werror,
		AS_HELP_STRING([--disable-werror], [do not build with -Werror]))
	AS_IF([test x"$enable_werror" != x"no"], [
		OBJCFLAGS="$OBJCFLAGS -Werror"
	])

	AC_MSG_CHECKING(whether we need -Wno-strict-aliasing due to GCC bugs)
	AC_COMPILE_IFELSE([
		AC_LANG_PROGRAM([
			#ifdef __has_attribute
			# if __has_attribute(objc_root_class)
			__attribute__((__objc_root_class__))