[ruby-dev:49909] [Ruby trunk Bug#13059] "regcomp.c", line 2236: error: syntax error near `/' with old fcc on Solaris 10

From: ngotogenome@...
Date: 2016-12-21 15:13:48 UTC
List: ruby-dev #49909
Issue #13059 has been reported by Naohisa Goto.

----------------------------------------
Bug #13059: "regcomp.c", line 2236: error: syntax error near `/' with old fcc on Solaris 10
https://bugs.ruby-lang.org/issues/13059

* Author: Naohisa Goto
* Status: Open
* Priority: Normal
* Assignee: Naohisa Goto
* Target version: 
* ruby -v: 
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
おそらく r57045 以降、Solaris 10 上の古いfcc(Fujitsu C Compiler)にて、以下のコンパイルエラーが発生します。

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


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

~~~
          *min = 0;  // recursive
~~~





-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next