On Nov 25, 2009, at 2:11 AM, IOhannes m zmoelnig wrote:
Hans-Christoph Steiner wrote:
All I am saying is that this is a technique used for a bunch of code. I think that newer versions of gcc do stricter testing, that's why its relevant.
all i'm saying is that one should not test for one thing in order to get properties of another thing.
your argument is, that the compiler has changed and now refuses (or: refused then) to compile. if this was for good reason, then the code should be fixed (in our case: to use the correct types). if it was for no good reasons, one could try to circumvent the compiler (by taking hand-tailored measures)
anyhow, the problem is not the compiler. it is the header files. thus the problem should not fixed for the compiler but for the headers.
i guess any compiler since OSX-10.2 would probably bail out at the very same spot (and for good reasons).
could you try whether it works.
Looks like Gem built on 10.4 and 10.5, but I have a problem now on 10.4, so its my turn.
.hc
----------------------------------------------------------------------------
Terrorism is not an enemy. It cannot be defeated. It's a tactic. It's about as sensible to say we declare war on night attacks and expect we're going to win that war. We're not going to win the war on terrorism. - retired U.S. Army general, William Odom