
26 Jan
2007
26 Jan
'07
8:54 a.m.
On 1/25/07, Joaquín Mª López Muñoz <joaquin@tid.es> wrote:
Please see http://tinyurl.com/39boxy , where MSVC 8.0 complains that there's no unchecked_equal function in namespace stdext:
[...] c_regex_traits.cpp ..\boost/regex/v4/regex_workaround.hpp(154) : error C2039: 'unchecked_equal' : is not a member of 'stdext' [...]
The probably crucial issue about this failing test is that it's being built in *release* mode, so I wonder whether the existence of unchecked_equal depends on some of the MSVC 8.0 "safe mode" settings.
In our code (built with MSVC 8) we use something like this: #if _SECURE_SCL stdext::unchecked_copy(...); #else std::copy(...); #endif Testing against _SECURE_SCL should solve the problem. -- /Johan.