Subject: Re: Compiler warning levels and sccsid/rcsid
To: None <current-users@NetBSD.ORG>
From: Sakari Jalovaara <>
List: current-users
Date: 07/26/1995 23:23:36
>>char rcsid[] __attribute__ ((unused)) = "...";

Rather than taint all code with non-portable constructs
how about a script, say, "checkcc" with something like

	cc -warnings -more-warnings $* 2>&1 | \
	    egrep -v ": warning: `(rcsid|sccsid)' declared but not used$" |
	    grep -v ": warning: any other annoying warnings here$'

then simply "make CC=checkcc all".