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

ruby-changes:24490

From: kanemoto <ko1@a...>
Date: Thu, 26 Jul 2012 07:26:59 +0900 (JST)
Subject: [ruby-changes:24490] kanemoto:r36541 (trunk): avoid compilation error on AIX by -ansi -std=iso9899:199409 (r36038). [Bug #6791].

kanemoto	2012-07-26 07:26:41 +0900 (Thu, 26 Jul 2012)

  New Revision: 36541

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36541

  Log:
    avoid compilation error on AIX by -ansi -std=iso9899:199409 (r36038). [ruby-core:46744] [Bug #6791].
    
    This issue is fixed in upper stream as issue #142. (https://github.com/flori/json/issues/142)

  Modified files:
    trunk/ChangeLog
    trunk/ext/json/fbuffer/fbuffer.h

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36540)
+++ ChangeLog	(revision 36541)
@@ -1,3 +1,8 @@
+Thu Jul 26 07:18:38 2012    <kanemoto@r...>
+
+	* ext/json/fbuffer/fbuffer.h: avoid compilation error on AIX by
+	   -ansi -std=iso9899:199409 (r36038). [ruby-core:46744] [Bug #6791].
+
 Thu Jul 26 00:42:23 2012  CHIKANAGA Tomoyuki  <nagachika@r...>
 
 	* thread.c (thread_create_core, Init_Thread): hide
Index: ext/json/fbuffer/fbuffer.h
===================================================================
--- ext/json/fbuffer/fbuffer.h	(revision 36540)
+++ ext/json/fbuffer/fbuffer.h	(revision 36541)
@@ -2,8 +2,8 @@
 #ifndef _FBUFFER_H_
 #define _FBUFFER_H_
 
+#include "ruby.h"
 #include <assert.h>
-#include "ruby.h"
 
 #ifdef HAVE_RUBY_ENCODING_H
 #include "ruby/encoding.h"

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

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