Opened 15 years ago

Closed 15 years ago

#1790 closed Bugs (fixed)

[TR1] Test failures with VC9 + MS TR1

Reported by: Richard Webb <richard.webb@…> Owned by: John Maddock
Milestone: Boost 1.36.0 Component: TR1
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

While running the TR1 tests on VC9 with the MS TR1 pack, i found a couple of problems:

1) The test_regex\std_test_regex tests (http://tinyurl.com/6mlp2k) are failing with the error

boost/regex/concepts.hpp(371) : error C2039: 'empty' : is not a member of 'std::tr1::basic_regex<_Elem>'

However, the TR1 spec doesnt say that it should have this member.

2) The test file @ "libs/config/test/has_tr1_regex_fail.cpp" says:

#ifndef BOOST_HAS_TR1_ARRAY #include "boost_has_tr1_regex.ipp"

Shouldnt that be #ifndef BOOST_HAS_TR1_REGEX ?

The main() function is also calling

return boost_has_tr1_array::test();

Change History (3)

comment:1 by John Maddock, 15 years ago

Resolution: fixed
Status: newclosed

Thanks Richard, fixed in revisions #44127 and #44128.

comment:2 by Richard Webb <Richard.Webb@…>, 15 years ago

Resolution: fixed
Status: closedreopened

It looks like the change to concepts.hpp has caused a different problem, as the 'b' in

"bool b = ce.empty();" is used elsewhere.

See http://tinyurl.com/6czw3p

comment:3 by John Maddock, 15 years ago

Resolution: fixed
Status: reopenedclosed

Doh!

Fixed now.... I hope!

Note: See TracTickets for help on using tickets.