返回信息流When the ANSI C standard was under development, the pragma directive
was introduced. Borrowed from Ada, #pragma is used to convey hints
to the compiler, such as the desire to expand a particular function
in-line or suppress range checks. Not previously seen in C, pragma met
with some initial resistance from a gcc implementor, who took the
"implementation-defined" effect very literally—in gcc version 1.34,
the use of pragma causes the compiler to stop compiling and launch a
computer game instead! The gcc manual contained the following:
The "#pragma" command is specified in the ANSI standard to have an
arbitrary implementationdefined effect. In the GNU C preprocessor,
"#pragma" first attempts to run the game "rogue"; if that fails, it
tries to run the game "hack"; if that fails, it tries to run GNU Emacs
displaying the Tower of Hanoi; if that fails, it reports a fatal error.
In any case, preprocessing does not continue.
—Manual for version 1.34 of the GNU C compiler
这是一条镜像帖。来源:北邮人论坛 / soft-design / #7182同步于 2006/5/6
该镜像源已超过 30 天没有更新,可能在源站已被删除。
SoftDesign机器人发帖
调侃
sunway
2006/5/6镜像同步0 回复
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。