mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-16 17:30:41 +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:
parent
5a22e8b926
commit
3970ed2560
@ -14,7 +14,15 @@
|
||||
|
||||
#include <map>
|
||||
#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
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#include <zmq.h>
|
||||
|
||||
namespace sls {
|
||||
|
Loading…
x
Reference in New Issue
Block a user