Project

General

Profile

Actions

Bug #12559

closed

./enc/iso_8859_14.c, line 253: error: syntax error near / with old fcc on Solaris 10

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

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

Description

Solaris 10上の古い Fujitsu C Compiler (fcc) にて、以下のコンパイルエラーが発生します。

fcc -G -o .ext/sparc64-solaris2.10/enc/iso_8859_13.so enc/iso_8859_13.o -L. -L. -L. -KV9 -KVIS2 -L/usr/local/64/lib -R/usr/local/64/lib -KV9 -KVIS2  -L/usr/local/64/lib -R/usr/local/64/lib    -lpthread -lrt -lgmp -lsocket -ldl -lcrypt -lm  
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/iso_8859_14.o -c ./enc/iso_8859_14.c                                                                     
"./enc/iso_8859_14.c", line 253: error: syntax error near `/'                   
make[1]: *** [enc/iso_8859_14.o] Error 1                                        

"//"によるC++/C99形式のコメント行は、古いfccではサポートされていないのが原因です。

Actions

Also available in: Atom PDF

Like0
Like0Like0