Hey all,
Did a cvs update today and I can't compile Gem on OSX I'm getting a syntax error on line 331 of GemFuncUtil.cpp:
#ifdef __APPLE__ //Ian Ollman's function to determine the cache prefetch for altivec vec_dst() inline UInt32 GetPrefetchConstant( int blockSizeInVectors, int blockCount, int blockStride ) { return ((blockSizeInVectors << 24) & 0x1F000000) | ((blockCount << 16) & 0x00FF0000) | (blockStride & 0xFFFF); } #endif
I'm not familar with the inline keyword, so I have no idea whats going on here.
Thanks Ben
I fixed this but just committed it: you need to add #include <Carbon/carbon.h> to the top, because UInt32 is defined there...
yup, jamie
On Apr 9, 2004, at 8:09 PM, ben@ekran.org wrote:
Hey all,
Did a cvs update today and I can't compile Gem on OSX I'm getting a syntax error on line 331 of GemFuncUtil.cpp:
#ifdef __APPLE__ //Ian Ollman's function to determine the cache prefetch for altivec vec_dst() inline UInt32 GetPrefetchConstant( int blockSizeInVectors, int blockCount, int blockStride )