mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 04:47:29 +02:00
Fix -Wattributes warnings
This commit is contained in:
committed by
Mohammad Nejati
parent
eaaeb8b36b
commit
a11ea6bc72
@ -26,10 +26,16 @@
|
|||||||
#include <boost/asio/use_awaitable.hpp>
|
#include <boost/asio/use_awaitable.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if BOOST_WORKAROUND(BOOST_GCC, < 80200)
|
||||||
|
#define BOOST_BEAST_SYMBOL_HIDDEN __attribute__ ((visibility("hidden")))
|
||||||
|
#else
|
||||||
|
#define BOOST_BEAST_SYMBOL_HIDDEN
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
namespace beast {
|
namespace beast {
|
||||||
|
|
||||||
class buffered_read_stream_test
|
class BOOST_BEAST_SYMBOL_HIDDEN buffered_read_stream_test
|
||||||
: public unit_test::suite
|
: public unit_test::suite
|
||||||
, public test::enable_yield_to
|
, public test::enable_yield_to
|
||||||
{
|
{
|
||||||
|
@ -37,11 +37,17 @@
|
|||||||
#include <boost/asio/use_awaitable.hpp>
|
#include <boost/asio/use_awaitable.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if BOOST_WORKAROUND(BOOST_GCC, < 80200)
|
||||||
|
#define BOOST_BEAST_SYMBOL_HIDDEN __attribute__ ((visibility("hidden")))
|
||||||
|
#else
|
||||||
|
#define BOOST_BEAST_SYMBOL_HIDDEN
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
namespace beast {
|
namespace beast {
|
||||||
namespace http {
|
namespace http {
|
||||||
|
|
||||||
class read_test
|
class BOOST_BEAST_SYMBOL_HIDDEN read_test
|
||||||
: public beast::unit_test::suite
|
: public beast::unit_test::suite
|
||||||
, public test::enable_yield_to
|
, public test::enable_yield_to
|
||||||
{
|
{
|
||||||
|
@ -36,11 +36,17 @@
|
|||||||
#include <boost/asio/use_awaitable.hpp>
|
#include <boost/asio/use_awaitable.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if BOOST_WORKAROUND(BOOST_GCC, < 80200)
|
||||||
|
#define BOOST_BEAST_SYMBOL_HIDDEN __attribute__ ((visibility("hidden")))
|
||||||
|
#else
|
||||||
|
#define BOOST_BEAST_SYMBOL_HIDDEN
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
namespace beast {
|
namespace beast {
|
||||||
namespace http {
|
namespace http {
|
||||||
|
|
||||||
class write_test
|
class BOOST_BEAST_SYMBOL_HIDDEN write_test
|
||||||
: public beast::unit_test::suite
|
: public beast::unit_test::suite
|
||||||
, public test::enable_yield_to
|
, public test::enable_yield_to
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user