Newsgroups: comp.lang.c++
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!boulder!boulder.Colorado.EDU!devin
From: devin@boulder.Colorado.EDU (Yampalimardilor)
Subject: C++ and RCSid
Message-ID: <1991Jun27.173201.22178@colorado.edu>
Keywords: getting c++ to shut up about it
Sender: news@colorado.edu (The Daily Planet)
Nntp-Posting-Host: kurgan.colorado.edu
Reply-To: devin@boulder.Colorado.EDU
Organization: University of Colorado, Boulder
Date: Thu, 27 Jun 1991 17:32:01 GMT
Lines: 20

We're using AT&T C++ 2.0 and RCS, and placing a line in the .C files
similar to

static char *RCSid = "$Header$";

to allow the use of ident to identify which .C files are used in an
executable.  The compiler complains:

"filename.C", line 1: warning:  ::RCSid defined but not used

This is pretty harmless, but I'd like to get it to shut up if possible.
Is it possible?  Advthanksance.

		-Devin

-- 
Devin Hooker     (RP90)     DoD #0034
"It's being both that's a bitch."
"Performing on a stool we've a sight to make you drool
	Seven virgins and a mule.  Keep it cool.  Keep it cool." -ELP
