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] Error compiling curlpp-0.5.2

From: Ivens Porto <ivens.porto_at_gmail.com>
Date: Thu, 15 Sep 2005 15:10:35 -0300

Hi,

when trying to compile curlpp-0.5.2 on a Fedora Core 4 system I get
the following error:

----------------------------------------------------------------------------------------------------------------------
make all-recursive
make[1]: Entering directory `/home/ivens/install/curlpp-0.5.2'
Making all in curlpp
make[2]: Entering directory `/home/ivens/install/curlpp-0.5.2/curlpp'
if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I.. -I../ -g -W -Wall -Werror
-I/usr/local/include -MT CurlHandle.lo -MD -MP -MF
".deps/CurlHandle.Tpo" -c -o CurlHandle.lo CurlHandle.cpp; \
then mv -f ".deps/CurlHandle.Tpo" ".deps/CurlHandle.Plo"; else rm -f
".deps/CurlHandle.Tpo"; exit 1; fi
cc1plus: warnings being treated as errors
OptionBase.hpp:39: warning: 'class cURLpp::OptionBase' has virtual
functions but non-virtual destructor
make[2]: *** [CurlHandle.lo] Error 1
make[2]: Leaving directory `/home/ivens/install/curlpp-0.5.2/curlpp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ivens/install/curlpp-0.5.2'
make: *** [all] Error 2
----------------------------------------------------------------------------------------------------------------------

I'm using GCC 4.0.0 20050519 (Red Hat 4.0.0-8).

I added an empty virtual constructor to OptionBase.hpp and then it compiled.

Can anyone tell me if the adjustment I did on OptionBase will cause
any problems?

Regards,
Ivens
_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2005-09-15

These mail archives are generated by hypermail.

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

File upload with ASP.NET