[ITK] ITK fails to build with clang 4.0

Francois Budin francois.budin at kitware.com
Tue Feb 7 13:57:48 EST 2017


Hi Ben,

Thanks for the report! The issue has been addressed in ITK [1] and a patch
has been submitted upstream in VXL [2] to solve the issue in that library.
To test the new version, you can download the ITK git repository.

Hope this helps,
Francois

[1] http://review.source.kitware.com/#/c/22043/
[2] https://github.com/vxl/vxl/pull/374

On Sun, Feb 5, 2017 at 8:24 AM, Ben Woods <woodsb02 at gmail.com> wrote:

> Hi everyone,
>
> ITK fails to build with the new clang compiler version 4.0.
>
> The specific build error is:
>
> Modules/ThirdParty/VNL/src/vxl/v3p/netlib/linalg/lsqrBase.cxx:565:14: error: ordered comparison between pointer and zero ('std::ostream *' (aka 'basic_ostream<char> *') and 'int')
>     if (nout > 0)
>         ~~~~ ^ ~
>
> build log: http://package18.nyi.freebsd.org/data/headamd64PR216008-default/2017-01-29_16h09m05s/logs/errors/InsightToolkit-4.10.1.log
> regressed by: https://github.com/llvm-mirror/clang/commit/4b6ad14285f3
>
>
> This was originally raised on the FreeBSD issue tracker here:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216617
>
> Could somebody please look into this, and perhaps raise it on the Jira ITK
> issue tracker? (I am having trouble creating an account).
>
> Regards,
> Ben
>
> --
> From: Benjamin Woods
> woodsb02 at gmail.com
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170207/7f34ad89/attachment.html>


More information about the Community mailing list