Subject: Re: Compiler warning levels and sccsid/rcsid
To: John Birrell <cimaxp1!jb@cimlogic.com.au>
From: Thorsten Lockert <tholo@sigmasoft.com>
List: current-users
Date: 07/23/1995 12:56:48
> I just did a sup and thought I'd try -Wall when compiling. A lot of the
> NetBSD code has things like...
> 
> #ifndef lint
> static char sccsid[] = "@(#)insch.c 8.2 (Berkeley) 5/4/94";
> #endif  /* not lint */
> 
> With -Wall this causes a warning...
> 
> warning: `sccsid' defined but not used
> 
> My question is... do we need to produce binaries with these strings?

No, we do not _need_ to.  They are often nice to have as part of executables
though, that way you can see exactly what codebase was used to generate the
executable.

Thorsten
--
Thorsten Lockert        | postmaster@sigmasoft.com | Universe, n.:
1262 Golden Gate Avenue | hostmaster@sigmasoft.com |         The problem.
San Francisco, CA 94115 | tholo@sigmasoft.com      |