Commit 3886ce15 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Disable gcc < 5

Summary: [Folly] Disable `gcc < 5` via compile-time error.

Reviewed By: mzlee

Differential Revision: D14590065

fbshipit-source-id: 3d184f58f6b2f2d616092255002a95e96c7bc31c
parent a4a4bec7
......@@ -22,6 +22,10 @@
static_assert(__cplusplus >= 201402L, "__cplusplus >= 201402L");
#endif
#if defined(__GNUC__) && !defined(__clang__)
static_assert(__GNUC__ >= 5, "__GNUC__ >= 5");
#endif
#include <cstddef>
#include <folly/CPortability.h>
......
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