Skip to content

Commit 0411ef8

Browse files
committed
Added warning supression pragma.
1 parent 28b6ee0 commit 0411ef8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

example/x3/stream_unpack.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,17 @@
2121

2222
#include <boost/asio.hpp>
2323
#include <boost/coroutine2/all.hpp>
24+
25+
#if defined(__clang__)
26+
#pragma GCC diagnostic push
27+
#pragma GCC diagnostic ignored "-Wunused-parameter"
28+
#endif // defined(__clang__)
29+
2430
#include <boost/spirit/home/support/multi_pass.hpp>
2531

32+
#if defined(__clang__)
33+
#pragma GCC diagnostic pop
34+
#endif // defined(__clang__)
2635

2736
namespace as = boost::asio;
2837
namespace x3 = boost::spirit::x3;

0 commit comments

Comments
 (0)