mirror of
https://github.com/boostorg/regex.git
synced 2025-07-29 20:17:24 +02:00
Minor doc typo fixes.
Fixed IA64 portability warnings from VC7 [SVN r13225]
This commit is contained in:
@ -45,6 +45,10 @@ using std::endl;
|
||||
|
||||
#if defined(TEST_UNICODE)
|
||||
|
||||
#ifdef BOOST_NO_WREGEX
|
||||
#error "Wide character support is not enabled in regex lib - can't build wide character test program"
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define char_t wchar_t
|
||||
#else
|
||||
@ -410,6 +414,10 @@ __iterator_category(const debug_iterator<T>&) {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) && !defined(BOOST_RE_TEST_LOCALE_CPP) && !defined(BOOST_RE_TEST_LOCALE_C) && !defined(BOOST_RE_TEST_LOCALE_W32)
|
||||
#define BOOST_RE_TEST_LOCALE_W32
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef BOOST_RE_TEST_LOCALE_W32
|
||||
typedef boost::reg_expression<char_t, boost::w32_regex_traits<char_t>, jm_debug_alloc> re_type;
|
||||
|
@ -147,7 +147,7 @@ public:
|
||||
template <class iterator, class Alloc>
|
||||
bool grep_test_predicate<iterator, Alloc>::operator()(const boost::match_results< iterator, Alloc >& m)
|
||||
{
|
||||
int start, end;
|
||||
std::ptrdiff_t start, end;
|
||||
start = m[0].first - base;
|
||||
end = m[0].second - base;
|
||||
if((matches[match_id] != start) || (matches[match_id + 1] != end))
|
||||
@ -452,7 +452,7 @@ __cdecl
|
||||
#endif
|
||||
hl_grep_test_proc(const RegEx& e)
|
||||
{
|
||||
int start, end;
|
||||
std::ptrdiff_t start, end;
|
||||
|
||||
start = e.Position(0);
|
||||
end = start + e.Length();
|
||||
|
Reference in New Issue
Block a user