[pacman-dev] [PATCH v5 2/2] Align titles automatically in information display

Allan McRae allan at archlinux.org
Tue Oct 27 03:58:58 UTC 2015


On 21/10/15 19:11, Pierre Neidhardt wrote:
> Signed-off-by: Pierre Neidhardt <ambrevar at gmail.com>
> ---
>  src/pacman/package.c | 173 +++++++++++++++++++++++++++++++++++++++++----------
>  1 file changed, 141 insertions(+), 32 deletions(-)
> 

Please test with the --enable-warningflags configure option:


package.c:89:13: error: function declaration isn’t a prototype
[-Werror=strict-prototypes]
 static void make_aligned_titles()
             ^
package.c: In function ‘make_aligned_titles’:
package.c:127:15: error: comparison between signed and unsigned integer
expressions [-Werror=sign-compare]
  for(i = 0; i < ARRAYSIZE(wbuf); i++) {
               ^
package.c:134:15: error: comparison between signed and unsigned integer
expressions [-Werror=sign-compare]
  for(i = 0; i < ARRAYSIZE(wbuf); i++) {
               ^
cc1: all warnings being treated as errors


More information about the pacman-dev mailing list