Herb Sutter confirms no more support for C beyond C90 in Visual C++
1–10 of 53 posts
Re: Herb Sutter confirms no more support for C beyond C90 in Visual C++
#2As one of the comments in the linked page points out, the problem with more modern C code is that it tends to be covered in GCC gunk. Without Microsoft implementing support, well, that won't get better.
Maybe one day Clang on Windows will be far enough along that Microsoft will let you use it as a VS backend.
Re: Herb Sutter confirms no more support for C beyond C90 in Visual C++
#3Sorry, but it has always been clear that they just didn't want to invest any kind of resources at all. Not even a few days of developer time for shipping a freaking stdint.
Re: Herb Sutter confirms no more support for C beyond C90 in Visual C++
#4* 'restrict' keyword * C99 inline semantics * snprintf * flexible array members * designated initializers * UTF-8 string literals without using escape sequences * compound literals
Now I understand wanting to "focus" on C++, but some of the above are very easy. For example, you can write snprintf as a three line wrapper around _snprintf, and change the parser to accept restrict (it already accepts __restrict). One would hope that since MSC already accepts wide characters, adding UTF-8 support would be fairly trivial. (Right now, you can only put UTF-8 in string literals either by tricking the compiler into thinking that you're using an encoding OTHER than UTF-8, or by using escape sequences). I would also hope that C99 inline semantics are easy to implement.
If we had those easy things, the bigger items (designated initializers, flexible array members, and compound literals) would seem less.
Re: Herb Sutter confirms no more support for C beyond C90 in Visual C++
#5Re: Herb Sutter confirms no more support for C beyond C90 in Visual C++
#6Wow, they go so far as to recommend gcc if you want "new" features. ~"We won't support those features, if you want them go use a more full featured product". Kind of makes it hard to keep peddling their product in the long term if they plan to lag behind no?
Re: Herb Sutter confirms no more support for C beyond C90 in Visual C++
#7I'm using GCC and Clang right now, but I'm also itching to try out Pelles C, which comes with C11 support...
Re: Herb Sutter confirms no more support for C beyond C90 in Visual C++
#8Wow, they go so far as to recommend gcc if you want "new" features. ~"We won't support those features, if you want them go use a more full featured product". Kind of makes it hard to keep peddling their product in the long term if they plan to lag behind no?
Re: Herb Sutter confirms no more support for C beyond C90 in Visual C++
#9Wow, they go so far as to recommend gcc if you want "new" features. ~"We won't support those features, if you want them go use a more full featured product". Kind of makes it hard to keep peddling their product in the long term if they plan to lag behind no?
Depends. From the article it seems they position their product as a C++ compiler. You don't expect your Haskell compiler to also do OCaml.
Re: Herb Sutter confirms no more support for C beyond C90 in Visual C++
#10Even the IE team has learned the importance of implementing standards support. Way to go guys; you've only had what, 12 years to get this right?
And one of your "solutions" to your own organizational issues is to "pressure your standards committee representatives to have ISO C++ include more of the C standard (longer-term)."
Awesome! No wonder so many game developers prefer Intel's compilers.
I like the Visual Studio IDE, but this makes life so incredibly difficult for cross-platform developers.