IBM xlc support for hw/darwin/*
Will Newton
will at misconception.org.uk
Tue May 4 11:31:53 PDT 2004
On Monday 03 May 2004 18:03, Tukaram wrote:
> #define CMAP_PRIV(pCmap) \
> ((CGDirectPaletteRef)
> (pCmap)->devPrivates[darwinCmapPrivateIndex].ptr)
>
> I don't see wrong code. So I think the error is at a deeper place. But
> I don't know where this devPrivates[].ptr is being built.
I don't know xlc, but recent versions of gcc do not like casts as lvalues. Try
taking out the cast to CGDirectPaletteRef from the macro and see if that
helps. I have no idea if the resulting code will be correct though. :)
More information about the xserver
mailing list