glib 1.2.10 fails to compile with the following error: /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -DG_ENABLE_DEBUG -O2 -pipe -fstrength-reduce -fstrict-aliasing -fprefetch-loop-arrays -mieee-fp -finline-function -msse -msse2 -funit-at-a-time -frename-registers -ftracer -fweb -march=k8 -fPIC -c gstring.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -DG_ENABLE_DEBUG -O2 -pipe -fstrength-reduce -fstrict-aliasing -fprefetch-loop-arrays -mieee-fp -finline-function -msse -msse2 -funit-at-a-time -frename-registers -ftracer -fweb -march=k8 -fPIC -c gstrfuncs.c -fPIC -o .libs/gstrfuncs.o gstrfuncs.c: In function `g_printf_string_upper_bound': gstrfuncs.c:870: error: syntax error before string constant gstrfuncs.c:1037: error: syntax error before string constant gstrfuncs.c:1080: error: syntax error before string constant make[2]: *** [gstrfuncs.lo] Error 1 I'll post a patch to fix this
Created attachment 28821 [details, diff] patch to fix glib 1.2.10 when compiling with gcc 3.4
Fixed in CVS, thanks.