[Insight-users] Graph Cuts VTK version >6

David Doria daviddoria at gmail.com
Thu May 24 07:30:17 EDT 2012


On Thu, May 24, 2012 at 2:21 AM, Ella Maria Kadas <ella_kadas at yahoo.com> wrote:
> Hi,
> After a long struggle to make Xcode work with gcc46 i still get at
> compilation the following error.
> cc1plus: error: unrecognized command line option '-Wmost'
> cc1plus: warning: unrecognized command line option
> "-Wno-four-char-constants" [enabled by default]
>  Any help will be very appreciated. Making Xcode work took me already a lot
> of time.
> Thank u,
> Ella K

The only thing I can think is that this line:

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=gnu++0x")

somehow expands to include -Wmost and -Wno-four-char-constants? Try
just removing the -Wall (if you're even still using a line similar to
this at all).

David


More information about the Insight-users mailing list