Hi Brian, > gl.xml doesn't seem relevant to this. In GL/glext.h we have: I thought that somewere at khronos the headers are generated from the xml. And the new headers are usually imported then together with the matching xml into mesa?
> typedef khronos_ssize_t GLsizeiptr; > [...] > typedef ptrdiff_t GLsizeiptrARB; > > and in KHR/khrplatform.h: > > typedef unsigned long int khronos_uintptr_t; > > and in stdef.h: > > typedef __PTRDIFF_TYPE__ ptrdiff_t; > > And it looks like __PTRDIFF_TYPE__ is a compiler built-in. > > So, gcc is warning that __PTRDIFF_TYPE__ is not the same as unsigned > long int. Seems reasonable. Uh, ok. Thanks for the explanation! Ok, yes I see now that khronos' version of the xml file changed the data type already to khronos_uintptr_t. So, xml and headers are obviously not always imported at the same time ... Anyhow, thanks! best Mathias _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev