[netlib] compilation issues with netlib 0.7

Hi there, when compiling basic tests of netlib 0.7 one has to include boost/thread.hpp. A small change is also needed in line of parse_uri.hpp[28] from #if SPIRIT_VERSION > 0x2030 to #if SPIRIT_VERSION >= 0x2030 I'm using Visual Studio 10 Express. Also the time it takes to compile a simple test is very high. I hope this will change with the upcoming 0.8 version. Thanks for making such lib happen. It will be a great addition to boost. Regards, Christian

Hi Christian,
On 31 October 2010 18:33, Christian Henning
Hi there, when compiling basic tests of netlib 0.7 one has to include boost/thread.hpp. A small change is also needed in line of parse_uri.hpp[28] from
#if SPIRIT_VERSION > 0x2030
to
#if SPIRIT_VERSION >= 0x2030
I'm using Visual Studio 10 Express.
Thanks, I have added an issue of the project's tracker on Github: http://github.com/cpp-netlib/cpp-netlib/issues/issue/21
Also the time it takes to compile a simple test is very high. I hope this will change with the upcoming 0.8 version.
Yes, we're aware of the problems with the compilation time. We don't have so much resources and I don't think anyone is testing on MSVC 10, so I think its possible that there may be other issues on this compiler.
Thanks for making such lib happen. It will be a great addition to boost.
Thanks very much! Regards, Glyn

Hi Glyn,
On Sun, Oct 31, 2010 at 6:16 PM, Glyn Matthews
Hi Christian,
On 31 October 2010 18:33, Christian Henning
wrote: Hi there, when compiling basic tests of netlib 0.7 one has to include boost/thread.hpp. A small change is also needed in line of parse_uri.hpp[28] from
#if SPIRIT_VERSION > 0x2030
to
#if SPIRIT_VERSION >= 0x2030
I'm using Visual Studio 10 Express.
Thanks, I have added an issue of the project's tracker on Github: http://github.com/cpp-netlib/cpp-netlib/issues/issue/21
To be clear this only happens on the Express version. The Non-Express version works as expected. Sounds like a preprocessor symbol issue to me. Regards, Christian
participants (2)
-
Christian Henning
-
Glyn Matthews