diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-19 00:35:42 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-19 00:35:42 +0000 |
commit | c102e5e0ea5965915e73427845446501d66ea905 (patch) | |
tree | e435b12c25a4093bdf6349f847f40fbbfa699f31 /addr2line.c | |
parent | 24ec7af110846b1a15ad6dfa3cc3640a3b2eff1b (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
Diffstat (limited to 'addr2line.c')
-rw-r--r-- | addr2line.c | 6 |
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" |