Current-Users archive

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

Build breakage - port amd64 - zdump.c



#   compile  zdump/zdump.o
/test-bed/tools/bin/x86_64--netbsd-gcc -O2  -std=gnu99  -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 -Wno-sign-compare 
-Wsign-compare -Wformat=2  -Werror    --sysroot=/test-bed/dst  -c 
-Wno-format-nonliteral   /test-bed/src/lib/libc/time/zdump.c
cc1: warnings being treated as errors
/test-bed/src/lib/libc/time/zdump.c: In function 'main':
/test-bed/src/lib/libc/time/zdump.c:305:4: error: passing argument 1 of 'usage' 
from incompatible pointer type
/test-bed/src/lib/libc/time/zdump.c:248:1: note: expected 'struct FILE *' but 
argument is of type 'char *'
/test-bed/src/lib/libc/time/zdump.c:305:4: error: passing argument 2 of 'usage' 
makes integer from pointer without a cast
/test-bed/src/lib/libc/time/zdump.c:248:1: note: expected 'int' but argument is 
of type 'struct FILE *'
/test-bed/src/lib/libc/time/zdump.c:305:4: error: too many arguments to 
function 'usage'
/test-bed/src/lib/libc/time/zdump.c:248:1: note: declared here

*** Failed target:  zdump.o

-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index