5 ms·
Really? No longer an MS user but occasionally my code gets ported to Windows so would like to know more.
by hazeii 7y ago
Really? No longer an MS user but occasionally my code gets ported to Windows so would like to know more.
- dfox 7y agoMSVC in C mode is essentially C89 plus extensions needed to compile C++/C99-isms present in Windows SDK and DDK headers. And Microsoft seems to be mostly interested in whether the compiler is able to build NT kernel and drivers and nothing much else.
- nwellnhof 7y agoThat's not true for quite some time. Visual Studio 2013 added many C99 features that aren't in C++ like compound literals or designated initializers.
- flohofwoe 7y agoThe only notable C99 features not supported on the MSVC C compiler are: (a) VLAs, and (b) type-generic macros. The distinction between the MSVC C and C++ compiler is important though. The MSVC C++ compiler doesn't support any C99 features.