Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2013 11:53:36 +0100 (CET)
From:      Tijl Coosemans <tijl@coosemans.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/175320: ports-mgmt/pkg: array bounds compile error with gcc 4.7
Message-ID:  <201301151053.r0FArasC004009@kalimero.tijl.coosemans.org>
Resent-Message-ID: <201301151100.r0FB01Z9080878@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175320
>Category:       ports
>Synopsis:       ports-mgmt/pkg: array bounds compile error with gcc 4.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 15 11:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Tijl Coosemans
>Release:        FreeBSD 10.0-CURRENT i386
>Organization:
>Environment:
>Description:
Building ports-mgmt/pkg with gcc 4.7 gives the following error:

gcc47 -O2 -pipe -march=pentium4m -Wl,-rpath=/usr/local/lib/gcc47
-fno-strict-aliasing -march=pentium4m
-I/usr/obj/usr/ports/ports-mgmt/pkg/work/pkg-1.0.4/pkg/../libpkg
-std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
-Wold-style-definition -Wno-pointer-sign -c progressmeter.c
progressmeter.c: In function 'refresh_progress_meter':
progressmeter.c:186:47: error: array subscript is below array
bounds [-Werror=array-bounds]
cc1: all warnings being treated as errors
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301151053.r0FArasC004009>