mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-04 20:01:44 +02:00
Iclude boost as system headers to suppress warnings
This commit is contained in:
parent
06f1c7d32f
commit
0b1b1e38bb
7 changed files with 24 additions and 71 deletions
|
@ -23,23 +23,8 @@
|
|||
#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"
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy"
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#endif
|
||||
#include <boost/beast/core.hpp>
|
||||
#pragma GCC diagnostic pop
|
||||
#include <boost/beast/ssl.hpp>
|
||||
#include <boost/beast/websocket.hpp>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue