Article View: gnu.gcc.help
Article #46676help with rcsid
From: Stefan 'Stetson' Skoglund
Date: Tue, 25 Oct 1994 08:54
Date: Tue, 25 Oct 1994 08:54
26 lines
1739 bytes
1739 bytes
I tell gcc to check for unused variables.
The problem is this :
in every *.c file I have a line like this
static const char* rcsid = "@(#) $Id$";
but gcc will warn for this.
Is it possible to tell gcc to not warn about unused variables in this case ?
Ie I wonder if I can tell gcc to not worry about symbols with
a certain name ??
gcc is 2.6.0 and OS SunOS 4.1.3 .
--
---------------------------------------------------------------------
Stefan 'Stetson' Skoglund I |
sp2stes1@ida.his.se I |
http://www.his.se/ida/~sp2stes1/ I _____/0\_____
I ____________O(.)O___________
Hvgskolan i Skvvde, Sverige I I-+-I O I-+-I
I
I Viggen with two Rb04
---------------------------------------------------------------------
Technical Details
Message-ID:
<SP2STES1.94Oct25095435@hugin.his.se>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!sol.ctr.columbia.edu!news.kei.com!news.mathworks.com!europa.eng.gtefsd.com!howland.reston.ans.net!EU.net!sunic!news.chalmers.se!his!sp2stes1Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,c0e055acaf6f7131,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-10-25 02:34:42 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!sol.ctr.columbia.edu!news.kei.com!news.mathworks.com!europa.eng.gtefsd.com!howland.reston.ans.net!EU.net!sunic!news.chalmers.se!his!sp2stes1 From: sp2stes1@ida.his.se (Stefan 'Stetson' Skoglund) Newsgroups: gnu.gcc.help Subject: help with rcsid Message-ID: <SP2STES1.94Oct25095435@hugin.his.se> Date: 25 Oct 94 08:54:35 GMT Sender: news@his.UUCP Reply-To: Stefan 'Stetson' Skoglund <sp2stes1@ida.his.se> Followup-To: gnu.gcc.help Organization: University of Skoevde, Skoevde Sweden Lines: 26 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1