Actions
Bug #12559
closed./enc/iso_8859_14.c, line 253: error: syntax error near / with old fcc on Solaris 10
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ではサポートされていないのが原因です。
Updated by ngoto (Naohisa Goto) about 8 years ago
- Status changed from Open to Closed
Applied in changeset r55597.
enc/iso_8859_14.c: Fix compile error by old version of fcc on Solaris 10.
[Bug #12559]
Updated by usa (Usaku NAKAMURA) almost 8 years ago
- Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED
Actions
Like0
Like0Like0