[vtk-developers] Errors when compiling VTK v6.0.0 in C++11 mode

Sean McBride sean at rogue-research.com
Fri Jul 26 17:02:37 EDT 2013


On Fri, 26 Jul 2013 16:51:14 -0400, Dominique Belhachemi said:

>> Can anyone out there provide a linux + gcc + C++11 dashboard?  My Mac +
>> clang + C++11 dashboard did not catch this problem...
>>
>>
>I can submit another nightly build. Are the options below good enough?
>
>set(dashboard_cache "
>  VTK_Group_Imaging:BOOL=ON
>  VTK_Group_Qt:BOOL=OFF
>  VTK_Group_Tk:BOOL=ON
>  VTK_Group_Views:BOOL=ON
>  VTK_WRAP_JAVA:BOOL=OFF
>  VTK_WRAP_PYTHON:BOOL=ON
>  VTK_WRAP_TCL:BOOL=ON
>  CMAKE_CXX_FLAGS:STRING=-std=c++11 -std=gnu++11
>")

Dominique,

That would be great, thanks.  Just one thing: I'm pretty sure "-std=gnu++11" overrides "-std=c++11".  I think it would be preferable to use "-std=c++11" so that non-portable GNU extensions get caught too.

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtk-developers mailing list