Overview
Comment: | Use -std=gnu99 instead of -std=c99. c99 gives trouble with glibc. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
70e82fef45cfda855abd4f04ee3778c8 |
User & Date: | js on 2011-04-04 23:31:19 |
Other Links: | manifest | tags |
Context
2011-04-04
| ||
23:32 | Check the value of read/write in OFStreamObserver. check-in: 8349bc4bbe user: js tags: trunk | |
23:31 | Use -std=gnu99 instead of -std=c99. c99 gives trouble with glibc. check-in: 70e82fef45 user: js tags: trunk | |
23:05 | Include <sys/types.h> for off_t. check-in: 10f8575e8b user: js tags: trunk | |
Changes
Modified configure.ac from [b8fa03a6ef] to [c2f04c07fa].
︙ | ︙ | |||
18 19 20 21 22 23 24 | AC_PROG_EGREP CPP="$OBJCPP" CPPFLAGS="$CPPFLAGS $OBJCPPFLAGS" OBJCFLAGS="$OBJCFLAGS -Wall -fexceptions -fobjc-exceptions" OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstantString" | | | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | 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"]) AX_CHECK_COMPILER_FLAGS(-pipe, [OBJCFLAGS="$OBJCFLAGS -pipe"]) AX_CHECK_COMPILER_FLAGS(-fno-common, [OBJCFLAGS="$OBJCFLAGS -fno-common"]) AX_CHECK_COMPILER_FLAGS(-fno-constant-cfstrings, [ NO_CONST_CFSTRINGS="-fno-constant-cfstrings" OBJCFLAGS="$OBJCFLAGS -fno-constant-cfstrings" ]) AX_CHECK_COMPILER_FLAGS(-Wshorten-64-to-32, [OBJCFLAGS="$OBJCFLAGS -pipe"]) |
︙ | ︙ |