[Insight-developers] Bad warning flags for clang compiler

Bill Lorensen bill.lorensen at gmail.com
Fri Sep 16 09:00:25 EDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110916/9aa4ccd8/attachment.htm>


More information about the Insight-developers mailing list