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

ruby-changes:53324

From: naruse <ko1@a...>
Date: Mon, 5 Nov 2018 07:36:12 +0900 (JST)
Subject: [ruby-changes:53324] naruse:r65540 (trunk): addr2line.c uses c99ism

naruse	2018-11-05 07:36:05 +0900 (Mon, 05 Nov 2018)

  New Revision: 65540

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

  Log:
    addr2line.c uses c99ism
    
    https://travis-ci.org/ruby/ruby/jobs/450505006

  Modified files:
    trunk/addr2line.c
Index: addr2line.c
===================================================================
--- addr2line.c	(revision 65539)
+++ addr2line.c	(revision 65540)
@@ -8,6 +8,12 @@ https://github.com/ruby/ruby/blob/trunk/addr2line.c#L8
 
 **********************************************************************/
 
+#if defined(__clang__)
+#pragma clang diagnostic ignored "-Wpedantic"
+#elif defined(__GNUC__)
+#pragma GCC diagnostic ignored "-Wpedantic"
+#endif
+
 #include "ruby/config.h"
 #include "ruby/defines.h"
 #include "ruby/missing.h"

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

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