mingw dll specific fixes.

Disable one SGI test - compiler deduces template arguments strangely.


[SVN r25270]
This commit is contained in:
John Maddock
2004-09-20 12:31:08 +00:00
parent 138d526839
commit c0e6b1f5a2
3 changed files with 7 additions and 0 deletions

View File

@ -35,7 +35,10 @@ void test_captures(const std::string& regx, const std::string& text, T& expected
if(boost::regex_match(text, what, e, boost::match_extra))
{
unsigned i, j;
#ifndef __sgi
// strange type deduction causes this test to fail on SGI:
BOOST_TEST(what.size() == ARRAY_SIZE(expected));
#endif
for(i = 0; i < what.size(); ++i)
{
BOOST_TEST(what.captures(i).size() <= ARRAY_SIZE(expected[i]));