⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.trad

📁 GCC编译器源代码
💻 TRAD
字号:
This is a partial list of how `gcc -traditional' disagrees withtraditional C compilers (perhaps only some of them).  Most of thesedifferences are not bugs.---------------------------------------------------------------------------K&R-1 (2.4.3) says:	"If the character following a backslash is not one of those	specified {in the table above}, the backslash is ignored."Up until recently, `gcc -traditional' complained about \x \a and \vappearing in a character or string literal.  I believe however thatthis non-feature has been eliminated (recently).---------------------------------------------------------------------------When in -traditional mode, gcc allows the following erroneous pair ofdeclarations to appear together in a given scope:	typedef int foo;	typedef foo foo;---------------------------------------------------------------------------K&R-1 (8.5) says:	"No field may be wider than a word."Gcc however allows:	struct S { int i:33; };---------------------------------------------------------------------------In K&R-1 there is no restriction against comments crossing include fileboundaries.  Gcc however doesn't allow this, even when in -traditional mode.---------------------------------------------------------------------------Regarding the length of identifiers, K&R-1 (2.2) says:	"No more than the first eight characters are significant,	although more may be used."Gcc treats all characters of identifiers as significant, even when in-traditional mode.---------------------------------------------------------------------------K&R-1 (2.2) says:	"An identifier is a sequence of letters and digits; the first	character must be a letter.  The underscore _ counts as a letter."Gcc also allows dollar signs in identifiers.  (This may also be an issuefor the -pedantic option.)---------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -