From: Fernando P. <fpe...@gm...> - 2010-06-03 15:35:10
|
Perfect Duean, Great news!!! Only a question: Why not do if ( *!* boost::iequals(parts.scheme.substr(0, 5), "https") ) instead of if ( *not *boost::iequals(parts.scheme.substr(0, 5), "https") ) ? Regards, Fernando. On Thu, Jun 3, 2010 at 11:27 AM, Dean Michael Berris <mik...@gm... > wrote: > On Thu, Jun 3, 2010 at 10:21 PM, Dean Michael Berris > <mik...@gm...> wrote: > > Hi Fernando! > > > > On Thu, Jun 3, 2010 at 9:30 PM, Fernando Pelliccioni > > <fpe...@gm...> wrote: > >> > >> 1. Dependencies to OpenSSL. > >> The > "boost/network/protocol/http/impl/sync_connection_base.hpp" > >> depends on "boost/network/protocol/http/impl/sync_connection_base.hpp" > and > >> the las depends on "boost/asio/ssl.hpp" > >> > >> I am not using secure connections. > >> > > > > Yes, I'm working on it at the moment. On the 0.7-devel branch, I shall > > be pushing soon a fix that allows users to define the > > BOOST_NETWORK_NO_HTTPS command-line option to disable support for > > I meant, BOOST_NETWORK_NO_HTTPS macro not command-line option. > > > secure connections. I'm working on getting this tested as well locally > > to make sure that the examples and other things can be built without > > support for or dependency on OpenSSL. > > > >> > >> 2. Compilation error. > >> The "boost/network/uri/http/detail/parse_specific.hpp" file has > the > >> following lines: > >> > >> if (not boost::iequals(parts.scheme.substr(0, 4), > "http")) > >> > >> > >> and > >> > >> if (not boost::iequals(parts.scheme.substr(0, 5), > "https")) > >> > >> > >> The keyword "not" is undeclared. > >> > >> Could be this way? > >> > >> #define not ! > >> > > > > This is a notorious problem with MSVC 8/9 -- which is not a problem > > with MSVC 10. > > > > I thought there was already a fix that should have fixed this, but I > > don't know the correct search term. Someone has already sent in a > > patch for this before, I can't believe it hasn't made it into the > > library yet! > > > > Does anybody remember what that file is that should be included to > > enable this in MSVC 8/9? > > > > And Google is my friend: #include <ciso646> > > HTH > > -- > Dean Michael Berris > deanberris.com > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Cpp-netlib-devel mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel > |