Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!alberta!cpsc.ucalgary.ca!datapsan!dataspan!richard From: richard@dataspan.dataspan.UUCP (Richard "Tiger" Melville) Newsgroups: comp.lang.c++ Subject: Re: Can I turn off specific "not used" warnings in cfront? Message-ID: Date: 19 Nov 90 19:53:40 GMT References: <11704@spool.cs.wisc.edu> <1084@ntpal.UUCP> Sender: richard@datapsan.UUCP Organization: DataSpan Technology Inc., Calgary, Alberta, Canada Lines: 33 In-reply-to: herrage@ntpal.UUCP's message of 13 Nov 90 14:01:45 GMT In article <1084@ntpal.UUCP> herrage@ntpal.UUCP (Robert Herrage) writes: > Yes! You can eliminate the "not used" warnings! Below is a simple > example: > void funcname( > int x; > int y; > int z ) > { > x,y; // this will eliminate the "not used" warnings > > printf( "%d", z ); > } I do this: void funcname(int, int, int z) { printf( "%d", z ); } -- _Q Q_ Richard Melville DataSpan Technology Inc. __ /_\) /| 237-9313 400-540 5th ave SW _\___/O____O|/O____/ \_ Calgary Alberta Canada, T2P 0M2 _/ \_