[Insight-developers] GDCM warnings and errors

David Doria daviddoria at gmail.com
Sun Apr 17 19:48:35 EDT 2011


On Sun, Apr 17, 2011 at 4:24 PM, David Doria <daviddoria at gmail.com> wrote:
> On Sun, Apr 17, 2011 at 11:22 AM, David Doria <daviddoria at gmail.com> wrote:
>> This morning I cloned a fresh ITK and tried to build it. I get tons of warnings:
>>
>> gdcmDataSet.h:119:10: warning: variable ‘len’ set but not used
>> [-Wunused-but-set-variable]
>>
>> along with this error:
>>
>> ITK/Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmRLECodec.cxx:219:1:
>> error: ‘ptrdiff_t’ does not name a type
>>
>> I tried turning off Module_ITK-IO-GDCM but I get the same error.
>>
>> Thoughts?
>>
>> David
>>
>
> To fix the error I had to add #include <cstddef> in a few places. I
> have a patch ready, so once I get the SetupForDevelopment.sh issue
> fixed I'll push it to gerrit.
>
> David
>

Here is the patch:

http://review.source.kitware.com/#change,1429

David


More information about the Insight-developers mailing list