mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0032918: Coding Rules - suppress MSVS warnings from 3rdparty rapidjson
on VS2019/C++20
Microsoft Visual Studio Professional 2019 Version 16.11.11 std=c++20 Disable warning messages, occures in rapidjson library.
This commit is contained in:
parent
d31e5dbbb4
commit
e455c54bf0
@ -43,12 +43,14 @@
|
||||
|
||||
#ifdef HAVE_RAPIDJSON
|
||||
//#define RAPIDJSON_ASSERT
|
||||
#include <Standard_WarningsDisable.hxx>
|
||||
#include <rapidjson/document.h>
|
||||
#include <rapidjson/prettywriter.h>
|
||||
#include <rapidjson/stringbuffer.h>
|
||||
#include <rapidjson/istreamwrapper.h>
|
||||
#include <rapidjson/ostreamwrapper.h>
|
||||
|
||||
#include <Standard_WarningsRestore.hxx>
|
||||
|
||||
typedef rapidjson::Document::ValueType RWGltf_JsonValue;
|
||||
#endif
|
||||
|
||||
|
@ -14,8 +14,11 @@
|
||||
#ifndef _RWGltf_GltfOStreamWriter_HeaderFile
|
||||
#define _RWGltf_GltfOStreamWriter_HeaderFile
|
||||
|
||||
// disable warnings, occures in rapidjson
|
||||
#include <Standard_WarningsDisable.hxx>
|
||||
#include <rapidjson/prettywriter.h>
|
||||
#include <rapidjson/ostreamwrapper.h>
|
||||
#include <Standard_WarningsRestore.hxx>
|
||||
|
||||
//! rapidjson::Writer wrapper for forward declaration.
|
||||
class RWGltf_GltfOStreamWriter : public rapidjson::Writer<rapidjson::OStreamWrapper>
|
||||
|
Loading…
x
Reference in New Issue
Block a user