Fix issue #64 (clang build fails due to details/format.h
diagnostic pop without prior push)
This commit is contained in:
parent
3556c87a51
commit
6fe03c7780
@ -102,6 +102,7 @@ inline uint32_t clzll(uint64_t x) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
|
# pragma clang diagnostic push
|
||||||
# pragma clang diagnostic ignored "-Wdocumentation"
|
# pragma clang diagnostic ignored "-Wdocumentation"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -174,7 +175,6 @@ inline uint32_t clzll(uint64_t x) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace fmt {
|
namespace fmt {
|
||||||
|
|
||||||
// Fix the warning about long long on older versions of GCC
|
// Fix the warning about long long on older versions of GCC
|
||||||
// that don't support the diagnostic pragma.
|
// that don't support the diagnostic pragma.
|
||||||
FMT_GCC_EXTENSION typedef long long LongLong;
|
FMT_GCC_EXTENSION typedef long long LongLong;
|
||||||
@ -288,7 +288,6 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
namespace internal {
|
namespace internal {
|
||||||
|
|
||||||
// The number of characters to store in the MemoryBuffer object itself
|
// The number of characters to store in the MemoryBuffer object itself
|
||||||
// to avoid dynamic memory allocation.
|
// to avoid dynamic memory allocation.
|
||||||
enum { INLINE_BUFFER_SIZE = 500 };
|
enum { INLINE_BUFFER_SIZE = 500 };
|
||||||
@ -1111,7 +1110,6 @@ public:
|
|||||||
struct FormatSpec;
|
struct FormatSpec;
|
||||||
|
|
||||||
namespace internal {
|
namespace internal {
|
||||||
|
|
||||||
class FormatterBase {
|
class FormatterBase {
|
||||||
private:
|
private:
|
||||||
ArgList args_;
|
ArgList args_;
|
||||||
|
Loading…
Reference in New Issue
Block a user