on trunk code, sun cc can not compile since the flag -Wall -Werror -Wno-return-type, following are compile error message:
/ws/onnv-tools-prc/SUNWspro/SS11/bin/cc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/opensync-1.0 -DORBIT2=1 -D_REENTRANT -D_PTHREADS -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/evolution-data-server-1.10 -I/usr/include/libxml2 -Wall -Werror -Wno-return-type -g -c evolution2_sync.c -KPIC -DPIC -o .libs/evolution2_sync.o
cc: illegal option -Wall