[Insight-developers] Portability Issues with StatisticsRefactoring

Bill Lorensen bill.lorensen at gmail.com
Sat Apr 11 12:19:34 EDT 2009


I replaced the macro with code. It should be OK now.

Bill

On Sat, Apr 11, 2009 at 11:05 AM, Karthik Krishnan
<karthik.krishnan at kitware.com> wrote:
> It seems rather cryptic and related to the following commit in some way.
>
> --- Source/itkSubsample.h    (revision 4044)
> +++ Source/itkSubsample.h    (working copy)
> @@ -70,6 +70,9 @@
>
> +  /** Get the Id Holder */
> +  itkGetConstReferenceMacro(IdHolder, InstanceIdentifierHolder);
>
>
> Thanks
> --
> karthik
>
>
> On Sat, Apr 11, 2009 at 11:02 AM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
>>
>> I'll take a look today.
>>
>> On Sat, Apr 11, 2009 at 10:22 AM, Karthik Krishnan
>> <karthik.krishnan at kitware.com> wrote:
>> > Hi Bill:
>> >
>> > Thanks for looking at this. I am getting a few build errors after
>> > updating
>> > with your changes. They are reported on the following experimental build
>> > from my laptop (gcc4.3 linux)
>> >
>> >   http://www.cdash.org/CDash/viewBuildError.php?buildid=310844
>> >
>> > Any idea ? There are cryptic errors from std::operator <<
>> >
>> > Thanks
>> > --
>> > karthik
>> >
>> > On Sat, Apr 11, 2009 at 9:35 AM, Bill Lorensen <bill.lorensen at gmail.com>
>> > wrote:
>> >>
>> >> I checked in a fix modeled after itkNumericTraitsRGBPixel.h.
>> >> Fortunately, since the template is short  it's not quite as ugly.
>> >>
>> >> Bill
>> >>
>> >> On Sat, Apr 11, 2009 at 9:21 AM, Bill Lorensen
>> >> <bill.lorensen at gmail.com>
>> >> wrote:
>> >> > Looks like a similar issued is handled by
>> >> > Insight/Code/Common/itkNumericTraitsRGBPixel.h with some macros.
>> >> >
>> >> > Bill
>> >> >
>> >
>> >
>> >
>> > --
>> > Karthik Krishnan
>> > R&D Engineer,
>> > Kitware Inc.
>> > Ph: 518 881 4919
>> > Fax: 518 371 4573
>> >
>
>
>
> --
> Karthik Krishnan
> R&D Engineer,
> Kitware Inc.
> Ph: 518 881 4919
> Fax: 518 371 4573
>


More information about the Insight-developers mailing list