On quarta-feira, 22 de junho de 2016 14:59:49 PDT Dirk Hohndel wrote:
> > On Jun 22, 2016, at 2:49 PM, Thiago Macieira <thi...@macieira.org> wrote:
> > 
> > On quarta-feira, 22 de junho de 2016 22:47:23 PDT Anton Lundin wrote:
> >> @@ -73,6 +73,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL
> >> "AppleClang")
> >> 
> >>        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 ")
> >> 
> >> elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
> >> 
> >>        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
> >> 
> >> +       set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
> >> elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")
> > 
> > You want to set it for AppleClang and Intel branches too. Do we support
> > building with MSVC at all?
> 
> No. MinGW, gcc and clang

Ok, so the "Intel" branch above must be on Mac and Linux, which means it takes 
the same syntax as GCC and Clang.

If it were on Windows, the syntax would be different, as it tries to be 
compatible with MS's compiler.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to