Bizarre output.

corey taylor corey.taylor@gmail.com
Wed Mar 30 00:18:00 GMT 2005


> >     (void)b;
> 
> If never seen this kind of cast before ... Is this statndard c/c++ or is
> it an gcc extension ? What is the effect of it ?

My apologies for the extra paramter.  This function is part of a
library I help maintain, and we don't break old revisions much so it
was just left in apparantly.

(void)b; 

This removes the unused parameter warning by using the parameter by
voiding the effect.

corey



More information about the Gcc-help mailing list