本文介绍了有关GNU C编译器的信息......?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我知道它是一个免费的编译器。但它遵循任何标准吗?如果是这样 这个标准是什么? (Ansi,Ecma等?)I know it is a free compiler. But does it follow any standard? If sowhich standard is it? (Ansi, Ecma, etc?)推荐答案 您在发布之前是否只看过GCC文档? Google GCC - http://gcc.gnu.org/onlinedocs/ - > * GCC 4.1.2手册 - > #1 GCC支持的编程语言 #2 GCC支持的语言标准 Marc BoyerDid you have a single look at GCC documentation before posting ?Google GCC -http://gcc.gnu.org/onlinedocs/ ->* GCC 4.1.2 Manual -># 1 Programming Languages Supported by GCC# 2 Language Standards Supported by GCCMarc Boyer gcc / glibc实现非常符合1989 ANSI C 标准,后来更新ISO作为ISO / IEC 9899:1990采用。 它并不声称符合1999年以后的ISO标准,但在 事实上支持最多那个标准的变化是C.它达到了这个不是 那里几年前的一致性水平,并且在可预见的未来没有显示出接近C99的迹象。 - Richard Heathfield Usenet是一个奇怪的地方 - dmr 29/7/1999 http://www.cpax.org.uk 电子邮件:rjh在上述域名, - www。The gcc/glibc implementation conforms extremely well to the 1989 ANSI CStandard, which was later adopted by ISO as ISO/IEC 9899:1990.It does not claim to conform to the later 1999 ISO Standard, but does infact support most of that Standard''s changes to C. It reached this "notquite there" conformance level some years ago, and shows no signs ofapproaching C99 any more closely for the foreseeable future.--Richard Heathfield"Usenet is a strange place" - dmr 29/7/1999 http://www.cpax.org.ukemail: rjh at the above domain, - www. [OT] 当语言扩展允许时,gcc仍然断言__STDC__ 允许(即,编译器没有在严格的 一致性模式下调用)?他们曾经这样做,并且可以原谅它说不符合ANSI / ISO标准的编译器b $ b可以随意做任何他们想做的事,包括断言 的宏可能会导致程序认为它是由 编译的ANSI / ISO标准编译器。 - 没有人有权通过 要求经验证据来摧毁他人的信念。 - Ann Landers[OT]Does gcc still assert __STDC__ when language extensions have beenallowed (i.e., when the compiler was not invoked in strictconformance mode) ? They used to do that, and would excuse itby saying "Compilers which do not adhere to the ANSI/ISO standardsare free to do whatever they want, including asserting macros thatmight lead a program to believe that it ws being compiled byan ANSI/ISO standard compiler."--"No one has the right to destroy another person''s belief bydemanding empirical evidence." -- Ann Landers 这篇关于有关GNU C编译器的信息......?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 07-30 04:28