[gnu.gcc] Temporarily disabling warnings

jch@batcomputer.tn.cornell.edu (Jeffrey C Honig) (06/11/89)

Is there any way to temporarily disable warnings for certain sections of
code? I compile with -Wunused, which causes gcc to complain about my
global rcsid varaiable.  With the HiC compiler for the PC/RT I can
specify:

#ifdef	_HIGHC_
pragma	Off(Warn)
#endif	_HIGHC_
static char *rcsid = "$Header: /usr/chumley/jch/src/gated/src/RCS/ext.c,v 1.9 89/01/30 19:54:10 jch Exp Locker: jch $";
#ifdef	_HIGHC_
pragma	Pop(Warn)
#endif	_HIGHC_

Thanks.

Jeff