Re: [PATCH] gatomic.h: added missing "volatile" modifier to internal casts
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-list gnome org
- Subject: Re: [PATCH] gatomic.h: added missing "volatile" modifier to internal casts
- Date: Thu, 15 Apr 2010 10:51:09 +0100
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.
] [Thread Prev