FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 03-28-2011, 01:57 AM
Allan McRae
 
Default heads-up - master branch compile failure with gcc-4.6

On 28/03/11 11:43, Dan McGee wrote:

On Sat, Mar 26, 2011 at 5:03 PM, Allan McRae<allan@archlinux.org> wrote:

On 26/03/11 12:52, Allan McRae wrote:


Just a heads-up that the upcoming gcc-4.6 release will cause a build
failure when building with --enable-debug (which sets -Werror...)

be_package.c: In function 'pkg_load':
be_package.c:257:7: error: variable 'ret' set but not used
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors


Clearly something on the TODO list anyway!

/* TODO: do something with ret value */
ret = _alpm_load_signature(pgpfile,&(newpkg->pgpsig));



Similar thing in db.c. You can grab a "fix" from my working branch until
this gets properly dealt with.


I don't think you ever pushed this fix anywhere.



Oops... have done now. And when you see it you will realise that it
clearly is not a real fix! :P


Allan
 

Thread Tools




All times are GMT. The time now is 10:30 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org