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 3 years ago. Updated over 3 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
#1

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