[pacman-dev] heads-up - master branch compile failure with gcc-4.6
allan at archlinux.org
Sat Mar 26 18:03:05 EDT 2011
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
> 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.
More information about the pacman-dev