In that file, we want to extract a uint32 value (for example) from a void*. We do some voodoo casting on non-arm/sparc platforms, and gcc complains (which is correct... for some platforms). While I disagree about the complains (for some platforms), the only completely correct, std-compliant, non-warning solution is to use the arm/sparc variant for all platforms.
However, I'm betting you're using gcc 4.4 or something older like that. Am I right? Not only will g++-4.4 complain about stuff like this, it can break the compiled binary. But, using g++-4.6 won't complain or break the code.
Funny how that works.
So, first question, what gcc version are you using?