boost/boost-spirit-warnings.patch
Benjamin Kosnik 81a479fac9 - (#205866: boost::spirit generates warnings with -Wshadow)
- (#205863: serialization lib generates warnings)
- (#204326: boost RPM missing dependencies)
- (#193465: [SIGNAL/BIND] Regressions with GCC 4.1)
- BUILD_FLAGS, add, to see actual compile line.
- REGEX_FLAGS, add, to compile regex with ICU support.
2006-11-14 13:34:27 +00:00

49 lines
1.7 KiB
Diff

*** boost/spirit/core/non_terminal/impl/rule.ipp.orig 2006-11-13 11:54:53.000000000 +0100
--- boost/spirit/core/non_terminal/impl/rule.ipp 2006-11-13 11:55:31.000000000 +0100
*************** namespace boost { namespace spirit {
*** 224,230 ****
template <typename ParserT, typename ScannerT, typename AttrT>
struct concrete_parser : abstract_parser<ScannerT, AttrT>
{
! concrete_parser(ParserT const& p) : p(p) {}
virtual ~concrete_parser() {}
virtual typename match_result<ScannerT, AttrT>::type
--- 224,230 ----
template <typename ParserT, typename ScannerT, typename AttrT>
struct concrete_parser : abstract_parser<ScannerT, AttrT>
{
! concrete_parser(ParserT const& p_) : p(p_) {}
virtual ~concrete_parser() {}
virtual typename match_result<ScannerT, AttrT>::type
*** boost/spirit/core/impl/match.ipp.orig 2006-11-13 11:55:48.000000000 +0100
--- boost/spirit/core/impl/match.ipp 2006-11-13 11:57:19.000000000 +0100
*************** namespace boost { namespace spirit
*** 17,28 ****
: len(-1), val() {}
template <typename T>
! inline match<T>::match(std::size_t length)
! : len(length), val() {}
template <typename T>
! inline match<T>::match(std::size_t length, ctor_param_t val_)
! : len(length), val(val_) {}
template <typename T>
inline bool
--- 17,29 ----
: len(-1), val() {}
template <typename T>
! inline match<T>::match(std::size_t length_)
! : len(length_), val() {}
template <typename T>
! inline match<T>::match(std::size_t length_, ctor_param_t val_)
! : len(length_), val(val_) {}
template <typename T>
inline bool