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

ruby-changes:53344

From: usa <ko1@a...>
Date: Tue, 6 Nov 2018 12:18:30 +0900 (JST)
Subject: [ruby-changes:53344] usa:r65560 (trunk): Fixed compile error introduced at r65558

usa	2018-11-06 12:18:23 +0900 (Tue, 06 Nov 2018)

  New Revision: 65560

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

  Log:
    Fixed compile error introduced at r65558
    
    * internal.h (ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS): of course, parens around
      function signature in its definition is syntax error.

  Modified files:
    trunk/internal.h
Index: internal.h
===================================================================
--- internal.h	(revision 65559)
+++ internal.h	(revision 65560)
@@ -65,7 +65,7 @@ extern "C" { https://github.com/ruby/ruby/blob/trunk/internal.h#L65
 # define ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS(x) \
     NO_ADDRESS_SAFETY_ANALYSIS(NOINLINE(x))
 #else
-# define ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS
+# define ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS(x) x
 #endif
 
 #ifdef HAVE_VALGRIND_MEMCHECK_H

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

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