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:
http://bugzilla.gnome.org/enter_bug.cgi?product=glib
otherwise patches sent to a mailing list usually get lost.
ciao,
Emmanuele.
--
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]