Project

General

Profile

Bug #11843

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

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

Status:
Closed
Priority:
Normal
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

Related to Ruby trunk - Bug #11838: Please backport r52883, r52884, r53046, r53198ClosedActions

Associated revisions

Revision a2bf6093
Added by ngoto (Naohisa Goto) over 3 years ago

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

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

Revision 53202
Added by ngoto (Naohisa Goto) over 3 years ago

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

Revision 53202
Added by ngoto (Naohisa Goto) over 3 years ago

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

Revision 53202
Added by ngoto (Naohisa Goto) over 3 years ago

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

Revision 53202
Added by ngoto (Naohisa Goto) over 3 years ago

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

Revision 53202
Added by ngoto (Naohisa Goto) over 3 years ago

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

Revision 782b9a89
Added by nagachika (Tomoyuki Chikanaga) over 3 years ago

merge revision(s) 53202: [Backport #11843]

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

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

Revision 53909
Added by nagachika (Tomoyuki Chikanaga) over 3 years ago

merge revision(s) 53202: [Backport #11843]

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

Revision 32089305
Added by usa (Usaku NAKAMURA) about 3 years ago

merge revision(s) 53202: [Backport #11843]

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

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

Revision 54262
Added by usa (Usaku NAKAMURA) about 3 years ago

merge revision(s) 53202: [Backport #11843]

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

History

#1

Updated by ngoto (Naohisa Goto) over 3 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) over 3 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) over 3 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) over 3 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.

#5

Updated by usa (Usaku NAKAMURA) over 3 years ago

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

Updated by usa (Usaku NAKAMURA) about 3 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.

Also available in: Atom PDF