Ian Romanick wrote:
Keith Whitwell wrote:

Ian Romanick wrote:

There also seem to be some issues with drivers using CARD32. That type comes from X, so it should probably be replaced with something window-system agnostic. Would int32_t work for everyone?


I think this is the best we can do, though at least some versions of FreeBSD had trouble with these types. If need be we can add a conditional definition of this type in a header somewhere.


The BSDs had trouble with the 64-bit types in inttypes.h. For the most part, the sized integer types in inttypes.h grew out of existing types in BSD. :) int32_t and u_int32_t are old skool in BSD. ;) In C99 u_int32_t became uint32_t. I encountered a similar problem with CARD8. I don't recall if there's an analog for int8_t in older BSDs. Later today (hopefully) I'll convert at least the R200 driver to use only the inttypes.h types. I'll wait a few days to see if that breaks any of the BSDs before moving forward.

Another question. dri_util.[ch] will need to be moved from DRI CVS to Mesa CVS. Is it possible to copy the ,v files from one project to another?

Should be fine.


Keith



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to