Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pretty absurd still no C99 and C11. Luckily Windows continues to slip in relevance.


Sorry, but what is missing from C99 in MSVC?

VS2013 introduced a lot of C99 (enough to compile FFmpeg), VS2013 update 2 introduced more C99 (compiling almost x264 and a bit further VLC). This update adds some of the biggest issues, related to printf and scanf formats, and fixes more C99 reported bugs.

From the VC++ blog: "Most of the remaining C99 library features are implemented."

I love to hate Microsoft like the next guy, but they've done a lot on C99 lately.


Probably variable length arrays and flexible array members, at least. Could be wrong.


VLA will not be in VS, since it is now optional in C11.

Flexible array member, I haven't checked yet.


Hexadecimal floating-point literals


In what context?


In the same context as "normal" decimal floating-point literals, e.g. double x = 0x1.ABCDEFp+89;


It's an afterthought, usually brought in as part of the C++ standard du jour. We'll be lucky to see C11 in 10 years.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: