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] Fwd: Curlpp compilation issues

From: Jean-Philippe Barrette-LaPierre <jpb_at_rrette.com>
Date: Thu, 21 Apr 2005 07:43:44 -0400

Just to keep track of it.

-- 
Jean-Philippe Barrette-LaPierre
Maintener of cURLpp (http://rrette.com/curlpp)

attached mail follows:


I am doing some work for a customer and I have built curlpp on some
fairly antique Sun hardware running Solaris 5.6 with Sun's WorkShop C
and C++ compilers, version 6. These are pretty old (1998(!)).
Nonetheless, the bulk of curlpp was fine but there were a few issues
that I suspect have more to do with using a non-gcc based compiler than
their antiquity.

They are:

        - extra semicolons in declarations (Form.hpp, Options.hpp,
StorageOptions.hpp)
        - std::map.insert() doesn't take an advisory parameter for where to
insert (OptionList.cpp)
        - I prefer obj->member to (*obj).member so I changed that (personal
preference) (OptionList.cpp)
        - in OptionList::mapType, the index of the map is declared as "long"
but everywhere it is used it is a cURL::cURLoption so I corrected that
(OptionList.hpp)
        - the interface to writeDebug() wanted a C-style binding but it was
getting a C++ binding (example03.cpp)

I also had to go through the Makefiles by hand and remove "-W -Wall
-Werror" from CXXFLAGS and CFLAGS. There doesn't seem to be a way of
avoiding those options being included even though the compiler is not
gcc and doesn't understand those flags.

Aside from those fairly minor issues, it seems to work pretty well.
Thanks for your efforts!

        Ben.

_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp

Received on 2005-04-21

These mail archives are generated by hypermail.

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

File upload with ASP.NET