On Thu, Nov 25, 2010 at 18:54:55 +0100, Cyril Brulebois wrote:

> In libX11's c8701115, atom names argument to XInternAtoms were marked as
> const.
> 
> This fixes the build with CFLAGS="-Wall -Werror":
> |   CC     Selection.lo
> | cc1: warnings being treated as errors
> | Selection.c: In function ‘GetPropList’:
> | Selection.c:191: error: passing argument 2 of ‘XInternAtoms’ from 
> incompatible pointer type
> | /home/kibi/xorg-build/include/X11/Xlib.h:1549: note: expected ‘const char 
> **’ but argument is of type ‘char **’
> 
> Signed-off-by: Cyril Brulebois <[email protected]>
> ---
>  src/Selection.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
Does this introduce a warning with old libX11?

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to