ObjFW  Check-in [b405f355be]

Overview
Comment:Remove -fconstant-string-class.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b405f355be4d7b2d5f190d99dd2c8c77654fc5d8cb066cbf0e25091c9395042c
User & Date: js on 2008-10-25 23:46:50
Other Links: manifest | tags
Context
2008-10-25
23:53
Allow OFNoMemException and OFOverflowException to have obj == nil. check-in: 0340b72d43 user: js tags: trunk
23:46
Remove -fconstant-string-class. check-in: b405f355be user: js tags: trunk
23:41
Add OFXMLFactory. check-in: 8e7f91646d user: js tags: trunk
Changes

Modified configure.ac from [c6ac65f092] to [ca3e8cb004].

11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

case "$CC" in
	gcc | *-gcc | gcc-* | *-gcc-*)
		OBJCFLAGS="$OBJSFLAGS -Wall -Werror -pipe -g"
		;;
esac

OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstCString -fobjc-exceptions"

BUILDSYS_SHARED_LIB

AC_CHECK_HEADER(objc/runtime.h,
	[AC_DEFINE(HAVE_OBJC_RUNTIME_H, 1, [Whether we have objc/runtime.h])])
AC_CHECK_LIB(objc, sel_get_name,
	[AC_DEFINE(HAVE_SEL_GET_NAME, 1, [Whether we have sel_get_name])])







|







11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

case "$CC" in
	gcc | *-gcc | gcc-* | *-gcc-*)
		OBJCFLAGS="$OBJSFLAGS -Wall -Werror -pipe -g"
		;;
esac

OBJCFLAGS="$OBJCFLAGS -fobjc-exceptions"

BUILDSYS_SHARED_LIB

AC_CHECK_HEADER(objc/runtime.h,
	[AC_DEFINE(HAVE_OBJC_RUNTIME_H, 1, [Whether we have objc/runtime.h])])
AC_CHECK_LIB(objc, sel_get_name,
	[AC_DEFINE(HAVE_SEL_GET_NAME, 1, [Whether we have sel_get_name])])