From 13cfb70cbe62b1b7b33defb1d76e52d2a8284d84 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 7 Apr 2020 10:26:01 +0300 Subject: [PATCH] =?utf8?q?=D0=91=D0=B0=D0=B3=D0=B0=20=D0=B2=20=D0=BE=D0=B4?= =?utf8?q?=D0=BD=D0=BE=D0=B9=20=D0=B8=D0=B7=20=D0=BF=D0=B5=D1=80=D0=B2?= =?utf8?q?=D1=8B=D1=85=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D0=B9=20GCC?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Когда-то давно в C стандарт была введена "#pragma". Так как официально её поведение было не определённым, то GCC на полном серьёзе в документации и коде имел: The "#pragma" command is specified in the ANSI standard to have an arbitrary implementation-defined 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. Проблема и бага только в том, что в GCC код не соответствовал документации, так как "hack" запускался прежде "rogue"! -- 2.48.1