|
From: Dean M. B. <mik...@gm...> - 2010-01-20 21:10:33
|
On Thu, Jan 21, 2010 at 5:01 AM, Glyn Matthews <gly...@gm...> wrote:
>
> 2010/1/20 Nelson, Erik - 2 <eri...@ba...>
>>
>> After I fix that, the next error I get is:
>> 1>c:\work\boost\boost/network/uri/http/detail/parse_specific.hpp(74) :
>> error C2065: 'not' : undeclared identifier
>>
>> Adding #include <ciso646> to parse_specific.hpp gets it on the road, but
>> then I come to something I don't see any obvious answer to:
>>
It seems that you're using the version in the 'master' branch. Can you
try the latest from 0.5-devel?
Anyway the "real" fix would be to change 'not' into !.
>> 1>c:\work\boost\boost/network/uri/http/uri.hpp(36) : error C2597:
>> illegal reference to non-static member
>> 'boost::network::uri::basic_uri<boost::network::tags::http_default_8bit_
>> tcp_resolve>::string_type'
>>
>> It's complaining about this code
>>
>> uint32_t port() const {
>> return parts_.port ? *(parts_.port) :
>> (boost::iequals(parts_.scheme, string_type("https"))
>> ? 443u : 80u);
>> }
>>
>>
>> Am I doing something wrong? Or is this known to be broken right now?
>> I'm using a copy of Dean's code that I pulled down today. Any guidance
>> would be appreciated.
>>
>
> You're not doing anything wrong if all you're doing is trying to build a
> test... we're still short of being release ready but this code hasn't
> changed since 0.4 so I can't explain this error. Dean?
>
Right now I don't have a means of testing on the Windows platform so I
can't diagnose easily.
This looks like a missing typedef in the definition of the basic_uri template.
You can add 'typedef typename string<Tag>::type string_type' at the
start of the basic_uri template. Let me know if that helps.
--
Dean Michael Berris
cplusplus-soup.com | twitter.com/deanberris
linkedin.com/in/mikhailberis | facebook.com/dean.berris | deanberris.com
|