Commit bc7bad10 authored by Orvid King's avatar Orvid King Committed by Facebook GitHub Bot

Disable compiled format for GCC 8 & below

Summary: As per title, as fmt doesn't currently handle them well.

Reviewed By: vitaut

Differential Revision: D26004515

fbshipit-source-id: dbbd1e6550fa10c4a6fcb0fc5597887c9411ca70
parent e3400d87
......@@ -18,6 +18,12 @@
#include <fmt/compile.h>
#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ <= 8
// Forcefully disable compiled format strings for GCC 8 & below until fmt is
// updated to do this automatically.
#undef FMT_COMPILE
#endif
// Fallback to runtime format string processing for compatibility with fmt 6.x.
#ifndef FMT_COMPILE
#define FMT_COMPILE(format_str) format_str
......
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