ObjFW  Diff

Differences From Artifact [c1957ea278]:

To Artifact [6c6bb6568f]:


957
958
959
960
961
962
963
964
965
966
967
968
969
970
971

	old_OBJCFLAGS="$OBJCFLAGS"
	OBJCFLAGS="$OBJCFLAGS -Wcast-align"
	AC_MSG_CHECKING(whether -Wcast-align is buggy)
	AC_TRY_COMPILE([
		#ifdef __has_attribute
		# if __has_attribute(objc_root_class)
		__attribute__((objc_root_class))
		# endif
		#endif
		@interface Foo
		{
			struct objc_class *_isa;
		}
		@end







|







957
958
959
960
961
962
963
964
965
966
967
968
969
970
971

	old_OBJCFLAGS="$OBJCFLAGS"
	OBJCFLAGS="$OBJCFLAGS -Wcast-align"
	AC_MSG_CHECKING(whether -Wcast-align is buggy)
	AC_TRY_COMPILE([
		#ifdef __has_attribute
		# if __has_attribute(objc_root_class)
		__attribute__((__objc_root_class__))
		# endif
		#endif
		@interface Foo
		{
			struct objc_class *_isa;
		}
		@end