ObjFW  Diff

Differences From Artifact [0003f7755e]:

To Artifact [cf9accb9d4]:


473
474
475
476
477
478
479
480
481


482
483
484
485
486
487
488
473
474
475
476
477
478
479


480
481
482
483
484
485
486
487
488







-
-
+
+







AS_IF([test x"$objc_runtime" = x"Apple"], [
	AC_CHECK_HEADER(Foundation/NSObject.h, [
		AC_SUBST(FOUNDATION_COMPAT_M, "foundation-compat.m")
	])
])

AS_IF([test x"$GOBJC" = x"yes"], [
	OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wcast-align -Wpointer-arith"
	OBJCFLAGS="$OBJCFLAGS -Werror"
	OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wshorten-64-to-32 -Wcast-align"
       	OBJCFLAGS="$OBJCFLAGS -Wpointer-arith -Werror"

	AC_MSG_CHECKING(whether gcc has bug objc/27438)
	AC_TRY_COMPILE([
		@interface OFConstantString
		{
			struct objc_class *isa;
			const char *string;