summaryrefslogtreecommitdiff
path: root/spec/ruby/core
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-04-16 17:00:13 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-04-16 17:19:37 +0900
commit3eb05a8071815cfbb2500e624ad675f324cc72fa (patch)
treec771b99fa064c1e88aff6f4fc6228638b41c43e4 /spec/ruby/core
parent4ab14aece4ee96354b3f10da7083caf7a7bf74dd (diff)
fix compiler error on gcc 4.x
It seems gcc prior to 5 suffered from preprocessor bug. We have to provide workarounds. See https://github.com/ruby/ruby/runs/591138012 ---- Here is something interesting. According to C99, strictly speaking, the gcc behaviour was in fact legal(!) and everything else were wrong. This was not a bug of gcc, rather a bug of the ISO C Standard. This defect was reported to the committee as DR#412, and fixed accordingly. All tested compilers now conform C17's updated preprocessor description. See http://www.open-std.org/JTC1/SC22/WG14/www/docs/dr_412.htm
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions