[前][次][番号順一覧][スレッド一覧]

ruby-changes:42290

From: naruse <ko1@a...>
Date: Tue, 29 Mar 2016 15:03:35 +0900 (JST)
Subject: [ruby-changes:42290] naruse:r54364 (ruby_2_3): merge revision(s) 53455: [Backport #11962]

naruse	2016-03-29 15:03:30 +0900 (Tue, 29 Mar 2016)

  New Revision: 54364

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54364

  Log:
    merge revision(s) 53455: [Backport #11962]
    
    * ruby.h: undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
      and HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P on C++.
      [ruby-core:72736] [Bug #11962]

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/include/ruby/ruby.h
    branches/ruby_2_3/version.h
Index: ruby_2_3/ChangeLog
===================================================================
--- ruby_2_3/ChangeLog	(revision 54363)
+++ ruby_2_3/ChangeLog	(revision 54364)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ChangeLog#L1
+Tue Mar 29 15:03:03 2016  Kenta Murata  <mrkn@m...>
+
+	* ruby.h: undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
+	  and HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P on C++.
+	  [ruby-core:72736] [Bug #11962]
+
 Tue Mar 29 14:58:56 2016  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/socket/option.c (inspect_tcpi_msec): more accurate condition
Index: ruby_2_3/version.h
===================================================================
--- ruby_2_3/version.h	(revision 54363)
+++ ruby_2_3/version.h	(revision 54364)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1
 #define RUBY_VERSION "2.3.0"
 #define RUBY_RELEASE_DATE "2016-03-29"
-#define RUBY_PATCHLEVEL 21
+#define RUBY_PATCHLEVEL 22
 
 #define RUBY_RELEASE_YEAR 2016
 #define RUBY_RELEASE_MONTH 3
Index: ruby_2_3/include/ruby/ruby.h
===================================================================
--- ruby_2_3/include/ruby/ruby.h	(revision 54363)
+++ ruby_2_3/include/ruby/ruby.h	(revision 54364)
@@ -26,6 +26,13 @@ extern "C" { https://github.com/ruby/ruby/blob/trunk/ruby_2_3/include/ruby/ruby.h#L26
 #include RUBY_EXTCONF_H
 #endif
 
+#if defined(__cplusplus)
+/* __builtin_choose_expr and __builtin_types_compatible aren't available
+ * on C++.  See https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html */
+# undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
+# undef HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P
+#endif
+
 #include "defines.h"
 
 #define NORETURN_STYLE_NEW 1

Property changes on: ruby_2_3
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r53455


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]