From owner-freebsd-current@FreeBSD.ORG Wed Jun 5 23:54:32 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9FA27B40 for ; Wed, 5 Jun 2013 23:54:32 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 479741A51 for ; Wed, 5 Jun 2013 23:54:31 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UkNXC-0007AT-RA for freebsd-current@freebsd.org; Thu, 06 Jun 2013 01:54:30 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Jun 2013 01:54:30 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Jun 2013 01:54:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Walter Hurry Subject: Can't compile lxpanel Date: Wed, 5 Jun 2013 23:54:13 +0000 (UTC) Lines: 108 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 23:54:32 -0000 I'm running 10.0-CORRENT on amd64. Ports and source are both up to date. When I try to compile x11/lxpanel I get this: ------------------------------------------ gmake[4]: Entering directory `/usr/ports/x11/lxpanel/work/lxpanel-0.5.12/ src/plugins/volume' CC volume_la-volume.lo volume.c:193:20: error: non-void function 'on_button_press' should return a value [-Wreturn-type] if (! vol_spin) return; ^ volume.c:196:26: error: non-void function 'on_button_press' should return a value [-Wreturn-type] if (! vol_adjustment) return; ^ volume.c:217:19: error: non-void function 'on_button_press' should return a value [-Wreturn-type] if (! vol_spin) return; ^ volume.c:220:25: error: non-void function 'on_button_press' should return a value [-Wreturn-type] if (! vol_adjustment) return; ^ volume.c:286:21: error: non-void function 'volume_constructor' should return a value [-Wreturn-type] if (! vol_spin) return; ^ volume.c:289:27: error: non-void function 'volume_constructor' should return a value [-Wreturn-type] if (! vol_adjustment) return; ^ volume.c:309:5: warning: use of GNU old-style field designator extension [-Wgnu-designator] PLUGINCLASS_VERSIONING, ^ ../../../src/plugin.h:35:5: note: expanded from macro 'PLUGINCLASS_VERSIONING' structure_size : sizeof(PluginClass), \ ^ volume.c:309:5: warning: use of GNU old-style field designator extension [-Wgnu-designator] ../../../src/plugin.h:36:5: note: expanded from macro 'PLUGINCLASS_VERSIONING' structure_version : PLUGINCLASS_VERSION ^ volume.c:311:5: warning: use of GNU old-style field designator extension [-Wgnu-designator] type : "volume", ^~~~~~ .type = volume.c:312:5: warning: use of GNU old-style field designator extension [-Wgnu-designator] name : N_("Volume Control"), ^~~~~~ .name = volume.c:313:5: warning: use of GNU old-style field designator extension [-Wgnu-designator] version: "1.0", ^~~~~~~~ .version = volume.c:314:5: warning: use of GNU old-style field designator extension [-Wgnu-designator] description : "Display and control volume", ^~~~~~~~~~~~~ .description = volume.c:316:5: warning: use of GNU old-style field designator extension [-Wgnu-designator] constructor : volume_constructor, ^~~~~~~~~~~~~ .constructor = volume.c:317:5: warning: use of GNU old-style field designator extension [-Wgnu-designator] destructor : volume_destructor, ^~~~~~~~~~~~~ .destructor = volume.c:318:5: warning: use of GNU old-style field designator extension [-Wgnu-designator] config : NULL, ^~~~~~~~ .config = volume.c:319:5: warning: use of GNU old-style field designator extension [-Wgnu-designator] save : NULL ^~~~~~ .save = 10 warnings and 6 errors generated. gmake[4]: *** [volume_la-volume.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/x11/lxpanel/work/lxpanel-0.5.12/ src/plugins/volume' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/x11/lxpanel/work/lxpanel-0.5.12/ src/plugins' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/x11/lxpanel/work/lxpanel-0.5.12/ src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11/lxpanel/work/lxpanel-0.5.12' gmake: *** [all] Error 2 *** Error code 1 Stop. make: stopped in /usr/ports/x11/lxpanel *** Error code 1 Stop. make: stopped in /usr/ports/x11/lxpanel ------------------------------------------ Is there anything I can do?