[Insight-developers] Re: Problems with Obj C Tests on VS6 / VS7 /
VS8
Luis Ibanez
luis.ibanez at kitware.com
Tue Aug 28 16:16:16 EDT 2007
Hi Sean,
Right now the IF/ENDIF is for (NOT WIN32) but
it is tempting to replace it with IF(APPLE).
After all, the goal so far, is just to have an
automatic way of making sure that if somebody
use "id" in ITK classes, then the Dashboard will
raise an alarm.
As long as we have Mac submissions in the Dashboard,
then we cover that front...
What do you think ?
Luis
--------------------
Sean McBride wrote:
> On 8/28/07 3:42 PM, Luis Ibanez said:
>
>
>>I would guess that we can expect to find Objective-C
>>compilers in Mac, and systems using the GNU compiler,
>>is that reasonable ?
>
>
> gcc supports Objective-C on the Mac and on other platforms, but probably
> not for every target it supports. The now-defunct CodeWarrior also
> supports Obj-C. On the other hand, there are Mac compilers (like
> Intel's icc) that do not support Obj-C.
>
> In the real world, Obj-C is almost exclusively used on the Mac.
>
> We think your solution of surrounding the TRY_COMPILE with a IF/ENDIF()
> is fine. But what to test? Basically we need to exclude Windows, so
> how about IF(UNIX)? Or even if(APPLE).
>
More information about the Insight-developers
mailing list