From b8776e86130aac2c0b45ec787733a4394541eb15 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Mon, 12 Dec 2016 17:39:56 +0100 Subject: [PATCH] :ambulance: fix for #393 --- src/json.hpp | 5 +++++ src/json.hpp.re2c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/json.hpp b/src/json.hpp index c15dc30a..04ea79a2 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -73,6 +73,11 @@ SOFTWARE. #if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wfloat-equal" +#endif + +// disable documentation warnings on clang +#if defined(__clang__) + #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdocumentation" #endif diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index 1dc97bd6..76084140 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -73,6 +73,11 @@ SOFTWARE. #if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wfloat-equal" +#endif + +// disable documentation warnings on clang +#if defined(__clang__) + #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdocumentation" #endif