cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

[cURLpp] Re: cURLpp patch

From: Jean-Philippe Barrette-LaPierre <jpb>
Date: Fri Mar 18 10:31:00 2005

On March 18, 2005 02:54 am, you wrote:
> Hey, I've created a patch for curlpp version 0.5.0-rc4. It does the
> following three things:
>
> 1. Adds a file OptionSetter.cpp which contains the definition for void
> cURLpp::OptionSetter< std::list< cURLpp::FormPart * >,
> cURL::CURLOPT_HTTPPOST
>
> >::setOpt(), which was formerly in OptionSetter.inl.
>
> 2. Removed this function definition from OptionSetter.inl.
> 3. Add OptionSetter.cpp to the Makefile.am to be put into the generated
> library.
>
> The problem is that the templated function is completely specified so it is
> defined in the object files. This causes problems when linking two object
> files with this function defined are linked, because the symbol is defined
> twice. By putting it into the library, it is then only defined once, and
> will be linked in when the library is linked. Please let me kow if you
> want further explaination.
>

I tought that even completely specialized template had still a static
declaration.

> Also, on as I mentioned in a previous email, both the 0.3.x and 0.5.x
> branches of curlpp suffer from a bug in the configure file. Could you
> please have line 44 of configure.ac in branch 0.5.x strip out -Os by using
> the following line: CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-O[[0-9s]]*//'`"
>

Were fixed for the 0.5.0-rc4 release, but I must check for the 0.3.x release.

> Thanks for the work you've been doing. I'm not sure if you got my previous
> email because I mentioned the previous problem in it, and its not been in
> cvs. Please confirm that you get this email, and the status of the patch,
> thanks again.
>

Patched in the curlpp-0_5_0-rc5 branch.

> Glenn
> streamlister.berlios.de
>
> On Thu, 3 Mar 2005 11:24:41 -0500
>
> Jean-Philippe Barrette-LaPierre <jpb_at_rrette.com> wrote:
> > Hi! I'm the cURLpp maintener. I saw that you are using cURLpp for your
> > project. You made a patch against the version 0.3.1. If you want to
> > explain the patch, it will be my pleasure to include it for the next
> > version.
> >
> > --
> > Jean-Philippe Barrette-LaPierre
> > Maintener of cURLpp (http://rrette.com/curlpp)

-- 
Jean-Philippe Barrette-LaPierre
Maintener of cURLpp (http://rrette.com/curlpp)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.rrette.com/pipermail/curlpp/attachments/20050318/07da0110/attachment.bin
Received on 2005-03-18

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET