clang: WaE: -Wunused-parameter
Change-Id: Ibd62d74d1244a29d7554837c3b39e76b87098b97
This commit is contained in:
parent
f97009d79f
commit
080bf84bff
2
external/boost/UnpackedTarball_boost.mk
vendored
2
external/boost/UnpackedTarball_boost.mk
vendored
@ -71,6 +71,8 @@ boost_patches += boost.random.Wunused-local-typedefs.warnings.patch
|
||||
boost_patches += boost.spirit.Wshadow.warnings.patch
|
||||
# https://svn.boost.org/trac/boost/ticket/9901
|
||||
boost_patches += boost.spirit.Wunused-local-typedefs.warnings.patch
|
||||
# to-do: submit upstream
|
||||
boost_patches += boost.spirit.Wunused-parameter.warnings.patch
|
||||
# fixed upstream
|
||||
boost_patches += boost.unordered.Wshadow.warnings.patch
|
||||
# https://svn.boost.org/trac/boost/ticket/9902
|
||||
|
47
external/boost/boost.spirit.Wunused-parameter.warnings.patch
vendored
Normal file
47
external/boost/boost.spirit.Wunused-parameter.warnings.patch
vendored
Normal file
@ -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 <typename T, int Radix, unsigned MinDigits, int MaxDigits>
|
||||
inline std::string
|
||||
- parser_name(uint_parser<T, Radix, MinDigits, MaxDigits> const& p)
|
||||
+ parser_name(uint_parser<T, Radix, MinDigits, MaxDigits> const&)
|
||||
{
|
||||
BOOST_SPIRIT_SSTREAM stream;
|
||||
stream << Radix << ", " << MinDigits << ", " << MaxDigits;
|
||||
@@ -106,7 +106,7 @@
|
||||
|
||||
template <typename T, int Radix, unsigned MinDigits, int MaxDigits>
|
||||
inline std::string
|
||||
- parser_name(int_parser<T, Radix, MinDigits, MaxDigits> const& p)
|
||||
+ parser_name(int_parser<T, Radix, MinDigits, MaxDigits> const&)
|
||||
{
|
||||
BOOST_SPIRIT_SSTREAM stream;
|
||||
stream << Radix << ", " << MinDigits << ", " << MaxDigits;
|
||||
@@ -117,7 +117,7 @@
|
||||
|
||||
template <typename T, typename RealPoliciesT>
|
||||
inline std::string
|
||||
- parser_name(real_parser<T, RealPoliciesT> const& p)
|
||||
+ parser_name(real_parser<T, RealPoliciesT> const&)
|
||||
{
|
||||
return std::string("real_parser");
|
||||
}
|
||||
@@ -218,7 +218,7 @@
|
||||
// from parser.hpp
|
||||
template <typename DerivedT>
|
||||
inline std::string
|
||||
- parser_name(parser<DerivedT> const& p)
|
||||
+ parser_name(parser<DerivedT> const&)
|
||||
{
|
||||
return std::string("parser");
|
||||
}
|
||||
@@ -227,7 +227,7 @@
|
||||
// from primitives.hpp
|
||||
template <typename DerivedT>
|
||||
inline std::string
|
||||
- parser_name(char_parser<DerivedT> const &p)
|
||||
+ parser_name(char_parser<DerivedT> const &)
|
||||
{
|
||||
return std::string("char_parser");
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user