Project

General

Profile

Bug #13059

"regcomp.c", line 2236: error: syntax error near `/' with old fcc on Solaris 10

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

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-dev:49909]

Description

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

"regcomp.c", line 2236: error: syntax error near `/'

該当部分は以下のとおりで、古いfccがC99/C++形式のコメントを受け付けてくれないのが原因です。

          *min = 0;  // recursive

Associated revisions

Revision 90224018
Added by ngoto (Naohisa Goto) over 2 years ago

regcomp.c: Fix compile error with old version of fcc on Solaris

  • regcomp.c (get_min_match_length): Fix compile error with old version of fcc (Fujitsu C Compiler) on Solaris 10. [Bug #13059][ruby-dev:49909]

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

Revision 57143
Added by ngoto (Naohisa Goto) over 2 years ago

regcomp.c: Fix compile error with old version of fcc on Solaris

  • regcomp.c (get_min_match_length): Fix compile error with old version of fcc (Fujitsu C Compiler) on Solaris 10. [Bug #13059][ruby-dev:49909]

Revision 57143
Added by ngoto (Naohisa Goto) over 2 years ago

regcomp.c: Fix compile error with old version of fcc on Solaris

  • regcomp.c (get_min_match_length): Fix compile error with old version of fcc (Fujitsu C Compiler) on Solaris 10. [Bug #13059][ruby-dev:49909]

Revision 57143
Added by ngoto (Naohisa Goto) over 2 years ago

regcomp.c: Fix compile error with old version of fcc on Solaris

  • regcomp.c (get_min_match_length): Fix compile error with old version of fcc (Fujitsu C Compiler) on Solaris 10. [Bug #13059][ruby-dev:49909]

Revision 57143
Added by ngoto (Naohisa Goto) over 2 years ago

regcomp.c: Fix compile error with old version of fcc on Solaris

  • regcomp.c (get_min_match_length): Fix compile error with old version of fcc (Fujitsu C Compiler) on Solaris 10. [Bug #13059][ruby-dev:49909]

History

#1

Updated by ngoto (Naohisa Goto) over 2 years ago

  • Status changed from Open to Closed

Applied in changeset r57143.


regcomp.c: Fix compile error with old version of fcc on Solaris

  • regcomp.c (get_min_match_length): Fix compile error with old version of fcc (Fujitsu C Compiler) on Solaris 10. [Bug #13059][ruby-dev:49909]

Also available in: Atom PDF