[regex][msvc 8.0] Problematic workaround?

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. Thank you, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

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.

Johan Lindvall wrote:
On 1/25/07, Joaquín Mª López Muñoz <joaquin@tid.es> wrote:
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.
This also occurs in debug mode.
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.
Looks promising. Some additional hint: I am testing with the beta compiler. Could this be the reason? Roland

Roland Schwarz wrote:
Testing against _SECURE_SCL should solve the problem.
Looks promising.
Some additional hint: I am testing with the beta compiler. Could this be the reason?
Aaaaaah! Yes, I don't think that API was made available until the final code was released, I'm fairly sure that there were plenty of other fixes too: and we really don't want to be chasing down issues that have been fixed. I'm amazed that your beta copy is still working actually :-) Any chance you could change to the Express Edition: it's not going to cost you much :-) Thanks, John.

John Maddock wrote:
Roland Schwarz wrote: Aaaaaah! Yes, I don't think that API was made available until the final code was released, I'm fairly sure that there were plenty of other fixes too: and we really don't want to be chasing down issues that have been fixed. I'm amazed that your beta copy is still working actually :-)
Ok.
Any chance you could change to the Express Edition: it's not going to cost you much :-)
I was using the MSDN until last year, but since then canceled my (private) subscription. I am not sure if I may use the my company subscription for this case. So I would be very glad if you could point me to a place from where I can get this "free" msvc-8.0 toolset. Thank you. Roland

Roland Schwarz wrote:
I was using the MSDN until last year, but since then canceled my (private) subscription. I am not sure if I may use the my company subscription for this case.
So I would be very glad if you could point me to a place from where I can get this "free" msvc-8.0 toolset.
You mean http://msdn.microsoft.com/vstudio/express/visualc/ ? You'll need a platform SDK install as well to get the Win32 API's. John.

In message <004301c7413a$cd317e70$51e50352@fuji>, John Maddock <john@johnmaddock.co.uk> writes ...
You mean http://msdn.microsoft.com/vstudio/express/visualc/ ?
You'll need a platform SDK install as well to get the Win32 API's.
And http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ helps too. -- Alec Ross
participants (5)
-
Alec Ross
-
Joaquín Mª López Muñoz
-
Johan Lindvall
-
John Maddock
-
Roland Schwarz