Commit b57fd1bc authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by facebook-github-bot-4

Drop support for GCC < 4.8 in folly/FBString.h

Summary: [Folly] Drop support for GCC < 4.8 in `folly/FBString.h`.

Can't stay indefinitely backcompat with older compilers.

Reviewed By: @JoelMarcey

Differential Revision: D2441747
parent baaec11b
...@@ -255,15 +255,6 @@ private: ...@@ -255,15 +255,6 @@ private:
}; };
*/ */
/**
* gcc-4.7 throws what appears to be some false positive uninitialized
* warnings for the members of the MediumLarge struct. So, mute them here.
*/
#if defined(__GNUC__) && !defined(__clang__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wuninitialized"
#endif
/** /**
* This is the core of the string. The code should work on 32- and * This is the core of the string. The code should work on 32- and
* 64-bit and both big- and little-endianan architectures with any * 64-bit and both big- and little-endianan architectures with any
...@@ -899,10 +890,6 @@ private: ...@@ -899,10 +890,6 @@ private:
} }
}; };
#if defined(__GNUC__) && !defined(__clang__)
# pragma GCC diagnostic pop
#endif
#ifndef _LIBSTDCXX_FBSTRING #ifndef _LIBSTDCXX_FBSTRING
/** /**
* Dummy fbstring core that uses an actual std::string. This doesn't * Dummy fbstring core that uses an actual std::string. This doesn't
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment