Re: Bizarre output.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >     (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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux