Some of Boost Regex++ not recognized


AMDG lsimons wrote:
I really appreciate the work done on the Boost libraries. I've used them in other projects and it's always been a welcome relief. For my current project, I'm trying to use the Boost Regex++ library in MSVC++ 6.0 (under Vista) to do some basic regex.
Boost no longer supports msvc 6.0. In Christ, Steven Watanabe

If I add the line "match_flag_type flags = match_default;" I receive three errors: C:\Users\me\Documents\test\test.cpp(30) : error C2065: 'match_flag_type' : undeclared identifier C:\Users\me\Documents\test\test.cpp(30) : error C2146: syntax error : missing ';' before identifier 'flags' C:\Users\me\Documents\test\test.cpp(30) : error C2065: 'flags' : undeclared identifier Error executing cl.exe.
I think I might simply have something misconfigured in MSVC6, and I would appreciate any comments or suggestions towards resolving the issue. Please let me know if there's any additional info I can provide.
There are a lot of workarounds to support that old broken compiler, one of them is that match_flag_type is not a real type: try using an int instead. HTH, John.

Thanks for the tip. Do you know if there's a collection of workarounds posted somewhere? Thanks, Louis John Maddock wrote:
If I add the line "match_flag_type flags = match_default;" I receive three errors: C:\Users\me\Documents\test\test.cpp(30) : error C2065: 'match_flag_type' : undeclared identifier C:\Users\me\Documents\test\test.cpp(30) : error C2146: syntax error : missing ';' before identifier 'flags' C:\Users\me\Documents\test\test.cpp(30) : error C2065: 'flags' : undeclared identifier Error executing cl.exe.
I think I might simply have something misconfigured in MSVC6, and I would appreciate any comments or suggestions towards resolving the issue. Please let me know if there's any additional info I can provide.
There are a lot of workarounds to support that old broken compiler, one of them is that match_flag_type is not a real type: try using an int instead.
HTH, John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/Some-of-Boost-Regex%2B%2B-not-recognized-tp24219036p24... Sent from the Boost - Users mailing list archive at Nabble.com.

Thanks for the tip. Do you know if there's a collection of workarounds posted somewhere?
Not really, we don't officially support VC6 or 7 anymore, and most current compilers (which we do support) don't need any workarounds in the regex library, so it's kind of <shrug> I guess, Sorry I can't be more helpful, John.
participants (3)
-
John Maddock
-
lsimons
-
Steven Watanabe