Re: [Patch] gio-standalone build fail with suncc because retrun value in void function



On Wed, 2007-11-07 at 12:26 +0800, Halton Huo wrote:
> Hi Alexl,
> 
> When I try to build gio-standalone trunk code on Solaris with suncc, I
> get build fail, I did not find a bugzilla category, so report issue
> here:
> 
> 
> /ws/onnv-tools-prc/SUNWspro/SS11/bin/cc -DHAVE_CONFIG_H -I. -I.. -I..
> -I.. -DGIO_MODULE_DIR=\"/export/home/halton/work/dist//lib/gio/modules
> \" -D_REENTRANT -D_PTHREADS -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -DG_LOG_DOMAIN=\"GIO\"
> -DG_DISABLE_DEPRECATED -DDBUS_API_SUBJECT_TO_CHANGE -g -c gdrive.c
> -KPIC -DPIC -o .libs/gdrive.o
> "gdrive.c", line 255: void function cannot return value
> "gdrive.c", line 314: void function cannot return value
> 
> The patch is attached.

This should be fixed in svn already.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]