summaryrefslogtreecommitdiff
path: root/loadpath.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-16 08:35:33 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-16 08:35:33 +0000
commit7edb0a275c73f08cb611efa95fe8c1d73002f982 (patch)
tree32cb46ef249dbd674ba10708356e77e757176f70 /loadpath.c
parentb343c53db08106893a6adfdd1693f51ac814b45a (diff)
downloadruby-7edb0a275c73f08cb611efa95fe8c1d73002f982.tar.gz
-Wno-overlength-strings
as per https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/Assumptions we are officially giving up 509 characters limit of C string literal length. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'loadpath.c')
-rw-r--r--loadpath.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/loadpath.c b/loadpath.c
index 77fba3a61d..b8969e6998 100644
--- a/loadpath.c
+++ b/loadpath.c
@@ -16,12 +16,6 @@
#define RUBY_REVISION 0
#include "version.h"
-#ifdef __clang__
-#pragma clang diagnostic ignored "-Woverlength-strings"
-#elif defined(__GNUC__) && (__GNUC__ >= 5)
-#pragma GCC diagnostic ignored "-Woverlength-strings"
-#endif
-
#ifndef RUBY_ARCH
#define RUBY_ARCH RUBY_PLATFORM
#endif