[argyllcms] Re: X error under AMD64 arch
- From: Mickael Profeta <profeta@xxxxxxxxxx>
- To: argyllcms@xxxxxxxxxxxxx
- Date: Tue, 15 Aug 2006 00:17:04 +0200
>
> XChangeProperty needs format to be set to the size of the elements
> transferred in data, and this can b 8, 16 or 32. rootwindow is type XID,
> which should be unsigned long in the X11/X.h (although I haven't
> checked.)
Yes, this is right, XID is unsigned long
> XChangeProperty doesn't allow for a 64 bit long, and for
> best compatibility I thought most 64 bit compiler are now
> set so that long is 32 bit, and only long long is 64 bit.
I fear this is not true. I have found everywhere that for 64 bits,
pointers and long are 64 bits, and I did not find an option to force
long to be 32 bits in gcc. (-m32 is not an answer as it will compile a
32bit code)
> It seems that your compiler isn't configured in this way,
> and that makes it incompatible with X11 XChangeProperty ?
We can say that, except I am quite surprise of your "default" compiler
bahaviour, are you sure of that? With gcc?
>
Mike
- Follow-Ups:
- [argyllcms] Re: X error under AMD64 arch
- From: Graeme Gill
- References:
- [argyllcms] X error under AMD64 arch
- From: Mickael Profeta
- [argyllcms] Re: X error under AMD64 arch
- From: Graeme Gill
- [argyllcms] Re: X error under AMD64 arch
- From: Mickael Profeta
- [argyllcms] Re: X error under AMD64 arch
- From: Mickael Profeta
- [argyllcms] Re: X error under AMD64 arch
- From: Graeme Gill
Other related posts:
- » [argyllcms] X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- » [argyllcms] Re: X error under AMD64 arch
- [argyllcms] Re: X error under AMD64 arch
- From: Graeme Gill
- [argyllcms] X error under AMD64 arch
- From: Mickael Profeta
- [argyllcms] Re: X error under AMD64 arch
- From: Graeme Gill
- [argyllcms] Re: X error under AMD64 arch
- From: Mickael Profeta
- [argyllcms] Re: X error under AMD64 arch
- From: Mickael Profeta
- [argyllcms] Re: X error under AMD64 arch
- From: Graeme Gill