From: ngotogenome@... Date: 2015-12-19T10:25:37+00:00 Subject: [ruby-dev:49445] [Ruby trunk - Bug #11843] [Open] enc/windows_1250.c syntax error with fcc on Solaris -- C++(C99)-style comments should not be used Issue #11843 has been reported by Naohisa Goto. ---------------------------------------- Bug #11843: enc/windows_1250.c syntax error with fcc on Solaris -- C++(C99)-style comments should not be used https://bugs.ruby-lang.org/issues/11843 * Author: Naohisa Goto * Status: Open * Priority: Normal * Assignee: * ruby -v: - * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- Solaris上のfccにて、以下のコンパイルエラーが出ています。 ~~~ fcc -I. -I.ext/include/sparc64-solaris2.10 -I./include -I. -I/usr/local/64/lib/libffi-3.0.10/include -I/usr/local/64/include -D_XOPEN_SOURCE=500 -DONIG_ENC_REGISTER=rb_enc_register -KPIC -O2 -KV9 -KVIS2 -o enc/windows_1250.o -c ./enc/windows_1250.c "./enc/windows_1250.c", line 89: error: syntax error near `/' "./enc/windows_1250.c", line 91: error: syntax error near `/' "./enc/windows_1250.c", line 93: error: syntax error near `/' "./enc/windows_1250.c", line 95: error: syntax error near `/' "./enc/windows_1250.c", line 97: error: syntax error near `/' "./enc/windows_1250.c", line 99: error: syntax error near `/' "./enc/windows_1250.c", line 101: error: syntax error near `/' "./enc/windows_1250.c", line 103: error: syntax error near `/' make[1]: *** [enc/windows_1250.o] Error 1 ~~~ C++(またはC99)形式のコメントが使われているのが原因です。 -- https://bugs.ruby-lang.org/