Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!think.com!huxley!glenn From: glenn@bitstream.com (Glenn P. Parker) Newsgroups: comp.lang.c++ Subject: Re: C++ and RCSid Message-ID: Date: 28 Jun 91 17:32:42 GMT References: <1991Jun27.173201.22178@colorado.edu> Sender: glenn@huxley.UUCP Reply-To: (Glenn Parker) Organization: Bitstream, Inc. - Cambridge, MA Lines: 19 In-reply-to: devin@boulder.Colorado.EDU's message of 27 Jun 91 17:32:01 GMT In article <1991Jun27.173201.22178@colorado.edu> devin@boulder.Colorado.EDU (Yampalimardilor) writes: > 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? Yes. static const char RCSid[] = "$Header$"; -- Glenn P. Parker glenn@bitstream.com Bitstream, Inc. uunet!huxley!glenn 215 First Street BIX: parker Cambridge, MA 02142-1270