Project

General

Profile

Bug #12559

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

Added by ngoto (Naohisa Goto) about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
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ではサポートされていないのが原因です。

Associated revisions

Revision 2529b383
Added by ngoto (Naohisa Goto) about 3 years ago

enc/iso_8859_14.c: Fix compile error by old version of fcc on Solaris 10.
[Bug #12559]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 55597
Added by ngoto (Naohisa Goto) about 3 years ago

enc/iso_8859_14.c: Fix compile error by old version of fcc on Solaris 10.
[Bug #12559]

Revision 55597
Added by ngoto (Naohisa Goto) about 3 years ago

enc/iso_8859_14.c: Fix compile error by old version of fcc on Solaris 10.
[Bug #12559]

Revision 55597
Added by ngoto (Naohisa Goto) about 3 years ago

enc/iso_8859_14.c: Fix compile error by old version of fcc on Solaris 10.
[Bug #12559]

Revision 55597
Added by ngoto (Naohisa Goto) about 3 years ago

enc/iso_8859_14.c: Fix compile error by old version of fcc on Solaris 10.
[Bug #12559]

History

#1

Updated by ngoto (Naohisa Goto) about 3 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 3 years ago

  • Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED

Also available in: Atom PDF