[Insight-users] intmax_t typedef issue with ITKSNAP (same issue as with SOViewer)
Juan Cardelino
juan.cardelino at gmail.com
Tue May 25 18:14:28 EDT 2010
On Tue, May 25, 2010 at 12:36 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> Hi Juan,
>
>
> The fix to this problem was identified
> several weeks ago.
>
I'm sorry. I've only seen the message of another person reporting
this, but nothing about a possible fix.
>
> The problem is not with ITK code itself.
>
That was my initial guess, but I've been lazy and changed the code in
ITK, rather than looking for the best solution.
>
> The real offenders are a set of statements:
>
> using namespace itk;
>
> that are scattered across ITK SNAP code.
>
Ok, nice to know. For the moment I've commented out the lines in ITK,
but I know it is not the best solution.
> These statements defeat the purpose of having
> namespaces, and must therefore be removed.
>
>
Agree.
>
> We have fixed the version in Insight Applications
> http://www.itk.org/cgi-bin/viewcvs.cgi/SNAP/?root=InsightApplications
>
> See for example:
> http://www.itk.org/cgi-bin/viewcvs.cgi/SNAP/Common/?root=InsightApplications&sortby=date#dirlist
>
> and more specifically:
> http://www.itk.org/cgi-bin/viewcvs.cgi/SNAP/Common/SystemInterface.cxx?root=InsightApplications&r1=1.9&r2=1.12&sortby=date
> http://www.itk.org/cgi-bin/viewcvs.cgi/SNAP/Common/Registry.cxx?root=InsightApplications&r1=1.13&r2=1.14&sortby=date
> (...among others...)
>
>
> You may want to use that code updated
> in InsightApplications
Oh, is that code a fork? Because I'm using itksnap from cvs, hoping
that there it should have the latest corrections.
>
> or
>
> you could remove the offending lines in the
> version of SNAP that you are using.
>
I did this, but I had to change something in the ITK also. I will look
at it carefully and make the changes in SNAP only.
>
> Regards,
>
>
> Luis
>
>
Thank you very much for your answer Luis.
Regards,
Juan
More information about the Insight-users
mailing list