[pacman-dev] heads-up - master branch compile failure with gcc-4.6

Allan McRae allan at archlinux.org
Fri Mar 25 22:52:58 EDT 2011


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));

Allan


More information about the pacman-dev mailing list