mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-03 11:21:41 +02:00
Ignore "maybe-uninitialized" in boost beast
This commit is contained in:
parent
a1cef5d65c
commit
58dbfcee89
4 changed files with 6 additions and 8 deletions
|
@ -21,10 +21,14 @@
|
|||
|
||||
#include "control_session.hpp"
|
||||
#include <boost/beast/core.hpp>
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#include <boost/beast/websocket.hpp>
|
||||
#pragma GCC diagnostic pop
|
||||
#else
|
||||
#include <boost/beast/websocket.hpp>
|
||||
#endif
|
||||
#include <deque>
|
||||
|
||||
namespace beast = boost::beast; // from <boost/beast.hpp>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue