Subject: Re: Compiler warning levels and sccsid/rcsid
To: Thorsten Lockert <tholo@sigmasoft.com>
From: matthew green <mrg@mame.mu.Oz.Au>
List: current-users
Date: 07/24/1995 10:21:47
> 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.
but in our case, we're getting the csrg id strings, not the netbsd
ones, so, we're not gaining anything except larger binaries/libraries.
.mrg.