是C99支持真的还是不广泛吗? [英] Is C99 support really still not widespread?

查看:183
本文介绍了是C99支持真的还是不广泛吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在阅读GNOME项目的一些最佳实践,他们一直强调的一件事是避免使用C99功能,因为支持仍然不广泛。他们提到的一些事情是像单行注释和在块中间声明变量的功能。这让我很奇怪,是C99支持,即使是基本功能如 // 评论,真的还不广泛吗?自从该标准被采纳以来,已经差不多15年了,我们甚至有一个新的标准出来的时间。这真的是一个问题吗?

I was reading through some of the best practices for the GNOME project, and one thing that they kept stressing was avoiding C99 features, as support was still not widespread. Some of the things they mentioned were features like single-line comments and declaring variables in the middle of a block. It made me wonder, is C99 support, even for basic features like // comments, really still not widespread? It's been almost 15 years now since the standard was adopted, and we've even had a new standard come out in that time. Is this really still an issue?

推荐答案

http://en.wikipedia.org/wiki/C99#Implementations

似乎仍然有点问题,甚至在GCC,尽管看起来像一些商业编译器已经实现了整个标准。

Seems like it still is a bit of an issue, even in GCC, though it looks like some commercial compilers have implemented the entire standard.

微软已经反复说没有计划在未来的任何时间实现C99标准这是Windows上的C编程的耻。。

Microsoft have said repeatedly there are no plans to implement the C99 standard at any point in the future which is a shame for C programming on Windows.

这篇关于是C99支持真的还是不广泛吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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