diff --git a/cppformat/format.h b/cppformat/format.h
index 6f35275b50a5..c5d09b57badf 100644
--- a/cppformat/format.h
+++ b/cppformat/format.h
@@ -1955,7 +1955,13 @@ struct ArgArray {
typedef Value Type[N > 0 ? N : 1];
template
- static Value make(const T &value) { return MakeValue(value); }
+ static Value make(const T &value) {
+ Value result = MakeValue(value);
+ // Workaround a bug in Apple LLVM version 4.2 (clang-425.0.28) of clang:
+ // https://github.com/cppformat/cppformat/issues/276
+ (void)result.custom.format;
+ return result;
+ }
};
template