Re: [CMake] Ensuring not building for 64-bit

2009-08-17 Thread Michael Jackson
On Aug 17, 2009, at 2:16 PM, Michael Wild wrote: On 17. Aug, 2009, at 18:40, Michael Jackson wrote: On Aug 17, 2009, at 12:30 PM, ML wrote: Hi Mike, The double __LP64__ is making sure it (__LP64__) is both DEFINED and TRUE. # if defined ((__APPLE__)) && defined(__LP64__) && __LP64__

Re: [CMake] Ensuring not building for 64-bit

2009-08-17 Thread Michael Wild
On 17. Aug, 2009, at 18:40, Michael Jackson wrote: On Aug 17, 2009, at 12:30 PM, ML wrote: Hi Mike, The double __LP64__ is making sure it (__LP64__) is both DEFINED and TRUE. # if defined ((__APPLE__)) && defined(__LP64__) && __LP64__ typedef CIconHandle OSColorIcon; // Mac CIcon #els

Re: [CMake] Ensuring not building for 64-bit

2009-08-17 Thread Michael Jackson
On Aug 17, 2009, at 12:30 PM, ML wrote: Hi Mike, The double __LP64__ is making sure it (__LP64__) is both DEFINED and TRUE. # if defined ((__APPLE__)) && defined(__LP64__) && __LP64__ typedef CIconHandle OSColorIcon; // Mac CIcon #else To to help me fine tune a bit.. Wouldn't (__APPLE

Re: [CMake] Ensuring not building for 64-bit

2009-08-17 Thread Michael Jackson
On Aug 17, 2009, at 12:30 PM, ML wrote: Hi Mike, The double __LP64__ is making sure it (__LP64__) is both DEFINED and TRUE. # if defined ((__APPLE__)) && defined(__LP64__) && __LP64__ typedef CIconHandle OSColorIcon; // Mac CIcon #else To to help me fine tune a bit.. Wouldn't (__APPLE_

Re: [CMake] Ensuring not building for 64-bit

2009-08-17 Thread ML
Hi Mike, The double __LP64__ is making sure it (__LP64__) is both DEFINED and TRUE. # if defined ((__APPLE__)) && defined(__LP64__) && __LP64__ typedef CIconHandle OSColorIcon; // Mac CIcon #else To to help me fine tune a bit.. Wouldn't (__APPLE__) be automatically defined if I am compil

Re: [CMake] Ensuring not building for 64-bit

2009-08-17 Thread Michael Jackson
The double __LP64__ is making sure it (__LP64__) is both DEFINED and TRUE. # if defined ((__APPLE__)) && defined(__LP64__) && __LP64__ typedef CIconHandle OSColorIcon; // Mac CIcon #else #endif _ Mike Jackson mike.jack

Re: [CMake] Ensuring not building for 64-bit

2009-08-17 Thread ML
Hi Sean, I am running into some issues with some Carbon stuff that is not avail under 64-bit, but is for 32-but. May I suggest you start by getting your stuff working in 32 bit first. With all the old Carbon stuff you use, 64 bit support will be more work. And as you're apparently changing

Re: [CMake] Ensuring not building for 64-bit

2009-08-17 Thread Sean McBride
On 8/17/09 7:41 AM, ML said: >I am running into some issues with some Carbon stuff that is not avail >under 64-bit, but is for 32-but. May I suggest you start by getting your stuff working in 32 bit first. With all the old Carbon stuff you use, 64 bit support will be more work. And as you're

Re: [CMake] Ensuring not building for 64-bit

2009-08-17 Thread Michael Jackson
# if defined ((__APPLE__)) && defined(__LP64__) && __LP64__ // 64 bit headers/defines/typedefs here #else // 32 bit headers/defines/typedefs here #endif _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Software

[CMake] Ensuring not building for 64-bit

2009-08-17 Thread ML
Hi All, I am running into some issues with some Carbon stuff that is not avail under 64-bit, but is for 32-but. Items like: framework/CP_Types.h(304): error: identifier "CIconHandle" is undefined typedef CIconHandle OSColorIcon; // Mac