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

ruby-changes:44097

From: usa <ko1@a...>
Date: Fri, 16 Sep 2016 19:47:59 +0900 (JST)
Subject: [ruby-changes:44097] usa:r56170 (trunk): * win32/Makefile.sub (config.h): fixed compile error with VC introduced

usa	2016-09-16 19:47:54 +0900 (Fri, 16 Sep 2016)

  New Revision: 56170

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

  Log:
    * win32/Makefile.sub (config.h): fixed compile error with VC introduced
      by previous commit.

  Modified files:
    trunk/ChangeLog
    trunk/win32/Makefile.sub
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 56169)
+++ ChangeLog	(revision 56170)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Sep 16 19:46:05 2016  NAKAMURA Usaku  <usa@r...>
+
+	* win32/Makefile.sub (config.h): fixed compile error with VC introduced
+	  by previous commit.
+
 Fri Sep 16 14:54:34 2016  URABE Shyouhei  <shyouhei@r...>
 
 	* internal.h (WARN_UNUSED_RESULT): moved to configure.in, to
Index: win32/Makefile.sub
===================================================================
--- win32/Makefile.sub	(revision 56169)
+++ win32/Makefile.sub	(revision 56170)
@@ -604,6 +604,8 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/ https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L604
 #define NOINLINE(x) __declspec(noinline) x
 !endif
 #define ALWAYS_INLINE(x) __forceinline x
+#define WARN_UNUSED_RESULT(x) x
+#define MAYBE_UNUSED(x) x
 #define UNREACHABLE __assume(0)
 #define ASSUME(x) __assume(!!(x))
 #define FUNC_STDCALL(x) __stdcall x

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

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