Boost logo

Boost Users :

Subject: Re: [Boost-users] Some of Boost Regex++ not recognized
From: lsimons (lsimons_at_[hidden])
Date: 2009-07-13 07:35:41


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_at_[hidden]
> 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-tp24219036p24460133.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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