From 7edb0a275c73f08cb611efa95fe8c1d73002f982 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Tue, 16 Jan 2018 08:35:33 +0000 Subject: -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 --- loadpath.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'loadpath.c') 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 -- cgit v1.2.1