From 0411ef85e7e99be5a253973a346988218d53f860 Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Mon, 15 May 2017 16:52:29 +0900 Subject: [PATCH] Added warning supression pragma. --- example/x3/stream_unpack.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/example/x3/stream_unpack.cpp b/example/x3/stream_unpack.cpp index ccfd9afe..fefbfb12 100644 --- a/example/x3/stream_unpack.cpp +++ b/example/x3/stream_unpack.cpp @@ -21,8 +21,17 @@ #include #include + +#if defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-parameter" +#endif // defined(__clang__) + #include +#if defined(__clang__) +#pragma GCC diagnostic pop +#endif // defined(__clang__) namespace as = boost::asio; namespace x3 = boost::spirit::x3;