From: Dean M. B. <mik...@gm...> - 2011-03-30 01:55:46
|
Hi Donald, On Tue, Mar 29, 2011 at 4:28 PM, Donald Carpenter <do...@xm...> wrote: > Came across cpp-netlib via Pion. Looks promising. However, in trying to get > up and running, I tried compiling the following simple no-brainer code using > VS2010 together with Boost 1.46.1 (I also tested again Boost Subversion > repos only to get the same errors). In both cases, I had copied > cpp-netlib-0.8.1/{boost,lib} into the boost hierarchy. > What version of cpp-netlib are you using? Does this happen in 0.8.1? > > For whatever reason, I added the global netlib header to see if that made > any difference. When I uncommented the #include <boost/network.hpp> line I > get different errors: > > Error 1 error C2752: > 'boost::spirit::traits::is_weak_substitute<T,Expected>' : more than one > partial specialization matches the template argument list > \projects\boost\boost\mpl\aux_\preprocessed\plain\or.hpp 51 > > Error 2 error C2752: > 'boost::spirit::traits::is_weak_substitute<T,Expected>' : more than one > partial specialization matches the template argument list > \projects\boost\boost\mpl\aux_\preprocessed\plain\or.hpp 51 > Yeah, this one looks like it broke in 1.46.1 -- I'm going to try and address this soon as I can't move on developing 0.9-devel to work with 1.46.1 nor the trunk. I can say though that this doesn't happen with Boost 1.45 -- can you try with that instead? At any rate I'll keep everyone posted on my progress with this issue. > > Can someone shed some light on this ? > Hopefully I can simplify the grammar of the URI parser to not use the Spirit extension points to avoid the issues with Spirit. About the or_ thing, I would tell you to try and use 0.8.1 instead. Thanks and I look forward to hearing from you soon! BTW, you can get the latest from https://github.com/cpp-netlib/cpp-netlib/downloads -- have a good one and I hope this helps! -- Dean Michael Berris http://about.me/deanberris |