https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112016-05-20T12:29:12ZRuby Issue Tracking SystemRuby master - Bug #12397: Since r54986, syntax error with Oracle Solaris Studio 12.x on Solaris 10https://bugs.ruby-lang.org/issues/12397?journal_id=587702016-05-20T12:29:12Zngoto (Naohisa Goto)ngotogenome@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Applied in changeset r55082.</p>
<hr>
<p>Use RB_GNUC_EXTENSION_BLOCK instead of <strong>extension</strong></p>
<ul>
<li>include/ruby/defines.h (RB_GNUC_EXTENSION, RB_GNUC_EXTENSION_BLOCK):<br>
macros for skipping <strong>extension</strong> on non-GCC compilers.</li>
<li>eval_error.c (warn_print): use RB_GNUC_EXTENSION_BLOCK instead of<br>
<strong>extension</strong> because <strong>extension</strong> is a GNU extension.<br>
Fix compile error on Solaris 10 with Oracle Solaris Studio 12.x.<br>
[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Since r54986, syntax error with Oracle Solaris Studio 12.x on Solaris 10 (Closed)" href="https://bugs.ruby-lang.org/issues/12397">#12397</a>] <a href="/issues/12397">[ruby-dev:49629]</a>.</li>
<li>internal.h (rb_fstring_cstr, rb_fstring_enc_cstr): ditto</li>
<li>include/ruby/encoding.h (rb_enc_str_new, rb_enc_str_new_cstr): ditto</li>
<li>include/ruby/intern.h (rb_str_new, rb_str_new_cstr,<br>
rb_usascii_str_new, rb_utf8_str_new, rb_tainted_str_new_cstr,<br>
rb_usascii_str_new_cstr, rb_utf8_str_new_cstr,<br>
rb_external_str_new_cstr, rb_locale_str_new_cstr,<br>
rb_str_buf_new_cstr, rb_str_cat_cstr, rb_exc_new_cstr): ditto</li>
</ul> Ruby master - Bug #12397: Since r54986, syntax error with Oracle Solaris Studio 12.x on Solaris 10https://bugs.ruby-lang.org/issues/12397?journal_id=587732016-05-20T15:04:05Zngoto (Naohisa Goto)ngotogenome@gmail.com
<ul></ul><p>r55084 にて、symbol.h 内の __builtin_constant_p についても、同様に措置しました。<br>
(元々 r54986 の修正から漏れていた?)</p> Ruby master - Bug #12397: Since r54986, syntax error with Oracle Solaris Studio 12.x on Solaris 10https://bugs.ruby-lang.org/issues/12397?journal_id=590702016-06-08T05:18:01Zusa (Usaku NAKAMURA)usa@garbagecollect.jp
<ul><li><strong>Backport</strong> changed from <i>2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN</i> to <i>2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED</i></li></ul> Ruby master - Bug #12397: Since r54986, syntax error with Oracle Solaris Studio 12.x on Solaris 10https://bugs.ruby-lang.org/issues/12397?journal_id=748172018-11-09T14:56:47Zngoto (Naohisa Goto)ngotogenome@gmail.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/15293">Bug #15293</a>: Since r64852, on Solaris with Oracle Developer Studio 12.4, syntax error</i> added</li></ul>