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;