From: usa@... Date: 2016-02-03T10:31:53+00:00 Subject: [ruby-dev:49487] [Ruby trunk Bug#11843] enc/windows_1250.c syntax error with fcc on Solaris -- C++(C99)-style comments should not be used Issue #11843 has been updated by Usaku NAKAMURA. Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONTNEED ---------------------------------------- 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#change-56861 * Author: Naohisa Goto * Status: Closed * Priority: Normal * Assignee: * ruby -v: - * Backport: 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONTNEED ---------------------------------------- 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/