Hi, As part of the SWAR implementation I could really use a "portable" uint64 typedef. So far as I can tell, the best thing to do in this case would be to *only* define uint64 as a type if the compiler can do logic operations (and, or, and shifts), math (add sub mul div) on a 64-bit type. It's OK if the compiler emulates this behavior, but if it doesn't the system is not considered to have a uint64, so we would not define it. Thus all code that uses it must sheild to only compile when the system supports it.
So would the best course of action be to put a #define (or #undef) GG_HAVE_UINT64 in system.h, along with a conditional typedef of uint64? Am I thinking straight? Comments? -- Brian
