Boost logo

Boost Users :

Subject: Re: [Boost-users] Some of Boost Regex++ not recognized
From: John Maddock (john_at_[hidden])
Date: 2009-06-27 04:48:11


> 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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net