🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #113

gcc warnings question

#113
From: Eric Baldeschwieler
Date: Mon, 13 Apr 1992 10:21
12 lines
949 bytes
Hi, would like to use gcc's -Wall flag, but can not because the code I
am using includes lots of machine generated header files which contain
static variable declarations.  This floods me with useless warnings.
Is there some way of flaging these variables so that I don't get the
warnings?  With other compilers one can say:

	#pragma unused(variableName)

Does gcc have such a feature?

Thanks 
Technical Details
Message-ID: <1992Apr13.102107.29127@pasteur.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!pasteur!postgres!eric14
References: <jeremy.703155879@chao>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!pasteur!postgres!eric14
From: eric14@postgres.uucp (Eric Baldeschwieler)
Subject: gcc warnings question
Message-ID: <1992Apr13.102107.29127@pasteur.Berkeley.EDU>
Keywords: gcc startup main c
Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster)
Nntp-Posting-Host: postgres.berkeley.edu
Reply-To: eric14@postgres.UUCP (Eric Baldeschwieler)
Organization: Postgres Research Group, UC Berkeley
References: <jeremy.703155879@chao>
Date: Mon, 13 Apr 1992 10:21:07 GMT
Lines: 12