disable warning for radjson.

issue_3165
kimkulling 2020-06-15 20:52:11 +02:00
parent 31b8d4710f
commit f0f6612b81
1 changed files with 9 additions and 0 deletions

View File

@ -17,6 +17,11 @@
/*! \file document.h */
#if (__GNUC__ >= 8 && __GNUC_MINOR__ >= 0)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wclass-memaccess"
#endif
#include "reader.h"
#include "internal/meta.h"
#include "internal/strfunc.h"
@ -2610,4 +2615,8 @@ private:
RAPIDJSON_NAMESPACE_END
RAPIDJSON_DIAG_POP
#if (__GNUC__ == 8 && __GNUC_MINOR__ >= 0)
#pragma GCC diagnostic pop
#endif
#endif // RAPIDJSON_DOCUMENT_H_