ObjFW  Check-in [eac76c7a30]

Overview
Comment:Rename __objc_gnu_init.

It seems it generates a conflict with some gcc versions.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: eac76c7a3087b7cce2f2977e4d6945372437a01378c147fb48e10881c7b8320c
User & Date: js on 2010-09-15 15:01:40
Other Links: manifest | tags
Context
2010-09-15
15:19
It seems glibc 2.12.1-r1 breaks getaddrinfo() and returns v6 only. check-in: 92c870f23d user: js tags: trunk
15:01
Rename __objc_gnu_init. check-in: eac76c7a30 user: js tags: trunk
2010-09-08
21:17
Fix Objective C++ compatibility. check-in: 9d6716470e user: js tags: trunk
Changes

Modified src/OFBlock.m from [8b59b6b4ef] to [0ee627944f].

80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
static struct {
	unsigned long version, size;
	const char *name;
	void *symtab;
} module = { 8, sizeof(module), NULL, &symtab };

static void __attribute__((constructor))
__objc_gnu_init()
{
	__objc_exec_class(&module);
}
/* End of ObjC module */
#else
void *_NSConcreteStackBlock;
void *_NSConcreteGlobalBlock;







|







80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
static struct {
	unsigned long version, size;
	const char *name;
	void *symtab;
} module = { 8, sizeof(module), NULL, &symtab };

static void __attribute__((constructor))
constructor()
{
	__objc_exec_class(&module);
}
/* End of ObjC module */
#else
void *_NSConcreteStackBlock;
void *_NSConcreteGlobalBlock;