Port-alpha archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Build problem in usr.bin/crunch/crunchide
Hi,
I tried to do a native build of -current today on an alpha
system, and it failed:
compile crunchide/exec_ecoff.o
cc1: warnings being treated as errors
/usr/src/usr.bin/crunch/crunchide/exec_ecoff.c: In function 'check_ecoff':
/usr/src/usr.bin/crunch/crunchide/exec_ecoff.c:67: warning: comparison between
signed and unsigned
--- exec_ecoff.o ---
*** [exec_ecoff.o] Error code 1
I "fixed" this by adjusting the warning level in the Makefile
(see below). But I'm sure someone can come up with a better fix.
-jarle
Index: usr.bin/crunch/crunchide/Makefile
===================================================================
RCS file: /cvsroot/src/usr.bin/crunch/crunchide/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- usr.bin/crunch/crunchide/Makefile 8 Apr 2007 09:36:34 -0000 1.16
+++ usr.bin/crunch/crunchide/Makefile 17 Apr 2009 17:00:11 -0000
@@ -5,6 +5,7 @@
PROG= crunchide
SRCS= crunchide.c exec_aout.c exec_coff.c exec_ecoff.c exec_elf32.c \
exec_elf64.c
+WARNS?= 2
.if ${MACHINE_ARCH} == "alpha"
CPPFLAGS+=-DNLIST_ELF64 -DNLIST_ECOFF
Home |
Main Index |
Thread Index |
Old Index