hamei wrote:
Anyway, now we get
Code:
cc-3700 CC: WARNING File = ../ri/atomic.h, Line = 144
#warning directive: Atomic Instructions are not supported on this platform,
defaulting to generic implementation
#warning Atomic Instructions are not supported on this platform, defaulting to generic implementation
^
cc-3168 CC: ERROR File = ../ri/atomic.h, Line = 149
A name followed by "::" must be a class or namespace name.
osLock(CRenderer::atomicMutex);
^
If you have any ideas I'll be happy to plug them in. Even if this isn't something I want, seems like someone might be happy to have it.
This is where "porting" comes into play (read : rather than #ifdefing and #including

). I didn't have a look at the sources, but I guess atomic.h contains some OS specific code (osLock, osUnlock, ...) that have to be implemented for Irix. If you're lucky, maybe you can reuse another OS implementation. If you're not, you may have to write some Irix specific code, and/or use compiler intrinsics for atomic operations.
Edit : attached a patch to make pixie 2.2.6 build, but I don't have any knowledge about it to test the result...