ruby-changes:52945
From: shyouhei <ko1@a...>
Date: Fri, 19 Oct 2018 09:35:47 +0900 (JST)
Subject: [ruby-changes:52945] shyouhei:r65159 (trunk): addr2line.c: this file has no portability
shyouhei 2018-10-19 09:35:42 +0900 (Fri, 19 Oct 2018) New Revision: 65159 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65159 Log: addr2line.c: this file has no portability It seems nobody on earth is interested in such thing for it. Ignore compiler warnings. Modified files: trunk/addr2line.c Index: addr2line.c =================================================================== --- addr2line.c (revision 65158) +++ addr2line.c (revision 65159) @@ -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/