mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-07-04 15:14:49 +02:00
Suppress -Wdeprecated-declarations for gcc (#536)
* Supress gcc warning from rapidjson include Co-authored-by: Erik Frojdh <erik.frojdh@psi.ch>
This commit is contained in:
@ -14,7 +14,15 @@
|
|||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
// Selective suppression of warning in gcc,
|
||||||
|
// showed up in gcc 12 and at the moment
|
||||||
|
// no upgrade is available to rapidjson
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
#include <rapidjson/document.h> //json header in zmq stream
|
#include <rapidjson/document.h> //json header in zmq stream
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
#include <zmq.h>
|
#include <zmq.h>
|
||||||
|
|
||||||
namespace sls {
|
namespace sls {
|
||||||
|
Reference in New Issue
Block a user