gcc网站上
onlinedocs/gcc-4.3.5/cpp/Implementation_002ddefined-behavior.html
GCC allows the `$' character in identifiers as an extension for most targets. This is true regardless of the std= switch, since this extension cannot conflict with standards-conforming programs. When preprocessing assembler, however, dollars are not identifier characters by default.
【 在 hgoldfish 的大作中提到: 】
: 刚才测了一下,在 gcc 里面,允许使用 $ 作为标识符。
: char $c = '\n';
: 这个代码在 gcc 底下能编译通过?
: ...................
--
FROM 104.133.9.*