Re: IBM xlc support for hw/darwin/*
Will Newton <[email protected]> Tue, 4 May 2004 19:31:53 +0100
| Newsgroups | gmane.comp.freedesktop.xserver |
|---|---|
| Message-ID | <[email protected]> |
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. :)