summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-19 00:35:42 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-19 00:35:42 +0000
commitc102e5e0ea5965915e73427845446501d66ea905 (patch)
treee435b12c25a4093bdf6349f847f40fbbfa699f31
parent24ec7af110846b1a15ad6dfa3cc3640a3b2eff1b (diff)
addr2line.c: this file has no portability
It seems nobody on earth is interested in such thing for it. Ignore compiler warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--addr2line.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/addr2line.c b/addr2line.c
index 97e8b2aa58..33701dedbb 100644
--- a/addr2line.c
+++ b/addr2line.c
@@ -8,6 +8,12 @@
**********************************************************************/
+#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"