forked from boostorg/regex
Mostly cgg warning suppression, plus some gcc 2.95 workarounds.
[SVN r20462]
This commit is contained in:
@ -28,7 +28,7 @@ int main()
|
||||
typedef boost::bidirectional_iterator_archetype<char> iterator_type;
|
||||
typedef boost::input_iterator_archetype<char> input_iterator_type;
|
||||
input_iterator_type i, j;
|
||||
#if!defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(__IBMCPP__)
|
||||
#if!defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(__IBMCPP__) && !BOOST_WORKAROUND(__GNUC__, < 3)
|
||||
boost::regex r(i, j);
|
||||
r.assign(i, j);
|
||||
#else
|
||||
@ -62,7 +62,6 @@ int main()
|
||||
boost::regex_token_iterator<iterator_type>
|
||||
>
|
||||
>();
|
||||
#endif
|
||||
#endif
|
||||
//
|
||||
// verify basic_regex member functions:
|
||||
@ -81,7 +80,7 @@ int main()
|
||||
r.assign(s, boost::regex::perl);
|
||||
r.assign(c_exp, c_exp+1);
|
||||
r.assign(c_exp, c_exp+1, boost::regex::perl);
|
||||
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user