diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-16 08:35:33 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-16 08:35:33 +0000 |
commit | 606b600f045a3366da94c71f91bc3c7af7ffe700 (patch) | |
tree | 32cb46ef249dbd674ba10708356e77e757176f70 /loadpath.c | |
parent | bf81f6efd8e099ead70c655bb42d9933d7d39ca7 (diff) | |
download | ruby-606b600f045a3366da94c71f91bc3c7af7ffe700.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.c | 6 |
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 |