fre 2012-01-20 klockan 17:17 -0800 skrev Paul Eggert: > Here's a proposed patch for that; it's pretty simple and if your > analysis is correct it should do the trick.
Thanks. I think it helps, but it wasn't complete. Below is a new backtrace. It seems the system wchar.h includes the system time.h, which triggers the same problem... that may be harder to fix? > Another possibility would be to remove all BSD/OS hacks in gnulib. > BSD/OS hasn't been supported since 2004, according to Wikipedia, > and perhaps it's time we retire it from gnulib. I wouldn't object to this, it was a long time since I heard anything about BSD/OS. /Simon arm-linux-androideabi-gcc --sysroot /home/jas/android-ndk-r7/platforms/android-8/arch-arm -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1 -g -O2 -MT vasnprintf.o -MD -MP -MF .deps/vasnprintf.Tpo -c -o vasnprintf.o vasnprintf.c In file included from /home/jas/android-ndk-r7/platforms/android-8/arch-arm/usr/include/sys/time.h:33, from /home/jas/android-ndk-r7/platforms/android-8/arch-arm/usr/include/time.h:32, from /home/jas/android-ndk-r7/platforms/android-8/arch-arm/usr/include/wchar.h:39, from ./wchar.h:81, from ./stdint.h:531, from /home/jas/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:43, from /home/jas/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:64, from ./stdio.h:44, from vasnprintf.c:71: /home/jas/android-ndk-r7/platforms/android-8/arch-arm/usr/include/linux/time.h:20: error: expected specifier-qualifier-list before 'time_t'