[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-ia64
Subject:    Re: [head tinderbox] failure on ia64/ia64
From:       Sergey Kandaurov <pluknet () gmail ! com>
Date:       2013-06-28 15:13:34
Message-ID: CAE-mSOLoDPbZduBDgAk7j7GhCKmJoBGNGmxfeqiOddF2jk1Esg () mail ! gmail ! com
[Download RAW message or body]

On 28 June 2013 18:22, FreeBSD Tinderbox <tinderbox@freebsd.org> wrote:
> [...]
> (cd /src/rescue/rescue/../../sbin/swapon &&  /obj/src/make.amd64/make -DRESCUE \
> CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/swapon/ depend && \
> /obj/src/make.amd64/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE \
> DIRPRFX=rescue/rescue/swapon/ swapon.o) rm -f .depend
> CC='cc ' mkdep -f .depend -a    -DRESCUE -std=gnu99   /src/sbin/swapon/swapon.c
> echo swapon: /obj/ia64.ia64/src/tmp/usr/lib/libc.a \
> /obj/ia64.ia64/src/tmp/usr/lib/libutil.a >> .depend cc  -O2 -pipe  -DRESCUE \
> -std=gnu99 -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 /src/sbin/swapon/swapon.c
> cc1: warnings being treated as errors
> /src/sbin/swapon/swapon.c: In function 'swap_on_off_geli':
> /src/sbin/swapon/swapon.c:394: warning: cast discards qualifiers from pointer \
>                 target type
> *** Error code 1

To my belief, it's wrong to use a const variable for strdup/free.

-- 
wbr,
pluknet
_______________________________________________
freebsd-ia64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ia64
To unsubscribe, send any mail to "freebsd-ia64-unsubscribe@freebsd.org"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic