This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC warnings for unused global variables
- From: Philipp Thomas <pthomas at suse dot de>
- To: Alexander Kabaev <ak03 at gte dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 30 Apr 2003 10:37:13 +0200
- Subject: Re: GCC warnings for unused global variables
- Organization: SuSE Linux AG
- References: <20030429165657.634a1628.ak03@gte.com>
- Reply-to: gcc at gcc dot gnu dot org
* Alexander Kabaev (ak03@gte.com) [20030429 22:57]:
> #ifndef lint
> static const char rcsid[] =
> "$Id: src/dir/file.c 1.12 1999/08/27 23:45:12 me Exp$";
> #endif /* not lint */
Why not just use __attribute__((__unused__))?
Philipp
--
Philipp Thomas <pthomas@suse.de>
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nuremberg, Germany