C compiler supporting C11 standard for Windows 7

Question:

Which C compiler supports the C11 standard and can be installed on the Microsoft Windows Home Premium SP1 operating system?

Answer:

The gcc compiler, which is ported to Windows in the MinGW-w64 project.

When compiling, you need to specify a flag which specific standard to use:

gcc -std=c11

More details about the supported gcc standards can be found here: https://gcc.gnu.org/onlinedocs/gcc/Standards.html

Scroll to Top