Current-Users archive

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

Re: ' release' broken for evbarm-eb and -el

>> ./arm/lock.h:78:1: error: type qualifiers ignored on function return type

>> It would seem that [...] we are unable to have the inline function
>> return a volatile value?

Well, the warning is not entirely unreasonable; what does volatile (or
other qualifier) even _mean_ for a non-lvalue?

Because of the way the return value is specified with a typedef, and
why that typedef specifies volatile, I think simply suppressing the
warning actually is a right answer in this case.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML      
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index