diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-04 22:36:05 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-04 22:36:05 +0000 |
commit | fc1f476b61e2227c2981bd323163b77a6588305a (patch) | |
tree | a0d7b5f0af6c1b50b152c8d0ddb525f90c2042da /addr2line.c | |
parent | 8b8c374c453c76ca04256d252fd5f4c68dd8a845 (diff) |
addr2line.c uses c99ism
https://travis-ci.org/ruby/ruby/jobs/450505006
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65540 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 2af7e16afb..2670555493 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" |