From 080bf84bffda29d10e46a9a8a37ec267f42e0eba Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 26 Jun 2014 09:19:54 +0100 Subject: clang: WaE: -Wunused-parameter Change-Id: Ibd62d74d1244a29d7554837c3b39e76b87098b97 --- .../boost.spirit.Wunused-parameter.warnings.patch | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 external/boost/boost.spirit.Wunused-parameter.warnings.patch (limited to 'external/boost/boost.spirit.Wunused-parameter.warnings.patch') diff --git a/external/boost/boost.spirit.Wunused-parameter.warnings.patch b/external/boost/boost.spirit.Wunused-parameter.warnings.patch new file mode 100644 index 000000000000..3487394694fd --- /dev/null +++ b/external/boost/boost.spirit.Wunused-parameter.warnings.patch @@ -0,0 +1,47 @@ +--- a/b/boost/boost/spirit/home/classic/debug/impl/parser_names.ipp ++++ a/b/boost/boost/spirit/home/classic/debug/impl/parser_names.ipp +@@ -95,7 +95,7 @@ + // from numerics.hpp + template + inline std::string +- parser_name(uint_parser const& p) ++ parser_name(uint_parser const&) + { + BOOST_SPIRIT_SSTREAM stream; + stream << Radix << ", " << MinDigits << ", " << MaxDigits; +@@ -106,7 +106,7 @@ + + template + inline std::string +- parser_name(int_parser const& p) ++ parser_name(int_parser const&) + { + BOOST_SPIRIT_SSTREAM stream; + stream << Radix << ", " << MinDigits << ", " << MaxDigits; +@@ -117,7 +117,7 @@ + + template + inline std::string +- parser_name(real_parser const& p) ++ parser_name(real_parser const&) + { + return std::string("real_parser"); + } +@@ -218,7 +218,7 @@ + // from parser.hpp + template + inline std::string +- parser_name(parser const& p) ++ parser_name(parser const&) + { + return std::string("parser"); + } +@@ -227,7 +227,7 @@ + // from primitives.hpp + template + inline std::string +- parser_name(char_parser const &p) ++ parser_name(char_parser const &) + { + return std::string("char_parser"); + } -- cgit