[GEM-dev] syntax error in gemFuncUtil.cpp?

ben at ekran.org ben at ekran.org
Sat Apr 10 02:09:06 CEST 2004


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








More information about the GEM-dev mailing list