! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
void function tries to return a value
Status:
CLOSED: FIXED
Product:
Xfprint4
Component:
General

Comments

Description Martti Kuparinen 2006-09-08 05:16:49 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5
Build Identifier: 

Sparc Solaris 10 with Sun Studio compilers results
in the following error in xfprint:

"printing-system.c", line 334: void function cannot return value
"printing-system.c", line 342: void function cannot return value
cc: acomp failed for printing-system.c
gmake[2]: *** [libxfprint_la-printing-system.lo] Error 1
gmake[2]: Leaving directory `/opt/pkg.obj/wip/xfce4-print/work.e450/xfprint-4.3.99.1/libxfprint'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/pkg.obj/wip/xfce4-print/work.e450/xfprint-4.3.99.1'
gmake: *** [all] Error 2
*** Error code 2


Reproducible: Always




Maybe the Xfce code should be compiled with -Wall -Werror so these kind of mistakes don't get through?
Comment 1 Jean-François Wauthy editbugs 2006-09-08 05:45:57 CEST
fixed with revision 23104

Bug #2282

Reported by:
Martti Kuparinen
Reported on: 2006-09-08
Last modified on: 2009-07-14

People

Assignee:
Jean-François Wauthy
CC List:
0 users

Version

Attachments

Additional information