The solution is very simple: we need a APPLE_LEOPARD #define through CMake. I haven't had the time to look at James's CMake version macros to determine how to make the following very simple test (which is the only stable way to test for Leopard...):
uname -r on Leopard returns a major version of 9 while Tiger is 8. Checking for major version >= 9 and defining APPLE_LEOPARD will allow us to check for Leopard regardless of compiler predefined macros. The code James wrote for version stuff is in CMake/ Macros.cmake but again, that's all I know and I haven't looked into this (yes it would only take maybe 20 minutes or so to do).
Solomon
PS - My laptop has neither leopard nor 64-bits support nor ICC ;)
On Jan 4, 2008, at 10:28 PM, Ingo Wald wrote:
hi all,
some time ago I reported some compile problems with manta under leopard, some sigaction whatever problem.
back then somebody (abe ? solomon?) said there was a soluion, but it wasn't checked in yet. however, after I finally have some time for coding again I just updated the codebase, but still run into the same error.
could anybody please commit the fix for that ? i know you all use leopard and 64-bit macbooks, and at least a few will probably use the intel compiler ... so there _must_ be a solution, I guess....
Cheers,
Ingo
Archive powered by MHonArc 2.6.16.