ObjFW  Check-in [b20268e251]

Overview
Comment:configure: Change the default for -Werror

Release branches should disable it by default while development branches
should enable it by default.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 1.0
Files: files | file ages | folders
SHA3-256: b20268e2515091c2875750c1c84f8948ad6226e6309d3696b0d6e656bc633eae
User & Date: js on 2023-07-20 20:17:58
Other Links: branch diff | manifest | tags
Context
2023-08-09
11:41
Merge trunk into 1.0 branch check-in: 7061b887af user: js tags: 1.0
2023-07-20
20:17
configure: Change the default for -Werror check-in: b20268e251 user: js tags: 1.0
20:02
Merge trunk into 1.0 branch check-in: 124fe8b500 user: js tags: 1.0
Changes

Modified configure.ac from [bf290437dd] to [bb2f09756e].

1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
])

AS_IF([test x"$GOBJC" = x"yes"], [
	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







|







1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
])

AS_IF([test x"$GOBJC" = x"yes"], [
	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"yes"], [
		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