Re: [PATCH] gatomic.h: added missing "volatile" modifier to internal casts

On Thu, 2010-04-15 at 11:06 +0200, Max Kellermann wrote:
> These macros expect pointers decorated with the "volatile" modifier,
> but internally, they cast them to "void*", dropping the "volatile"
> modifier.  gcc4.4 doesn't like that, and emits a warning:
>  "cast discards qualifiers from pointer target type"

you should open a bug and attach your patch to that bug:

otherwise patches sent to a mailing list usually get lost.



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