Current-Users archive

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

Re: Build breakage - port amd64 - zdump.c

In article <>,
Paul Goyette  <> wrote:
>#   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  
>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

Fixed, thanks.


Home | Main Index | Thread Index | Old Index