Skip to Content
C语言核心技术(原书第2版)
book

C语言核心技术(原书第2版)

by Peter Prinz, Tony Crawford
August 2017
Intermediate to advanced
798 pages
17h 44m
Chinese
China Machine Press
Content preview from C语言核心技术(原书第2版)
686
|
第
19
章
勘误。这并不代表不可以使用扩展:只有与
ISO
标准冲突的
GNU
扩充才会被禁用,
例如
typeof
运算符。
-std=iso9899:199409
遵循“
AMD1
”,这是
1995
针对
ISO/IEC 9899:1990
的国际化修正。
-std=iso9899:1999
、
-std=c99
遵循
ISO/IEC 9899:1999
,以及
2001
年的技术勘误。
GNU
基本上支持所有
C99
的规
定。详细情况请参考
http://gcc.gnu.org/c99status.html
。
-std=iso9899:2011
、
-std=c11
遵循
ISO/IEC 9899:2011
。基本上支持所有
C11
的强制特性(虽然
GNU
标准
C
链接
库、
GLIBC
,不支持定义在
threads.h
中的多线程特性)。详细情况请参考
http://gcc.
gnu.org/wiki/C11Status
。
-std=gnu89
、
-std=gnu90
这些选项是等效的,它们表示:支持
ISO/IEC 9899:1990
和
GNU
扩展内容。在版本
5
以前的
GNU
会默认采用该语言定义。
-std=gnu99
遵循
ISO/IEC 9899:1999
和
GNU
扩展内容。
-std=gnu11
遵循
ISO/IEC 9899:2011
和
GNU
扩展内容。自版本
5
以后的
GNU
会默认采用该语言定
义。
在使用这些选项时,如果希望
GCC
发出针对给定标准要求的警告,并且拒绝给定标
准禁止的所有扩展内容,那么必须使用
-pedantic
选项。在这些警告产生时,使用
-pedantic-errors ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

算法精讲视频课程:24篇系列讲座

算法精讲视频课程:24篇系列讲座

罗伯特·塞奇威克, 凯文·韦恩(Kevin Wayne)

Publisher Resources

ISBN: 9787111562207