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 #1

Updated by ngoto (Naohisa Goto) over 8 years ago

  • Status changed from Open to Closed

Applied in changeset r53202.


  • enc/windows_1250.c: Should not use C++ style comments (C99 feature).
    [Bug #11843]

Updated by usa (Usaku NAKAMURA) about 8 years ago

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

Updated by nagachika (Tomoyuki Chikanaga) about 8 years ago

  • Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONTNEED to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED

ruby_2_2 に r53198 をバックポートしたため、これも必要になっていました。

Updated by nagachika (Tomoyuki Chikanaga) about 8 years ago

  • Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE

Backported into ruby_2_2 at r53909.

Actions #5

Updated by usa (Usaku NAKAMURA) about 8 years ago

  • Related to Bug #11838: Please backport r52883, r52884, r53046, r53198 added

Updated by usa (Usaku NAKAMURA) about 8 years ago

  • Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE to 2.0.0: DONTNEED, 2.1: DONE, 2.2: DONE

ruby_2_1 r54262 merged revision(s) 53202.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0