From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Newsgroups: comp.os.msdos.djgpp Subject: Re: Warning control. Is there more convenient way? Date: 11 Oct 1997 21:43:58 GMT Organization: The National Capital FreeNet Lines: 21 Message-ID: <61oruu$6f8@freenet-news.carleton.ca> References: Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) NNTP-Posting-Host: freenet3.carleton.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk If you explicitly don't want to use the parameter foo in void bar (int baz, int foo) { } Include the line at the start: (void)foo; This does nothing, generates no runtime code, but tells the compiler you deliberately included foo to conform to some signature but are not using it in bar(). -- .*. Where feelings are concerned, answers are rarely simple [GeneDeWeese] -() < When I go to the theater, I always go straight to the "bag and mix" `*' bulk candy section...because variety is the spice of life... [me] Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh