4 ms·
Little reason to not use at least -std=c11 these days
by pantalaimon 6y ago
Little reason to not use at least -std=c11 these days
- bierjunge 6y agoLinux is C99, most microcontrollers use C99 or even C89. It would be nice to get the new features, but it's not always possible.
- pantalaimon 6y ago> most microcontrollers use C99 or even C89 Most microcontrollers are ARM Cortex-M and are programmed with a recent GCC toolchain
- flohofwoe 6y agoMSVC has C11 support only since very, very recently: https://devblogs.microsoft.com/cppblog/c11-and-c17-standard-support-arriving-in-msvc/ https://devblogs.microsoft.com/cppblog/c11-and-c17-standard-... (it has a solid subset of C99 since around VS2015 though, just _Generic was missing - and ignoring VLAs, which have been "dropped" in later C standards anyway).
- junon 6y agoVerifiers haven't caught up to C11 yet.