Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build failure in nvi



On Sat, 6 Dec 2008, Paul Goyette wrote:

Sources were just updated... Got the following on both port-amd64 and port-i386

cc1: warnings being treated as errors
/build/netbsd-local/src/dist/nvi/common/conv.c: In function 'default_int2char': /build/netbsd-local/src/dist/nvi/common/conv.c:273: warning: dereferencing type-punned pointer will break strict-aliasing rules /build/netbsd-local/src/dist/nvi/common/conv.c:287: warning: dereferencing type-punned pointer will break strict-aliasing rules

On i386 I get:

#   compile  build/vs_line.o
/usr/src/obj.i386/tooldir.NetBSD-5.99.4-i386/bin/i386--netbsdelf-gcc -Os  -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare 
-Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual 
-Wwrite-strings -Wextra -Wno-unused-parameter -std=gnu99  -Werror   
-I/usr/src/dist/nvi/include -I/usr/src/usr.bin/nvi/build -I. -DGTAGS 
-I/usr/src/dist/nvi/regex -D__REGEX_PRIVATE -DUSE_WIDECHAR -nostdinc -isystem 
/usr/src/obj.i386/destdir.i386/usr/include -DRESCUEDIR=\"/rescue\"   -c    
/usr/src/dist/nvi/vi/vs_line.c
cc1: warnings being treated as errors
/usr/src/dist/nvi/vi/vs_line.c: In function 'vs_line':
/usr/src/dist/nvi/vi/vs_line.c:48: warning: 'chlen' may be used uninitialized 
in this function

*** Failed target:  vs_line.o
*** Failed command: /usr/src/obj.i386/tooldir.NetBSD-5.99.4-i386/bin/i386--netbsdelf-gcc 
-Os -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare 
-Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual 
-Wwrite-strings -Wextra -Wno-unused-parameter -std=gnu99 -Werror 
-I/usr/src/dist/nvi/include -I/usr/src/usr.bin/nvi/build -I. -DGTAGS 
-I/usr/src/dist/nvi/regex -D__REGEX_PRIVATE -DUSE_WIDECHAR -nostdinc -isystem 
/usr/src/obj.i386/destdir.i386/usr/include -DRESCUEDIR=\"/rescue\" -c 
/usr/src/dist/nvi/vi/vs_line.c
*** Error code 1

--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte


Home | Main Index | Thread Index | Old Index