[CMake] Compile project as C++ if MSVC

Mateusz Łoskot mateusz at loskot.net
Fri Dec 23 06:05:11 EST 2011


On 23 December 2011 01:28, Pau Garcia i Quiles <pgquiles at elpauer.org> wrote:
>
> Visual C++ 2010 does not support C99 yet and it seems it will be a
> long time before MSVC supports it.

AFAIK, Microsoft does not plan to support C99.
Visual C++ will support as much C99 as imported in to most recent C++11
as Microsoft aims to fully support C++11 and future revisions.

> For now, the usual work-around is to build the project as C++.

If a certain feature from C99 is not supported by Visual C++,
how it is supposed to be workaround?

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the CMake mailing list