ObjFW  Check-in [874faa49a7]

Overview
Comment:Fix -Wcast-align check for recent Clang versions.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 874faa49a72a6fa9b072b2c90045b36e9426d1f0d01df96c4f4d40ea6d104d21
User & Date: js on 2013-05-01 20:31:06
Other Links: manifest | tags
Context
2013-05-01
20:35
Make -[finishInitialization] thread-safe. check-in: abb7536cdd user: js tags: trunk
20:31
Fix -Wcast-align check for recent Clang versions. check-in: 874faa49a7 user: js tags: trunk
2013-04-30
22:47
observeWithTimeout: -> observeForTimeInterval:. check-in: ab9ad6e515 user: js tags: trunk
Changes

Modified configure.ac from [989a042f2a] to [8a8597f0c7].

801
802
803
804
805
806
807
808

809
810
811
812
813
814
815

816
817
818
819
820
821
822
801
802
803
804
805
806
807

808
809
810
811
812
813
814

815
816
817
818
819
820
821
822







-
+






-
+








	old_OBJCFLAGS="$OBJCFLAGS"
	OBJCFLAGS="$OBJCFLAGS -Wcast-align"
	AC_MSG_CHECKING(whether -Wcast-align is buggy)
	AC_TRY_COMPILE([
		@interface Foo
		{
			struct objc_class *isa;
			struct objc_class *_isa;
		}
		@end

		@implementation Foo
		- (void)foo
		{
			struct objc_class *c = isa;
			struct objc_class *c = _isa;
			(void)c;
		}
		@end
	], [
	], [
		AC_MSG_RESULT(no)
	], [