ObjFW  Check-in [5ca9e69394]

Overview
Comment:Use -funwind-tables to work around a clang bug.

It seems clang does not create unwind tables like it should when
compiling for 32 bit with -fexceptions -fobjc-exceptions.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5ca9e693940363c005e60ef396dc83fb3c4c49055c71af4ac77bf00595dd05e8
User & Date: js on 2012-07-07 17:03:02
Other Links: manifest | tags
Context
2012-07-08
13:34
objfw-config: Always add -funwind-tables. check-in: 8f50777186 user: js tags: trunk
2012-07-07
17:03
Use -funwind-tables to work around a clang bug. check-in: 5ca9e69394 user: js tags: trunk
11:29
Fix exceptions on 32 bit systems. check-in: ce6282e019 user: js tags: trunk
Changes

Modified configure.ac from [13fd0aa2b6] to [7c08b06065].

15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
AC_PROG_OBJCPP
AC_PROG_LN_S
AC_PROG_INSTALL
AC_PROG_EGREP

CPP="$OBJCPP"
CPPFLAGS="$CPPFLAGS $OBJCPPFLAGS"
OBJCFLAGS="$OBJCFLAGS -Wall -fexceptions -fobjc-exceptions"
OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstantString"

AX_CHECK_COMPILER_FLAGS(-std=gnu99, [OBJCFLAGS="$OBJCFLAGS -std=gnu99"])
case $OBJC in
	*clang*)
		;;
	*)







|







15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
AC_PROG_OBJCPP
AC_PROG_LN_S
AC_PROG_INSTALL
AC_PROG_EGREP

CPP="$OBJCPP"
CPPFLAGS="$CPPFLAGS $OBJCPPFLAGS"
OBJCFLAGS="$OBJCFLAGS -Wall -fexceptions -fobjc-exceptions -funwind-tables"
OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstantString"

AX_CHECK_COMPILER_FLAGS(-std=gnu99, [OBJCFLAGS="$OBJCFLAGS -std=gnu99"])
case $OBJC in
	*clang*)
		;;
	*)