Subject: memset prototype (was: -current daily build failure on alpha)
To: Tim Rightnour <root@garbled.net>
From: Simon Burge <simonb@netbsd.org>
List: current-users
Date: 03/23/2000 08:48:48
Tim Rightnour wrote:
> Sources supped last night.
>
> /build/tools/usr/bin/cc -B/build/tools/usr/libexec/ -O2 -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror -nostdinc
> -idirafter /build/root/usr/include -c
> /build/src/usr.bin/locate/bigram/locate.bigram.c
> cc1: warnings being treated as errors
> /build/src/usr.bin/locate/bigram/locate.bigram.c: In function `main':
> /build/src/usr.bin/locate/bigram/locate.bigram.c:119: warning: type mismatch in
> implicit declaration for built-in function `memset'
> *** Error code 1
Fixed in rev 1.8 for locate.bigram.c.
Is there some way we can trap memset() not being prototyped in a header
file? This happens _so_ often...
Simon.