This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Java warning patches part 2/2
- To: ghazi at caip dot rutgers dot edu
- Subject: Re: Java warning patches part 2/2
- From: Mark Mitchell <mark at markmitchell dot com>
- Date: Sat, 6 Mar 1999 08:50:23 -0800
- CC: bothner at cygnus dot com, egcs-patches at cygnus dot com
- References: <199903061642.LAA06638@caip.rutgers.edu>
- Reply-to: mark at markmitchell dot com
>>>>> "Kaveh" == Kaveh R Ghazi <ghazi@caip.rutgers.edu> writes:
>> From: Per Bothner <bothner@cygnus.com>
>>
>> + uint16 minor_version ATTRIBUTE_UNUSED = JCF_readu2 (jcf); +
>> uint16 major_version ATTRIBUTE_UNUSED = JCF_readu2 (jcf);
>>
>> I think I prefer this style:
>>
>> (void) JCF_readu2 (jcf); /* minor_version */ (void) JCF_readu2
>> (jcf); /* major_version */
I like this style, too. But, it's directly against the GNU Coding
Standards:
Please don't insert any casts to `void'.
--
Mark Mitchell mark@markmitchell.com
Mark Mitchell Consulting http://www.markmitchell.com