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

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

 



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

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux