什么是在VS2013 C99支持官方的状态? [英] What is the official status of C99 support in VS2013?

查看:177
本文介绍了什么是在VS2013 C99支持官方的状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到,VS2013添加了大量的C99的主要核心语言功能的支持。现在,它支持复合文字,指定的初始化,复杂的宏,交错的宣言和声明只是仅举几例。

I see that VS2013 added support for a large number of major core language features of C99. Now it supports compound literals, designated initializers, variadic macros, interleaved declarations and statements just to name a few.

这表明VS开发人员对Visual Studio中支持C99进行了认真的步骤。然而,其中的一些功能并不是C ++语言,这似乎是从pviously公布的发展战略$ P $一个显着偏差的部分(例如,VS C编译器将只支持那些C99的功能,也℃的一部分++)

This indicates that VS developers made serious steps towards C99 support in Visual Studio. Yet, some of these features are not part of C++ language, which appears to be a notable deviation from the previously announced development strategy (e.g. "VS C compiler will only support those C99 features that are also a part of C++").

那么,有没有什么回事任何官方或半官方的词吗?我似乎并没有能够找到任何东西在网络上确定的。被这些C99功能正式公布?有没有在VS继续支持C99任何承诺?或者这只是一些流氓非官方的发展?

So, is there any official or semi-official word on what's going on? I don't seem to be able to find anything definitive on the Net. Were these C99 features officially announced? Is there any commitment to continued C99 support in VS? Or is this just some sort of "rogue" unofficial development?

推荐答案

有这个从微软开发了一些政府官员的讨论中,的 C ++一致性路线图它说:

There are a few public official discussions of this from Microsoft developers, the C++ Conformance Roadmap which says:

中药还宣布,为了响应客户要求,RTM
  版本也将包括一些战术的C99语言扩展时,
  编译C code,使一些流行的社区图书馆(包括
  FFmpeg的),现在可以用Visual C ++ 2013编译。

Herb also announced that, in response to customer requests, the RTM version will also include a few tactical C99 language extensions when compiling C code, so that some popular community libraries (including FFmpeg) will now be able to compile with Visual C++ 2013.

因此​​,这有官方的支持,但具有战略意义,从我可以告诉形成下面的文章更多的支持,将不得不与其他优先事项进行竞争。

So this has official support but is strategic, from what I can tell form the following articles more support will have to compete with other priorities.

我们有<一个href=\"http://blogs.msdn.com/b/vcblog/archive/2013/06/28/c-11-14-stl-features-fixes-and-breaking-changes-in-vs-2013.aspx\">C++11/14 STL功能,修复和重大更改在VS 2013年STL 博客文章:

此外,一些C99核心语言功能将被实施中
  2013 RTM:

Additionally, some C99 Core Language features will be implemented in 2013 RTM:


      
  • C99 _Bool

  • C99 _Bool

C99复合文字

C99指定初始化

C99变量声明

和<一个href=\"http://blogs.msdn.com/b/vcblog/archive/2013/07/19/c99-library-support-in-visual-studio-2013.aspx\">C99在Visual Studio库支持2013年帕特·布伦纳博客条目它与打开:

在这篇博客,我想分享关于C99的一些信息
  支持加入到在Visual Studio 2013的C运行时库。

In this blog post I want to share some information about the C99 support added to the C run-time library in Visual Studio 2013.

和结尾:

我们知道,这是不是为C99库的完整支持
  功能。尽我们的理解,缺少的作品是
  这些:

We know that this is not complete support for the C99 library functions. To the best of our understanding, the missing pieces are these:


      
  • 的tgmath.h头部丢失。需要对这个头C编译器的支持。
          注意,ctgmath头中加入 - 这是可能的,因为该标头不需要tgmath.h仅标头的
      ccomplex和CMATH头。

  •   
  • 的uchar.h头部丢失。这是从C的Uni code TR。
      在printf系列几个格式说明尚未支持。

  •   
  • 的snprintf的和snwprintf功能stdio.h中和wchar.h失踪。

  •   

这是有点更有趣,因为STL积极解决意见,博客和他们很难总结,但我们可以看到未来的增加将取决于竞争的重点。

which is somewhat more interesting since STL actively addresses comments to the blog and they are hard to summarize but we can see future additions will depend on competing priorities.

感谢cremno您指出另一篇博客<一href=\"http://blogs.msdn.com/b/vcblog/archive/2014/06/18/crt-features-fixes-and-breaking-changes-in-visual-studio-14-ctp1.aspx\">C运行时(CRT)功能,修复和重大更改在Visual Studio 14 CTP1 它说:

Thanks to cremno for pointing out another blog post C Runtime (CRT) Features, Fixes, and Breaking Changes in Visual Studio 14 CTP1 which says:

在Visual Studio的14CTP,我们全面实施C99
  标准库,与任何库功能异常
  依赖于编译器功能尚未得到的Visual C ++的支持
  编译器(值得注意的是,&LT; tgmath.h&GT; 未实现)。有
  无疑一些遗留问题的一致性 - 我们知道一些的,
  包括_Exit缺失和wcstok的签名错误,
  我们正在努力解决这些。如果您发现错误或缺失
  功能,请不要在Microsoft Connect上报告。如果报告错误
  现在,有一个非常好的机会,我们就能之前解决这些问题
  RTM。

In the Visual Studio "14" CTP we have fully implemented the C99 Standard Library, with the exception of any library features that depend on compiler features not yet supported by the Visual C++ compiler (notably, <tgmath.h> is not implemented). There are undoubtedly some remaining conformance issues--we know of a few, including that _Exit is missing and wcstok has the wrong signature, and we are working to fix these. If you find a bug or a missing feature, please do report it on Microsoft Connect. If you report bugs now, there is a very good chance that we'll be able to fix them before RTM.

和有很多,不能轻易概括的信息。

and has a lot of details that can not be easily summarized.

这篇关于什么是在VS2013 C99支持官方的状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆