[Insight-developers] Bad warning flags for clang compiler

David Cole david.cole at kitware.com
Fri Sep 16 09:12:41 EDT 2011


That is in there already for the upcoming CMake 2.8.6... It's just not
in the CMake 2.8.5 being used to drive that new dashboard. I'll
upgrade it to 2.8.6 as soon as it's officially released (looking like
next week at this point).


Thanks,
Dave


On Fri, Sep 16, 2011 at 9:00 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Dave,
> This Kitware clang build:
> http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=1535538
>
> reports warnings like this:
> warning: unknown warning option '-Wno-long-double'
> [-Wunknown-warning-option]
> warning: unknown warning option '-Wstrict-null-sentinel'
> [-Wunknown-warning-option]
>
> Looking at the CMake CheckCxxComplierFlage.cmake code,
> "warning: unknown warning option" is not one of the FAIL_REGEX strings. I
> think that macro needs a FAIL_REGEX line to handle the clang compiler.
>
> Bill
>
>


More information about the Insight-developers mailing list