- 论坛徽章:
- 0
|
- -ansi In C mode, support all ISO C90 programs. In C++ mode, remove GNU extensions
- that conflict with ISO C++.
- This turns off certain features of GCC that are incompatible with ISO C90
- (when compiling C code), or of standard C++ (when compiling C++ code), such
- as the asm and typeof keywords, and predefined macros such as unix and vax
- that identify the type of system you are using. It also enables the undesirable
- and rarely used ISO trigraph feature. For the C compiler, it disables recognition
- of C++ style ‘//’ comments as well as the inline keyword.
复制代码
GCC4 manual 里的说法。。似乎还不是标准部分。
========================
修订
重新看了一下,-ansi 是针对 C90 标准的。C99 确实已经增加了 inline 关键字。
[ 本帖最后由 wolf0403 于 2006-2-14 13:15 编辑 ] |
|