mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 02:07:55 +02:00
Suppress boost warning
This commit is contained in:
parent
a796bb2032
commit
447bbb60f7
2 changed files with 8 additions and 4 deletions
|
@ -29,14 +29,12 @@
|
|||
#include <boost/beast/core.hpp>
|
||||
#include <boost/beast/ssl.hpp>
|
||||
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#pragma GCC diagnostic push
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#endif
|
||||
#include <boost/beast/websocket.hpp>
|
||||
#pragma GCC diagnostic pop
|
||||
#else
|
||||
#include <boost/beast/websocket.hpp>
|
||||
#endif
|
||||
|
||||
// standard headers
|
||||
#include <deque>
|
||||
|
|
|
@ -23,7 +23,13 @@
|
|||
#include "control_session.hpp"
|
||||
|
||||
// 3rd party headers
|
||||
#pragma GCC diagnostic push
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#endif
|
||||
#include <boost/asio/strand.hpp>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#if defined(__clang__)
|
||||
#pragma GCC diagnostic ignored "-Wunknown-warning-option"
|
||||
|
|
Loading…
Add table
Reference in a new issue