[Insight-users] itkDebugMacro ITK_LEAN_AND_MEAN

Bill Lorensen bill.lorensen at gmail.com
Thu Nov 6 13:52:11 EST 2008


itkDebugMacro is disabled if any of the following are defined:
#if defined(ITK_LEAN_AND_MEAN) || defined(__BORLANDC__) || defined(NDEBUG)

NDEBUG is only defined for Release.

Bill

On Thu, Nov 6, 2008 at 1:42 PM, David Fuentes <fuentesdt at gmail.com> wrote:
>
> thanks Bill,
>
> I'll double check. I'm using:
>
>
> RedHat Linux 2.6.18-53.1.6.el5 #1 SMP x86_64
>
> gcc 4.1.2
>
>
>
>
> On Thu, 6 Nov 2008, Bill Lorensen wrote:
>
>> It should show up with RelWithDebInfo. What platform/compiler are you
>> using?
>>
>> On Thu, Nov 6, 2008 at 1:12 PM, David Fuentes <fuentesdt at gmail.com> wrote:
>>>
>>>
>>>
>>> thanks Bill,
>>>
>>>
>>> is it written to stdout on your machine?
>>> what about RelWithDebInfo?
>>>
>>>
>>> df
>>>
>>>
>>>
>>> On Thu, 6 Nov 2008, Bill Lorensen wrote:
>>>
>>>> You should see the output in Debug mode, but not Release. Unless you
>>>> are using the Borland compiler.
>>>>
>>>> Bill
>>>>
>>>> On Thu, Nov 6, 2008 at 11:12 AM, David Fuentes <fuentesdt at gmail.com>
>>>> wrote:
>>>>>
>>>>> How do you enable the itkDebugMacro?
>>>>> I have ITK 3.8.0 compiled in debug mode
>>>>> and am expecting output from
>>>>>
>>>>>  itkDebugMacro
>>>>>
>>>>> but am Not seeing any?
>>>>>
>>>>>
>>>>>
>>>>> thank you,
>>>>> df
>>>>> _______________________________________________
>>>>> Insight-users mailing list
>>>>> Insight-users at itk.org
>>>>> http://www.itk.org/mailman/listinfo/insight-users
>>>>>
>>>>
>>>
>>
>


More information about the Insight-users mailing list