Looks like glib v1.2.10 can't be compiled with GCC V3.4
gstrfuncs.c:
g_warning (__PRETTY_FUNCTION__
"(): unable to handle positional parameters (%%n$)");
this generates an error on GCC 3.4 :
/bin/sh ./libtool --mode=compile /usr/users/kvo/openpkg/dev/bin/cc
-DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib
-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -O2 -Wall -c gstrfuncs.c
/usr/users/kvo/openpkg/dev/bin/cc -DHAVE_CONFIG_H -I. -I. -I.
-DG_LOG_DOMAIN=g_log_domain_glib -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -O2
-Wall -c gstrfuncs.c -o gstrfuncs.o
gstrfuncs.c: In function `g_printf_string_upper_bound':
gstrfuncs.c:870: error: parse error before string constant
gstrfuncs.c:1037: error: parse error before string constant
gstrfuncs.c:1080: error: parse error before string constant
gstrfuncs.c:1111: error: parse error before string constant
make[2]: *** [gstrfuncs.lo] Error 1
make[2]: Leaving directory `/usr/users/kvo/openpkg/dev/RPM/TMP/glib-1.2.10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/users/kvo/openpkg/dev/RPM/TMP/glib-1.2.10'
make: *** [all-recursive-am] Error 2
glib.h :
#ifdef __GNUC__
#define G_GNUC_FUNCTION __FUNCTION__
#define G_GNUC_PRETTY_FUNCTION __PRETTY_FUNCTION__
#else /* !__GNUC__ */
#define G_GNUC_FUNCTION ""
#define G_GNUC_PRETTY_FUNCTION ""
#endif /* !__GNUC__ */
Using the "" defines, it compiles fine on gcc v3.4 -- I think this is not a
Tru64 gcc 3.4 problem, but a generic one.
Have a nice weekend,
Karl
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [EMAIL PROTECTED]