Project

General

Profile

Actions

Bug #11843

closed

enc/windows_1250.c syntax error with fcc on Solaris -- C++(C99)-style comments should not be used

Added by ngoto (Naohisa Goto) over 8 years ago. Updated about 8 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-dev:49445]

Description

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)形式のコメントが使われているのが原因です。


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #11838: Please backport r52883, r52884, r53046, r53198Closednagachika (Tomoyuki Chikanaga)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0